mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg: ccn-lite: move CFLAGS to pkg Makefile.include
This commit is contained in:
parent
444054041c
commit
e8d9589d8c
@ -8,10 +8,6 @@ OLD_USEPKG := $(sort $(USEPKG))
|
|||||||
# pull dependencies from drivers
|
# pull dependencies from drivers
|
||||||
include $(RIOTBASE)/drivers/Makefile.dep
|
include $(RIOTBASE)/drivers/Makefile.dep
|
||||||
|
|
||||||
ifneq (,$(filter ccn-lite,$(USEPKG)))
|
|
||||||
export CFLAGS += -DCCNL_RIOT
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(filter csma_sender,$(USEMODULE)))
|
ifneq (,$(filter csma_sender,$(USEMODULE)))
|
||||||
USEMODULE += random
|
USEMODULE += random
|
||||||
USEMODULE += xtimer
|
USEMODULE += xtimer
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
INCLUDES += -I$(RIOTPKG)/ccn-lite -I$(BINDIRBASE)/pkg/$(BOARD)/ccn-lite/src
|
INCLUDES += -I$(RIOTPKG)/ccn-lite -I$(BINDIRBASE)/pkg/$(BOARD)/ccn-lite/src
|
||||||
INCLUDES += -I$(RIOTBASE)/sys/posix/include
|
INCLUDES += -I$(RIOTBASE)/sys/posix/include
|
||||||
|
|
||||||
|
CFLAGS += -DCCNL_RIOT
|
||||||
|
Loading…
Reference in New Issue
Block a user