1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 04:52:59 +01:00

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

This commit is contained in:
Kaspar Schleiser 2016-09-29 15:23:27 +02:00
parent 10e9336c78
commit 444054041c
2 changed files with 4 additions and 5 deletions

View File

@ -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 Normal file
View File

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