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

76 lines
1.7 KiB
Makefile
Raw Normal View History

MODULE = shell_commands
SRC = shell_commands.c sc_sys.c
2014-02-14 14:30:16 +01:00
ifneq (,$(filter mci,$(USEMODULE)))
SRC += sc_disk.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter ps,$(USEMODULE)))
SRC += sc_ps.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter sht11,$(USEMODULE)))
SRC += sc_sht11.c
endif
ifneq (,$(filter lpc2387,$(USEMODULE)))
SRC += sc_heap.c
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter random,$(USEMODULE)))
SRC += sc_random.c
endif
ifeq ($(CPU),x86)
SRC += sc_x86_lspci.c
endif
ifneq (,$(filter at30tse75x,$(USEMODULE)))
SRC += sc_at30tse75x.c
endif
ifneq (,$(filter gnrc_netif,$(USEMODULE)))
SRC += sc_netif.c
endif
ifneq (,$(filter fib,$(USEMODULE)))
SRC += sc_fib.c
endif
ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE)))
SRC += sc_ipv6_nc.c
endif
ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE)))
SRC += sc_whitelist.c
endif
ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
SRC += sc_blacklist.c
endif
2016-03-20 17:50:30 +01:00
# The ping command in sc_icmpv6_echo requires xtimer, too. However, this is
# implicitly pulled in by gnrc_ipv6_netif (which is a dependency of gnrc_ipv6)
# already.
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
SRC += sc_icmpv6_echo.c
2015-04-01 17:40:36 +02:00
endif
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
SRC += sc_gnrc_rpl.c
2015-05-22 21:48:30 +02:00
endif
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
ifneq (,$(filter gnrc_sixlowpan_nd_border_router,$(USEMODULE)))
SRC += sc_gnrc_6ctx.c
endif
endif
ifneq (,$(filter saul_reg,$(USEMODULE)))
SRC += sc_saul_reg.c
endif
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
ifneq (,$(filter vfs,$(USEMODULE)))
SRC += sc_vfs.c
endif
ifneq (,$(filter conn_can,$(USEMODULE)))
SRC += sc_can.c
endif
2017-03-03 10:14:03 +01:00
ifneq (,$(filter periph_rtc,$(FEATURES_PROVIDED)))
SRC += sc_rtc.c
endif
2013-10-29 10:48:24 +01:00
include $(RIOTBASE)/Makefile.base