Commit b94bda03 authored by Sebastian Bøe's avatar Sebastian Bøe Committed by David Brown
Browse files

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: default avatarSebastian Bøe <sebastian.boe@nordicsemi.no>
parent 90c70e31
Loading
Loading
Loading
Loading
+1 −3
Changes for boot/zephyr/CMakeLists.txt: 1 added line, 3 removed lines.
Original line number Diff line number Diff line
@@ -18,10 +18,8 @@ macro(set_conf_file)
  endif()
endmacro()

# The board should be set to a supported target.
if (NOT DEFINED BOARD)
# Default to qemu_x86 if no board has been specified.
set(BOARD qemu_x86)
endif()

# Add a common dts overlay necessary to ensure mcuboot is linked into,
# and fits inside, the boot partition. (If the user specified a