Browse Source

pkg: ccn-lite: move CFLAGS to pkg Makefile.include

pr/spi.typo
Kaspar Schleiser 6 years ago
parent
commit
e8d9589d8c
  1. 4
      Makefile.dep
  2. 2
      pkg/ccn-lite/Makefile.include

4
Makefile.dep

@ -8,10 +8,6 @@ OLD_USEPKG := $(sort $(USEPKG))
# pull dependencies from drivers
include $(RIOTBASE)/drivers/Makefile.dep
ifneq (,$(filter ccn-lite,$(USEPKG)))
export CFLAGS += -DCCNL_RIOT
endif
ifneq (,$(filter csma_sender,$(USEMODULE)))
USEMODULE += random
USEMODULE += xtimer

2
pkg/ccn-lite/Makefile.include

@ -1,2 +1,4 @@
INCLUDES += -I$(RIOTPKG)/ccn-lite -I$(BINDIRBASE)/pkg/$(BOARD)/ccn-lite/src
INCLUDES += -I$(RIOTBASE)/sys/posix/include
CFLAGS += -DCCNL_RIOT

Loading…
Cancel
Save