make: move mcuboot related stuff to makefiles/mcuboot.mk
This commit is contained in:
parent
2c19595b7e
commit
268e763d63
@ -567,6 +567,6 @@ CFLAGS := $(patsubst -D%,,$(CFLAGS))
|
||||
CFLAGS := $(patsubst -U%,,$(CFLAGS))
|
||||
CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)'
|
||||
|
||||
# include multislot support
|
||||
include $(RIOTMAKE)/multislot.mk
|
||||
# include mcuboot support
|
||||
include $(RIOTMAKE)/mcuboot.mk
|
||||
endif # BOARD=none
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
# include module specific includes
|
||||
INCLUDES += -I$(RIOTCPU)/cortexm_common/include
|
||||
INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor
|
||||
|
||||
export IMAGE_HDR_SIZE ?= 512
|
||||
|
||||
@ -11,6 +11,8 @@ MCUBOOT_BIN ?= $(BINDIR)/mcuboot.bin
|
||||
MCUBOOT_BIN_URL ?= http://download.riot-os.org/mynewt.mcuboot.bin
|
||||
MCUBOOT_BIN_MD5 ?= 0c71a0589bd3709fc2d90f07a0035ce7
|
||||
|
||||
export IMAGE_HDR_SIZE ?= 512
|
||||
|
||||
create-key: $(MCUBOOT_KEYFILE)
|
||||
|
||||
ifeq ($(BINDIR)/key.pem,$(MCUBOOT_KEYFILE))
|
||||
Loading…
x
Reference in New Issue
Block a user