Skip to content

Commit

Permalink
sys/net/nanocoap: use submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Nov 29, 2017
1 parent 882db83 commit b520fad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -721,14 +721,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

Expand Down
1 change: 1 addition & 0 deletions makefiles/pseudomodules.inc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions sys/net/application_layer/nanocoap/Makefile
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
SUBMODULES := 1
include $(RIOTBASE)/Makefile.base
File renamed without changes.

0 comments on commit b520fad

Please sign in to comment.