File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1799,13 +1799,10 @@ def get_python_exe():
1799
1799
"-DSDKCONFIG=" + SDKCONFIG_PATH ,
1800
1800
]
1801
1801
1802
- if "CPPDEFINES" in env :
1803
- flatten_cppdefines = env .Flatten (env ['CPPDEFINES' ])
1804
- if "SHOW_METRICS" in flatten_cppdefines :
1805
- # This will add the linker flag for the map file
1806
- extra_cmake_args .append (
1807
- f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={ os .path .join (BUILD_DIR , env .subst ("$PROGNAME" ) + ".map" )} '
1808
- )
1802
+ # This will add the linker flag for the map file
1803
+ extra_cmake_args .append (
1804
+ f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={ os .path .join (BUILD_DIR , env .subst ("$PROGNAME" ) + ".map" )} '
1805
+ )
1809
1806
1810
1807
# Add any extra args from board config
1811
1808
extra_cmake_args += click .parser .split_arg_string (board .get ("build.cmake_extra_args" , "" ))
You can’t perform that action at this time.
0 commit comments