Skip to content
Snippets Groups Projects
Commit 268e763d authored by Kaspar Schleiser's avatar Kaspar Schleiser
Browse files

make: move mcuboot related stuff to makefiles/mcuboot.mk

parent 2c19595b
No related branches found
No related tags found
No related merge requests found
...@@ -567,6 +567,6 @@ CFLAGS := $(patsubst -D%,,$(CFLAGS)) ...@@ -567,6 +567,6 @@ CFLAGS := $(patsubst -D%,,$(CFLAGS))
CFLAGS := $(patsubst -U%,,$(CFLAGS)) CFLAGS := $(patsubst -U%,,$(CFLAGS))
CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)' CFLAGS += -include '$(RIOTBUILD_CONFIG_HEADER_C)'
# include multislot support # include mcuboot support
include $(RIOTMAKE)/multislot.mk include $(RIOTMAKE)/mcuboot.mk
endif # BOARD=none endif # BOARD=none
# include module specific includes # include module specific includes
INCLUDES += -I$(RIOTCPU)/cortexm_common/include INCLUDES += -I$(RIOTCPU)/cortexm_common/include
INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor INCLUDES += -I$(RIOTCPU)/cortexm_common/include/vendor
export IMAGE_HDR_SIZE ?= 512
...@@ -11,6 +11,8 @@ MCUBOOT_BIN ?= $(BINDIR)/mcuboot.bin ...@@ -11,6 +11,8 @@ MCUBOOT_BIN ?= $(BINDIR)/mcuboot.bin
MCUBOOT_BIN_URL ?= http://download.riot-os.org/mynewt.mcuboot.bin MCUBOOT_BIN_URL ?= http://download.riot-os.org/mynewt.mcuboot.bin
MCUBOOT_BIN_MD5 ?= 0c71a0589bd3709fc2d90f07a0035ce7 MCUBOOT_BIN_MD5 ?= 0c71a0589bd3709fc2d90f07a0035ce7
export IMAGE_HDR_SIZE ?= 512
create-key: $(MCUBOOT_KEYFILE) create-key: $(MCUBOOT_KEYFILE)
ifeq ($(BINDIR)/key.pem,$(MCUBOOT_KEYFILE)) ifeq ($(BINDIR)/key.pem,$(MCUBOOT_KEYFILE))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment