mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
make: also add pkg include paths
This commit is contained in:
parent
b68b14b49b
commit
91d84b09f3
@ -278,10 +278,6 @@ export USEMODULE_INCLUDES =
|
||||
include $(RIOTBASE)/sys/Makefile.include
|
||||
include $(RIOTBASE)/drivers/Makefile.include
|
||||
|
||||
USEMODULE_INCLUDES_ = $(shell echo $(USEMODULE_INCLUDES) | tr ' ' '\n' | awk '!a[$$0]++' | tr '\n' ' ')
|
||||
|
||||
INCLUDES += $(USEMODULE_INCLUDES_:%=-I%)
|
||||
|
||||
# The `clean` needs to be serialized before everything else.
|
||||
ifneq (, $(filter clean, $(MAKECMDGOALS)))
|
||||
all $(BASELIBS) $(USEPKG:%=$(RIOTPKG)/%/Makefile.include): clean
|
||||
@ -294,6 +290,10 @@ $(RIOTPKG)/%/Makefile.include::
|
||||
.PHONY: $(USEPKG:%=$(RIOTPKG)/%/Makefile.include)
|
||||
-include $(USEPKG:%=$(RIOTPKG)/%/Makefile.include)
|
||||
|
||||
USEMODULE_INCLUDES_ = $(shell echo $(USEMODULE_INCLUDES) | tr ' ' '\n' | awk '!a[$$0]++' | tr '\n' ' ')
|
||||
|
||||
INCLUDES += $(USEMODULE_INCLUDES_:%=-I%)
|
||||
|
||||
.PHONY: $(USEPKG:%=${BINDIR}%.a)
|
||||
$(USEPKG:%=${BINDIR}%.a):
|
||||
@mkdir -p ${BINDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user