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 @@ -1801,13 +1801,10 @@ def get_python_exe():
1801
1801
"-DSDKCONFIG=" + SDKCONFIG_PATH ,
1802
1802
]
1803
1803
1804
- if "CPPDEFINES" in env :
1805
- flatten_cppdefines = env .Flatten (env ['CPPDEFINES' ])
1806
- if "SHOW_METRICS" in flatten_cppdefines :
1807
- # This will add the linker flag for the map file
1808
- extra_cmake_args .append (
1809
- f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={ os .path .join (BUILD_DIR , env .subst ("$PROGNAME" ) + ".map" )} '
1810
- )
1804
+ # This will add the linker flag for the map file
1805
+ extra_cmake_args .append (
1806
+ f'-DCMAKE_EXE_LINKER_FLAGS=-Wl,-Map={ os .path .join (BUILD_DIR , env .subst ("$PROGNAME" ) + ".map" )} '
1807
+ )
1811
1808
1812
1809
# Add any extra args from board config
1813
1810
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