Skip to content

Commit f9fc591

Browse files
joerchannordicjm
authored andcommitted
boot: zephyr: Remove broken target config header feature
Remove broken target config header feature. This has been broken for more than 6 years, and seeing as nobody noticed it should be ok to remove it. Broken because if(EXISTS path-to-file-or-directory) uses relative path. From cmake documentation: "Behavior is well-defined only for explicit full paths". Secondly ${BOARD}.h does not account for changes introduced in hwmv2 where BOARD_QUALIFIER maybe should be handled as well. Also, who will put their board config files here? Signed-off-by: Joakim Andersson <[email protected]>
1 parent f8d8004 commit f9fc591

File tree

2 files changed

+0
-41
lines changed

2 files changed

+0
-41
lines changed

boot/zephyr/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ endif()
4848

4949
zephyr_library_include_directories(
5050
include
51-
targets
5251
)
53-
if(EXISTS targets/${BOARD}.h)
54-
zephyr_library_compile_definitions(MCUBOOT_TARGET_CONFIG="${BOARD}.h")
55-
endif()
5652

5753
# Zephyr port-specific sources.
5854
zephyr_library_sources(

boot/zephyr/targets/arduino_101.h

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)