zephyr: boot: Correct how the default board is set

The default board should be set simply by 'set'ing the BOARD. This has
the lowest precedence of all possible inputs.

Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
Sebastian Bøe 2019-01-22 12:33:18 +01:00 committed by David Brown
parent 90c70e31ad
commit b94bda03aa
1 changed files with 2 additions and 4 deletions

View File

@ -18,10 +18,8 @@ macro(set_conf_file)
endif()
endmacro()
# The board should be set to a supported target.
if (NOT DEFINED BOARD)
set(BOARD qemu_x86)
endif()
# Default to qemu_x86 if no board has been specified.
set(BOARD qemu_x86)
# Add a common dts overlay necessary to ensure mcuboot is linked into,
# and fits inside, the boot partition. (If the user specified a