mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/mcuboot: handle building 'mcuboot' in docker
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.
This commit is contained in:
parent
fcd7f2233a
commit
24a54fe853
@ -7,6 +7,9 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user