@@ -1435,13 +1435,13 @@ def preprocess_linker_file(src_ld_script, target_ld_script):
1435
1435
" " .join (
1436
1436
[
1437
1437
f'"{ CMAKE_DIR } "' ,
1438
- " -DCC=%s" % str (Path (TOOLCHAIN_DIR ) / "bin" / "$CC" ),
1438
+ f' -DCC=" { str (Path (TOOLCHAIN_DIR ) / "bin" / "$CC" )} "' ,
1439
1439
"-DSOURCE=$SOURCE" ,
1440
1440
"-DTARGET=$TARGET" ,
1441
- " -DCONFIG_DIR=%s" % str (Path (BUILD_DIR ) / "config" ),
1442
- " -DLD_DIR=%s" % str (Path (FRAMEWORK_DIR ) / "components" / "esp_system" / "ld" ),
1441
+ f' -DCONFIG_DIR=" { str (Path (BUILD_DIR ) / "config" )} "' ,
1442
+ f' -DLD_DIR=" { str (Path (FRAMEWORK_DIR ) / "components" / "esp_system" / "ld" )} "' ,
1443
1443
"-P" ,
1444
- str (Path ("$BUILD_DIR" ) / "esp-idf" / "esp_system" / "ld" / "linker_script_generator.cmake" ),
1444
+ f'" { str (Path ("$BUILD_DIR" ) / "esp-idf" / "esp_system" / "ld" / "linker_script_generator.cmake" )} "' ,
1445
1445
]
1446
1446
),
1447
1447
"Generating LD script $TARGET" ,
@@ -1485,11 +1485,11 @@ def generate_mbedtls_bundle(sdk_config):
1485
1485
" " .join (
1486
1486
[
1487
1487
f'"{ CMAKE_DIR } "' ,
1488
- " -DDATA_FILE=" + bundle_path ,
1489
- " -DSOURCE_FILE=%s .S" % bundle_path ,
1488
+ f' -DDATA_FILE="{ bundle_path } "' ,
1489
+ f' -DSOURCE_FILE=" { bundle_path } .S"' ,
1490
1490
"-DFILE_TYPE=BINARY" ,
1491
1491
"-P" ,
1492
- str (Path (FRAMEWORK_DIR ) / "tools" / "cmake" / "scripts" / "data_file_embed_asm.cmake" ),
1492
+ f'" { str (Path (FRAMEWORK_DIR ) / "tools" / "cmake" / "scripts" / "data_file_embed_asm.cmake" )} "' ,
1493
1493
]
1494
1494
),
1495
1495
"Generating assembly for certificate bundle..." ,
0 commit comments