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:
parent
10e9336c78
commit
444054041c
@ -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
4
pkg/libcoap/Makefile.dep
Normal file
@ -0,0 +1,4 @@
|
||||
ifneq (,$(filter libcoap,$(USEPKG)))
|
||||
USEMODULE += posix_sockets
|
||||
USEMODULE += gnrc_conn_udp
|
||||
endif
|
Loading…
Reference in New Issue
Block a user