mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
24a54fe853
When using BUILD_IN_DOCKER only make 'all' execute 'mcuboot' target when inside the container. Otherwise it will execute it using your host toolchain. This is a hack and could be prevented by having a file target put in FLASHFILE. This does currently not allow flashing after building in docker as flashing should be done with `mcuboot-flash` which will not be done in docker. It would require the `FLASHFILE` fix to be done properly.
16 lines
334 B
Makefile
16 lines
334 B
Makefile
BOARD ?= nrf52dk
|
|
|
|
include ../Makefile.tests_common
|
|
|
|
BOARD_WHITELIST := nrf52dk
|
|
|
|
export IMAGE_VERSION = 1.1.1+1
|
|
|
|
# this test is supposed to always build the mcuboot image
|
|
ifneq ($(BUILD_IN_DOCKER),1)
|
|
# HACK: When building with docker, mcuboot target must be done only in docker
|
|
all: mcuboot
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.include
|