2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter pnet,$(USEMODULE)))
|
2013-09-30 14:14:05 +02:00
|
|
|
DIRS += posix/pnet
|
|
|
|
endif
|
2014-02-13 14:18:30 +01:00
|
|
|
ifneq (,$(filter pthread,$(USEMODULE)))
|
|
|
|
DIRS += posix/pthread
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter shell_commands,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
DIRS += shell/commands
|
|
|
|
endif
|
2013-12-20 15:23:09 +01:00
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/net_if
|
|
|
|
endif
|
2014-05-22 23:18:51 +02:00
|
|
|
ifneq (,$(filter l2_ping,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/ping
|
|
|
|
endif
|
2014-07-19 18:00:21 +02:00
|
|
|
ifneq (,$(filter nomac,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/nomac
|
|
|
|
endif
|
2014-07-31 17:53:46 +02:00
|
|
|
ifneq (,$(filter transport_layer,$(USEMODULE)))
|
|
|
|
USEMODULE += udp
|
|
|
|
USEMODULE += tcp
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter socket_base,$(USEMODULE)))
|
|
|
|
DIRS += net/transport_layer/socket_base
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter udp,$(USEMODULE)))
|
|
|
|
DIRS += net/transport_layer/udp
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter tcp,$(USEMODULE)))
|
|
|
|
DIRS += net/transport_layer/tcp
|
2013-03-16 17:02:35 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter net_help,$(USEMODULE)))
|
2013-12-15 16:09:01 +01:00
|
|
|
DIRS += net/crosslayer/net_help
|
2013-03-16 17:02:35 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter protocol_multiplex,$(USEMODULE)))
|
2013-12-15 16:04:35 +01:00
|
|
|
DIRS += net/link_layer/protocol-multiplex
|
2013-03-16 17:02:35 +01:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
2013-12-15 16:03:33 +01:00
|
|
|
DIRS += net/network_layer/sixlowpan
|
2013-07-05 09:35:29 +02:00
|
|
|
endif
|
2014-02-16 16:08:48 +01:00
|
|
|
ifneq (,$(filter sixlowborder,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/sixlowpan/border
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
2013-12-15 15:09:49 +01:00
|
|
|
DIRS += net/routing/rpl
|
2013-03-16 17:02:35 +01:00
|
|
|
endif
|
2014-03-25 16:22:54 +01:00
|
|
|
ifneq (,$(filter routing,$(USEMODULE)))
|
|
|
|
DIRS += net/routing
|
|
|
|
endif
|
2014-09-12 18:12:26 +02:00
|
|
|
ifneq (,$(filter aodvv2,$(USEMODULE)))
|
|
|
|
DIRS += net/routing/aodvv2
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter ieee802154,$(USEMODULE)))
|
2013-12-15 15:12:08 +01:00
|
|
|
DIRS += net/link_layer/ieee802154
|
2013-05-28 10:02:35 +02:00
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter ccn_lite,$(USEMODULE)))
|
2013-10-28 10:25:17 +01:00
|
|
|
DIRS += net/ccn_lite
|
|
|
|
endif
|
2014-02-14 00:30:34 +01:00
|
|
|
ifneq (,$(filter ccn_lite_client,$(USEMODULE)))
|
2013-10-28 10:25:17 +01:00
|
|
|
DIRS += net/ccn_lite/util
|
|
|
|
endif
|
2014-05-15 16:30:47 +02:00
|
|
|
ifneq (,$(filter oneway_malloc,$(USEMODULE)))
|
|
|
|
DIRS += oneway-malloc
|
|
|
|
endif
|
2015-02-11 11:46:48 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_addr,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/ng_ipv6/addr
|
|
|
|
endif
|
2015-02-16 21:55:42 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/ng_ipv6/nc
|
|
|
|
endif
|
2015-02-11 14:10:34 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_netif,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/ng_ipv6/netif
|
|
|
|
endif
|
2015-02-13 10:28:07 +01:00
|
|
|
ifneq (,$(filter ng_netapi,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/ng_netapi
|
|
|
|
endif
|
2015-02-09 19:42:36 +01:00
|
|
|
ifneq (,$(filter ng_netif,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/ng_netif
|
|
|
|
endif
|
2015-02-07 13:14:37 +01:00
|
|
|
ifneq (,$(filter ng_netreg,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/ng_netreg
|
|
|
|
endif
|
2015-03-12 21:57:18 +01:00
|
|
|
ifneq (,$(filter ng_nomac,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/ng_nomac
|
|
|
|
endif
|
2014-12-11 10:58:56 +01:00
|
|
|
ifneq (,$(filter ng_pktbuf,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/ng_pktbuf
|
|
|
|
endif
|
2014-07-18 17:30:26 +02:00
|
|
|
ifneq (,$(filter netapi,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/netapi
|
|
|
|
endif
|
2014-10-14 08:14:45 +02:00
|
|
|
ifneq (,$(filter trickle,$(USEMODULE)))
|
|
|
|
DIRS += trickle
|
|
|
|
endif
|
2014-11-25 12:02:52 +01:00
|
|
|
ifneq (,$(filter nhdp,$(USEMODULE)))
|
|
|
|
DIRS += net/routing/nhdp
|
|
|
|
endif
|
2015-02-10 15:50:00 +01:00
|
|
|
ifneq (,$(filter ng_nomac,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/ng_nomac
|
|
|
|
endif
|
2015-03-21 11:47:25 +01:00
|
|
|
ifneq (,$(filter ng_pktdump,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/ng_pktdump
|
|
|
|
endif
|
2014-11-11 09:20:37 +01:00
|
|
|
|
|
|
|
DIRS += $(dir $(wildcard $(addsuffix /Makefile, ${USEMODULE})))
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-03-09 23:47:21 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|