mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:32:44 +01:00
bootloaders/riotboot: add INCLUDES to build
If external boards defined in one of the EXTERNAL_BOARD_DIRS folders pulls in a header file external to the RIOT tree and added to the build via the INCLUDES macro, the build will fail to find the header. This patch adds the INCLUDES macro to the bootloader build step so that the headers can be found.
This commit is contained in:
parent
59773bb647
commit
7b66eb2c47
@ -86,6 +86,7 @@ riotboot/flash-bootloader: riotboot/bootloader/flash
|
||||
riotboot/bootloader/%: $$(if $$(filter riotboot/bootloader/clean,$$@),,$$(BUILDDEPS) pkg-prepare)
|
||||
$(Q)/usr/bin/env -i \
|
||||
QUIET=$(QUIET) PATH="$(PATH)" USER="$(USER)"\
|
||||
INCLUDES="$(INCLUDES)"\
|
||||
EXTERNAL_BOARD_DIRS="$(EXTERNAL_BOARD_DIRS)" BOARD=$(BOARD)\
|
||||
DEBUG_ADAPTER_ID=$(DEBUG_ADAPTER_ID) \
|
||||
IOTLAB_NODE=$(IOTLAB_NODE) \
|
||||
|
Loading…
Reference in New Issue
Block a user