2014-03-04 21:12:17 +01:00
|
|
|
MODULE = shell_commands
|
|
|
|
|
2014-02-25 10:07:41 +01:00
|
|
|
SRC = shell_commands.c sc_sys.c
|
2013-02-08 17:37:02 +01:00
|
|
|
|
2019-03-05 14:19:59 +01:00
|
|
|
ifneq (,$(filter app_metadata,$(USEMODULE)))
|
|
|
|
SRC += sc_app_metadata.c
|
|
|
|
endif
|
2019-08-29 11:21:19 +02:00
|
|
|
ifneq (,$(filter dfplayer,$(USEMODULE)))
|
|
|
|
SRC += sc_dfplayer.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter mci,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_disk.c
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2019-07-10 03:38:37 +02:00
|
|
|
ifneq (,$(filter periph_pm,$(USEMODULE)))
|
2019-07-03 17:44:03 +02:00
|
|
|
SRC += sc_pm.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter ps,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_ps.c
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2019-02-03 15:24:52 +01:00
|
|
|
ifneq (,$(filter heap_cmd,$(USEMODULE)))
|
|
|
|
SRC += sc_heap.c
|
|
|
|
endif
|
2018-06-13 08:26:30 +02:00
|
|
|
ifneq (,$(filter sht1x,$(USEMODULE)))
|
|
|
|
SRC += sc_sht1x.c
|
2013-02-08 17:37:02 +01:00
|
|
|
endif
|
2014-12-01 17:36:00 +01:00
|
|
|
ifneq (,$(filter lpc2387,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_heap.c
|
2013-12-13 18:49:19 +01:00
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter random,$(USEMODULE)))
|
2015-10-12 16:07:54 +02:00
|
|
|
SRC += sc_random.c
|
2014-01-20 11:08:42 +01:00
|
|
|
endif
|
2015-09-01 17:05:23 +02:00
|
|
|
ifneq (,$(filter at30tse75x,$(USEMODULE)))
|
|
|
|
SRC += sc_at30tse75x.c
|
|
|
|
endif
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_netif,$(USEMODULE)))
|
2017-11-16 18:06:46 +01:00
|
|
|
SRC += sc_gnrc_netif.c
|
2017-07-24 20:32:18 +02:00
|
|
|
endif
|
2014-11-04 08:47:57 +01:00
|
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
2015-07-30 15:15:31 +02:00
|
|
|
SRC += sc_fib.c
|
2014-11-04 08:47:57 +01:00
|
|
|
endif
|
2020-02-05 16:15:22 +01:00
|
|
|
ifneq (,$(filter gnrc_ipv6_ext_frag_stats,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_ipv6_frag_stats.c
|
|
|
|
endif
|
2017-06-06 12:47:37 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_ipv6_nib.c
|
|
|
|
endif
|
2015-09-28 15:24:43 +02:00
|
|
|
ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE)))
|
|
|
|
SRC += sc_whitelist.c
|
|
|
|
endif
|
2016-01-26 11:28:01 +01:00
|
|
|
ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
|
|
|
|
SRC += sc_blacklist.c
|
|
|
|
endif
|
2016-03-20 17:50:30 +01:00
|
|
|
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
|
2017-11-16 17:00:40 +01:00
|
|
|
ifneq (,$(filter xtimer,$(USEMODULE)))
|
2018-07-07 14:54:31 +02:00
|
|
|
SRC += sc_gnrc_icmpv6_echo.c
|
2015-04-01 17:40:36 +02:00
|
|
|
endif
|
2017-11-16 17:00:40 +01:00
|
|
|
endif
|
2018-06-21 15:06:27 +02:00
|
|
|
ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_pktbuf.c
|
|
|
|
endif
|
2015-08-17 15:41:29 +02:00
|
|
|
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_rpl.c
|
2015-05-22 21:48:30 +02:00
|
|
|
endif
|
2015-08-31 04:09:43 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_6ctx.c
|
|
|
|
endif
|
2019-04-09 13:06:54 +02:00
|
|
|
ifneq (,$(filter gnrc_sixlowpan_frag_stats,$(USEMODULE)))
|
|
|
|
SRC += sc_gnrc_6lo_frag_stats.c
|
|
|
|
endif
|
2015-11-18 16:11:50 +01:00
|
|
|
ifneq (,$(filter saul_reg,$(USEMODULE)))
|
|
|
|
SRC += sc_saul_reg.c
|
|
|
|
endif
|
2015-12-06 17:12:40 +01:00
|
|
|
ifneq (,$(filter ccn-lite-utils,$(USEMODULE)))
|
|
|
|
SRC += sc_ccnl.c
|
|
|
|
endif
|
2016-10-29 16:59:00 +02:00
|
|
|
ifneq (,$(filter sntp,$(USEMODULE)))
|
|
|
|
SRC += sc_sntp.c
|
|
|
|
endif
|
2016-07-08 15:56:09 +02:00
|
|
|
ifneq (,$(filter vfs,$(USEMODULE)))
|
|
|
|
SRC += sc_vfs.c
|
|
|
|
endif
|
2017-05-11 18:26:00 +02:00
|
|
|
ifneq (,$(filter conn_can,$(USEMODULE)))
|
|
|
|
SRC += sc_can.c
|
|
|
|
endif
|
2018-10-15 11:37:04 +02:00
|
|
|
ifneq (,$(filter cord_ep,$(USEMODULE)))
|
|
|
|
SRC += sc_cord_ep.c
|
2018-09-11 14:49:05 +02:00
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
|
2018-09-26 17:41:48 +02:00
|
|
|
ifneq (,$(filter periph_rtc,$(USEMODULE)))
|
2017-03-03 10:14:03 +01:00
|
|
|
SRC += sc_rtc.c
|
|
|
|
endif
|
2014-11-20 11:48:21 +01:00
|
|
|
|
2020-03-19 17:17:17 +01:00
|
|
|
ifneq (,$(filter rtt_cmd,$(USEMODULE)))
|
|
|
|
SRC += sc_rtt.c
|
|
|
|
endif
|
|
|
|
|
2019-03-22 17:50:08 +01:00
|
|
|
ifneq (,$(filter i2c_scan,$(USEMODULE)))
|
|
|
|
SRC += sc_i2c_scan.c
|
|
|
|
endif
|
|
|
|
|
2018-03-29 23:41:13 +02:00
|
|
|
ifneq (,$(filter semtech-loramac,$(USEPKG)))
|
|
|
|
SRC += sc_loramac.c
|
|
|
|
endif
|
|
|
|
|
2019-07-05 13:49:40 +02:00
|
|
|
ifneq (,$(filter nimble_netif,$(USEMODULE)))
|
|
|
|
SRC += sc_nimble_netif.c
|
|
|
|
endif
|
|
|
|
|
2020-03-02 17:40:52 +01:00
|
|
|
ifneq (,$(filter nimble_statconn,$(USEMODULE)))
|
|
|
|
SRC += sc_nimble_statconn.c
|
|
|
|
endif
|
|
|
|
|
2019-10-11 22:59:48 +02:00
|
|
|
ifneq (,$(filter suit_coap,$(USEMODULE)))
|
|
|
|
SRC += sc_suit.c
|
|
|
|
endif
|
|
|
|
|
2020-02-07 17:17:39 +01:00
|
|
|
ifneq (,$(filter cryptoauthlib,$(USEPKG)))
|
|
|
|
SRC += sc_cryptoauthlib.c
|
|
|
|
endif
|
|
|
|
|
2013-10-29 10:48:24 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|