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

68 lines
1.5 KiB
Makefile
Raw Normal View History

MODULE = shell_commands
SRC = shell_commands.c sc_sys.c
ifneq (,$(filter config,$(USEMODULE)))
SRC += sc_id.c
endif
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 ltc4150,$(USEMODULE)))
SRC += sc_ltc4150.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_mersenne.c
endif
ifeq ($(CPU),x86)
SRC += sc_x86_lspci.c
endif
ifneq (,$(filter isl29020,$(USEMODULE)))
SRC += sc_isl29020.c
endif
ifneq (,$(filter lps331ap,$(USEMODULE)))
SRC += sc_lps331ap.c
endif
ifneq (,$(filter l3g4200d,$(USEMODULE)))
SRC += sc_l3g4200d.c
endif
ifneq (,$(filter lsm303dlhc,$(USEMODULE)))
SRC += sc_lsm303dlhc.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_icmpv6_echo vtimer,$(USEMODULE)))
SRC += sc_icmpv6_echo.c
2015-04-01 17:40:36 +02:00
endif
ifneq (,$(filter gnrc_zep ipv6_addr,$(USEMODULE)))
2015-03-17 14:42:35 +01:00
SRC += sc_zep.c
endif
ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
SRC += sc_gnrc_rpl.c
2015-05-22 21:48:30 +02:00
endif
# TODO
# Conditional building not possible at the moment due to
# https://github.com/RIOT-OS/RIOT/issues/2058
# The implementation is guarded in the source file instead, this
# should be changed once the issue has been resolved
SRC += sc_rtc.c
2013-10-29 10:48:24 +01:00
include $(RIOTBASE)/Makefile.base