Browse Source

pkg: move module dependencies to pkg/libcoap/Makefile.dep

pr/spi.typo
Kaspar Schleiser 6 years ago
parent
commit
444054041c
  1. 5
      Makefile.dep
  2. 4
      pkg/libcoap/Makefile.dep

5
Makefile.dep

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

4
pkg/libcoap/Makefile.dep

@ -0,0 +1,4 @@
ifneq (,$(filter libcoap,$(USEPKG)))
USEMODULE += posix_sockets
USEMODULE += gnrc_conn_udp
endif
Loading…
Cancel
Save