File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -360,9 +360,7 @@ impl SDKBuilder<'_> {
360
360
361
361
pub fn build_c_sdk ( & self ) -> Result < ( ) , SDKBuildError > {
362
362
// Generate glyphs
363
- if self . device . name != DeviceName :: NanoS {
364
- generate_glyphs ( & self . device ) ;
365
- }
363
+ generate_glyphs ( & self . device ) ;
366
364
367
365
let mut command = cc:: Build :: new ( ) ;
368
366
if env:: var_os ( "CC" ) . is_none ( ) {
@@ -741,11 +739,7 @@ fn retrieve_target_file_infos(
741
739
device : & Device ,
742
740
c_sdk : & Path ,
743
741
) -> Result < ( String , String ) , SDKBuildError > {
744
- let prefix = if device. name == DeviceName :: NanoS {
745
- "" . to_string ( )
746
- } else {
747
- format ! ( "target/{}/" , device. name)
748
- } ;
742
+ let prefix = format ! ( "target/{}/" , device. name) ;
749
743
let target_file_path = c_sdk. join ( format ! ( "{}include/bolos_target.h" , prefix) ) ;
750
744
let target_file =
751
745
File :: open ( target_file_path) . map_err ( |_| SDKBuildError :: TargetFileNotFound ) ?;
You can’t perform that action at this time.
0 commit comments