stm32/mboot: Set USE_MBOOT=1 by default in the Makefile.

This allows boards that need USE_MBOOT to be built properly whether or not
USE_MBOOT=1 is specified when building mboot.
pull/4615/head
Dave Hylands 2019-03-14 19:27:54 -07:00 zatwierdzone przez Damien George
rodzic 696549d2e5
commit ec6e62efc2
1 zmienionych plików z 4 dodań i 0 usunięć

4
ports/stm32/mboot/Makefile 100644 → 100755
Wyświetl plik

@ -8,6 +8,10 @@ BUILD ?= build-$(BOARD)
# Allow the directory containing the board configuration to be specified
BOARD_DIR ?= $(abspath ../boards/$(BOARD))
# Set USE_MBOOT to 1 so that TEXT0_ADDR gets set properly for those boards
# that can be built with or without mboot.
USE_MBOOT ?= 1
# Sanity check that the board configuration directory exists
ifeq ($(wildcard $(BOARD_DIR)/.),)
$(error Invalid BOARD specified: $(BOARD_DIR))