2020-08-07 16:36:33 +02:00
|
|
|
# SORT THIS ALPHABETICALLY BY MODULE NAME!
|
|
|
|
ifneq (,$(filter asymcute,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/asymcute
|
2016-06-05 13:14:29 +02:00
|
|
|
endif
|
2021-08-04 16:04:54 +02:00
|
|
|
ifneq (,$(filter benchmark_udp,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/benchmark_udp
|
|
|
|
endif
|
2022-08-10 11:08:26 +02:00
|
|
|
ifneq (,$(filter bhp,$(USEMODULE)))
|
|
|
|
DIRS += bhp
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter bluetil_%,$(USEMODULE)))
|
|
|
|
DIRS += net/ble/bluetil
|
2018-08-28 00:55:41 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cipher_modes,$(USEMODULE)))
|
|
|
|
DIRS += crypto/modes
|
2019-03-23 20:43:27 +01:00
|
|
|
endif
|
2021-08-10 17:37:22 +02:00
|
|
|
ifneq (,$(filter telnet,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/telnet
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter constfs,$(USEMODULE)))
|
|
|
|
DIRS += fs/constfs
|
2018-11-09 15:04:45 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cord_common,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/cord/common
|
2019-12-13 13:01:30 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cord_ep,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/cord/ep
|
2015-08-03 19:21:21 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cord_epsim,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/cord/epsim
|
2018-03-17 14:43:08 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cord_lc,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/cord/lc
|
2013-09-30 14:14:05 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter cpp11-compat,$(USEMODULE)))
|
|
|
|
DIRS += cpp11-compat
|
2017-11-06 11:20:43 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter credman,$(USEMODULE)))
|
|
|
|
DIRS += net/credman
|
2014-02-13 14:18:30 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter csma_sender,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/csma_sender
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter devfs,$(USEMODULE)))
|
|
|
|
DIRS += fs/devfs
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter dhcpv6,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/dhcpv6
|
2019-03-23 14:20:18 +01:00
|
|
|
endif
|
2021-07-21 14:57:44 +02:00
|
|
|
ifneq (,$(filter dns,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/dns
|
|
|
|
endif
|
2021-01-28 10:20:29 +01:00
|
|
|
ifneq (,$(filter dsm,$(USEMODULE)))
|
|
|
|
DIRS += net/dsm
|
|
|
|
endif
|
2020-06-08 17:04:58 +02:00
|
|
|
ifneq (,$(filter dummy_thread,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/dummy_thread
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter eepreg,$(USEMODULE)))
|
|
|
|
DIRS += eepreg
|
2013-03-16 17:02:35 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter emcute,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/emcute
|
2014-03-25 16:22:54 +01:00
|
|
|
endif
|
2020-07-09 01:44:11 +02:00
|
|
|
ifneq (,$(filter eui_provider,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/eui_provider
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/fib
|
2014-05-15 16:30:47 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter gcoap,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/gcoap
|
2016-01-14 09:19:56 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter gnrc gnrc_%,$(USEMODULE)))
|
|
|
|
DIRS += net/gnrc
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
|
|
|
|
DIRS += net/gnrc/application_layer/uhcpc
|
2016-02-16 17:17:58 +01:00
|
|
|
endif
|
2017-01-27 16:13:56 +01:00
|
|
|
ifneq (,$(filter icmpv6,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/network_layer/icmpv6
|
2017-01-27 16:13:56 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter ieee802154,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/ieee802154
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter inet_csum,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/inet_csum
|
|
|
|
endif
|
2015-08-11 18:06:52 +02:00
|
|
|
ifneq (,$(filter ipv4_addr,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/network_layer/ipv4/addr
|
2015-08-11 18:06:52 +02:00
|
|
|
endif
|
2015-08-09 23:53:40 +02:00
|
|
|
ifneq (,$(filter ipv6_addr,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/network_layer/ipv6/addr
|
2015-08-09 23:53:40 +02:00
|
|
|
endif
|
|
|
|
ifneq (,$(filter ipv6_hdr,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/network_layer/ipv6/hdr
|
2015-08-09 23:53:40 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter isrpipe_read_timeout,$(USEMODULE)))
|
|
|
|
DIRS += isrpipe/read_timeout
|
2015-04-02 08:56:18 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter l2filter,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/l2filter
|
2014-11-04 08:47:57 +01:00
|
|
|
endif
|
2023-03-14 10:30:15 +01:00
|
|
|
ifneq (,$(filter l2scan_list,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/l2scan_list
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter l2util,$(USEMODULE)))
|
|
|
|
DIRS += net/link_layer/l2util
|
2015-08-17 15:06:44 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter nanocoap,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/nanocoap
|
2017-02-07 13:41:32 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter net_help,$(USEMODULE)))
|
|
|
|
DIRS += net/crosslayer/net_help
|
2016-03-30 12:28:39 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter netdev_test,$(USEMODULE)))
|
|
|
|
DIRS += net/netdev_test
|
2016-03-30 12:28:39 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter netif,$(USEMODULE)))
|
|
|
|
DIRS += net/netif
|
2016-10-29 16:59:00 +02:00
|
|
|
endif
|
2015-07-07 18:22:26 +02:00
|
|
|
ifneq (,$(filter netopt,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/crosslayer/netopt
|
2015-07-07 18:22:26 +02:00
|
|
|
endif
|
2020-07-03 15:05:52 +02:00
|
|
|
ifneq (,$(filter netstats_neighbor,$(USEMODULE)))
|
|
|
|
DIRS += net/netstats
|
|
|
|
endif
|
2021-07-10 15:05:03 +02:00
|
|
|
ifneq (,$(filter netutils,$(USEMODULE)))
|
|
|
|
DIRS += net/netutils
|
|
|
|
endif
|
2015-10-19 16:15:37 +02:00
|
|
|
ifneq (,$(filter sema,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += sema
|
2015-08-03 18:52:32 +02:00
|
|
|
endif
|
2021-01-13 17:33:21 +01:00
|
|
|
ifneq (,$(filter sema_inv,$(USEMODULE)))
|
|
|
|
DIRS += sema_inv
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|
|
|
DIRS += net/network_layer/sixlowpan
|
2018-06-29 17:25:55 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter sntp,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/sntp
|
2017-02-21 00:01:59 +01:00
|
|
|
endif
|
2019-12-06 15:45:35 +01:00
|
|
|
ifneq (,$(filter sock_async_event,$(USEMODULE)))
|
|
|
|
DIRS += net/sock/async/event
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter sock_dns,$(USEMODULE)))
|
2021-07-21 13:55:17 +02:00
|
|
|
DIRS += net/application_layer/sock_dns
|
2020-08-07 16:36:33 +02:00
|
|
|
endif
|
2022-03-12 22:57:17 +01:00
|
|
|
ifneq (,$(filter sock_dns_mock,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/sock_dns_mock
|
|
|
|
endif
|
2021-09-16 12:08:57 +02:00
|
|
|
ifneq (,$(filter sock_dodtls,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/sock_dodtls
|
|
|
|
endif
|
2017-03-05 23:53:51 +01:00
|
|
|
ifneq (,$(filter sock_util,$(USEMODULE)))
|
2017-09-21 15:20:30 +02:00
|
|
|
DIRS += net/sock
|
2017-03-05 23:53:51 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter oneway_malloc,$(USEMODULE)))
|
|
|
|
DIRS += oneway-malloc
|
2017-03-03 11:14:41 +01:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter posix_inet,$(USEMODULE)))
|
|
|
|
DIRS += posix/inet
|
2016-07-08 15:56:09 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter posix_select,$(USEMODULE)))
|
|
|
|
DIRS += posix/select
|
2016-07-11 14:51:47 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter posix_semaphore,$(USEMODULE)))
|
|
|
|
DIRS += posix/semaphore
|
2017-05-16 16:24:48 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter posix_sockets,$(USEMODULE)))
|
|
|
|
DIRS += posix/sockets
|
2018-12-10 17:22:00 +01:00
|
|
|
endif
|
2020-10-26 11:54:42 +01:00
|
|
|
ifneq (,$(filter posix_sleep,$(USEMODULE)))
|
|
|
|
DIRS += posix/sleep
|
2020-08-07 16:36:33 +02:00
|
|
|
endif
|
2023-08-29 18:43:32 +02:00
|
|
|
ifneq (,$(filter psa_crypto,$(USEMODULE)))
|
|
|
|
DIRS += psa_crypto
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter pthread,$(USEMODULE)))
|
|
|
|
DIRS += posix/pthread
|
|
|
|
endif
|
2022-06-20 09:50:56 +02:00
|
|
|
ifneq (,$(filter preprocessor_%,$(USEMODULE)))
|
|
|
|
DIRS += preprocessor
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter routing,$(USEMODULE)))
|
|
|
|
DIRS += net/routing
|
2017-11-22 12:28:11 +01:00
|
|
|
endif
|
2018-04-05 11:10:40 +02:00
|
|
|
ifneq (,$(filter skald,$(USEMODULE)))
|
2019-03-26 21:37:35 +01:00
|
|
|
DIRS += net/ble/skald
|
2018-04-05 11:10:40 +02:00
|
|
|
endif
|
2022-07-21 20:26:03 +02:00
|
|
|
ifneq (,$(filter shell_cmds,$(USEMODULE)))
|
|
|
|
DIRS += shell/cmds
|
2017-07-25 15:12:39 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter suit%,$(USEMODULE)))
|
|
|
|
DIRS += suit
|
2017-07-24 17:42:26 +02:00
|
|
|
endif
|
2020-09-08 01:16:45 +02:00
|
|
|
ifneq (,$(filter sys_bus,$(USEMODULE)))
|
|
|
|
DIRS += bus
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter tcp,$(USEMODULE)))
|
|
|
|
DIRS += net/transport_layer/tcp
|
2018-04-10 14:44:01 +02:00
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter test_utils_interactive_sync,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/interactive_sync
|
2019-11-12 14:52:18 +01:00
|
|
|
endif
|
2022-03-16 14:38:46 +01:00
|
|
|
ifneq (,$(filter test_utils_netdev_eth_minimal,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/netdev_eth_minimal
|
|
|
|
endif
|
2022-03-21 14:29:11 +01:00
|
|
|
ifneq (,$(filter test_utils_netdev_ieee802154_minimal,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/netdev_ieee802154_minimal
|
|
|
|
endif
|
2020-08-06 13:22:49 +02:00
|
|
|
ifneq (,$(filter test_utils_print_stack_usage,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/print_stack_usage
|
|
|
|
endif
|
2021-03-12 16:18:44 +01:00
|
|
|
ifneq (,$(filter test_utils_result_output,$(USEMODULE)))
|
|
|
|
DIRS += test_utils/result_output
|
|
|
|
endif
|
2022-09-09 11:28:58 +02:00
|
|
|
ifneq (,$(filter tiny_strerror,$(USEMODULE)))
|
|
|
|
DIRS += tiny_strerror
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter udp,$(USEMODULE)))
|
|
|
|
DIRS += net/transport_layer/udp
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter uhcpc,$(USEMODULE)))
|
|
|
|
DIRS += net/application_layer/uhcp
|
2018-12-07 18:02:47 +01:00
|
|
|
endif
|
2019-01-31 22:44:12 +01:00
|
|
|
ifneq (,$(filter usbus usbus_%,$(USEMODULE)))
|
|
|
|
DIRS += usb/usbus
|
|
|
|
endif
|
2019-12-10 11:04:29 +01:00
|
|
|
ifneq (,$(filter ztimer_core,$(USEMODULE)))
|
|
|
|
DIRS += ztimer
|
|
|
|
endif
|
2020-08-07 16:36:33 +02:00
|
|
|
ifneq (,$(filter ztimer_xtimer_compat,$(USEMODULE)))
|
|
|
|
FILTER += xtimer
|
|
|
|
endif
|
2018-04-10 14:44:01 +02:00
|
|
|
|
2019-12-10 11:04:29 +01:00
|
|
|
DIRS += $(dir $(wildcard $(addsuffix /Makefile, $(filter-out $(FILTER), $(USEMODULE)))))
|
2013-02-06 13:20:21 +01:00
|
|
|
|
2013-03-09 23:47:21 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|