mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Makefile.include: only use board include directory if it exists
Some boards do not have a boards/BOARD/include directory and rely on a board/common one.
This commit is contained in:
parent
ec2fe9a308
commit
d44e4c1f7f
@ -229,7 +229,7 @@ export PREFIX ?= $(if $(TARGET_ARCH),$(TARGET_ARCH)-)
|
||||
# Add standard include directories
|
||||
INCLUDES += -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/include
|
||||
INCLUDES += -I$(RIOTCPU)/$(CPU)/include
|
||||
INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
||||
INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/$(BOARD)/include))
|
||||
|
||||
# process provided features
|
||||
-include $(RIOTBOARD)/$(BOARD)/Makefile.features
|
||||
|
Loading…
Reference in New Issue
Block a user