1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net/nanocoap: use submodules

This commit is contained in:
Kaspar Schleiser 2017-11-29 14:06:28 +01:00
parent 84bc849014
commit 3367840fa2
4 changed files with 9 additions and 2 deletions

View File

@ -652,14 +652,18 @@ ifneq (,$(filter l2filter_%,$(USEMODULE)))
endif
ifneq (,$(filter gcoap,$(USEMODULE)))
USEMODULE += nanocoap
USEMODULE += gnrc_sock_udp
USEMODULE += nanocoap
USEMODULE += gnrc_sock_udp
endif
ifneq (,$(filter luid,$(USEMODULE)))
FEATURES_OPTIONAL += periph_cpuid
endif
ifneq (,$(filter nanocoap_%,$(USEMODULE)))
USEMODULE += nanocoap
endif
# always select gpio (until explicit dependencies are sorted out)
FEATURES_OPTIONAL += periph_gpio

View File

@ -46,6 +46,7 @@ PSEUDOMODULES += lwip_tcp
PSEUDOMODULES += lwip_udp
PSEUDOMODULES += lwip_udplite
PSEUDOMODULES += mpu_stack_guard
PSEUDOMODULES += nanocoap_%
PSEUDOMODULES += netdev_default
PSEUDOMODULES += netif
PSEUDOMODULES += netstats

View File

@ -1 +1,3 @@
SRC := nanocoap.c
SUBMODULES := 1
include $(RIOTBASE)/Makefile.base