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
|
|
|
|
2014-02-25 10:07:41 +01:00
|
|
|
ifneq (,$(filter config,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_id.c
|
2014-02-25 10:07:41 +01:00
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter transceiver,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_transceiver.c
|
2013-05-02 08:45:47 +02:00
|
|
|
endif
|
2014-10-26 22:02:18 +01:00
|
|
|
ifneq (,$(filter cc110x_legacy_csma,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
|
|
|
SRC += sc_cc110x_legacy_csma.c
|
|
|
|
endif
|
2013-08-08 11:08:33 +02:00
|
|
|
endif
|
2014-05-23 18:18:40 +02:00
|
|
|
ifneq (,$(filter l2_ping,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_l2_ping.c
|
2014-05-23 18:18:40 +02:00
|
|
|
endif
|
2013-12-25 18:28:11 +01:00
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_net_if.c
|
2013-12-25 18:28:11 +01:00
|
|
|
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
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter ltc4150,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_ltc4150.c
|
2013-02-08 17:37:02 +01:00
|
|
|
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
|
2014-03-09 11:01:10 +01:00
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_rpl.c
|
2014-03-09 11:01:10 +01:00
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter sht11,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_sht11.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-03-25 21:42:44 +01:00
|
|
|
SRC += sc_mersenne.c
|
2014-01-20 11:08:42 +01:00
|
|
|
endif
|
2014-01-16 07:39:33 +01:00
|
|
|
ifeq ($(CPU),x86)
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_x86_lspci.c
|
2014-01-16 07:39:33 +01:00
|
|
|
endif
|
2014-11-05 19:53:30 +01:00
|
|
|
ifneq (,$(filter isl29020,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_isl29020.c
|
2014-11-05 19:53:30 +01:00
|
|
|
endif
|
|
|
|
ifneq (,$(filter lps331ap,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_lps331ap.c
|
2014-11-05 19:53:30 +01:00
|
|
|
endif
|
|
|
|
ifneq (,$(filter l3g4200d,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_l3g4200d.c
|
2014-11-05 19:53:30 +01:00
|
|
|
endif
|
2014-11-05 14:58:18 +01:00
|
|
|
ifneq (,$(filter lsm303dlhc,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_lsm303dlhc.c
|
2014-11-05 14:58:18 +01:00
|
|
|
endif
|
2015-03-02 18:41:37 +01:00
|
|
|
ifneq (,$(filter ng_netif,$(USEMODULE)))
|
2015-03-25 21:42:44 +01:00
|
|
|
SRC += sc_netif.c
|
2015-03-02 18:41:37 +01:00
|
|
|
endif
|
2014-11-04 08:47:57 +01:00
|
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
|
|
|
SRC += sc_fib.c
|
|
|
|
endif
|
2015-03-12 01:49:59 +01:00
|
|
|
ifneq (,$(filter ng_ipv6_nc,$(USEMODULE)))
|
|
|
|
SRC += sc_ipv6_nc.c
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
|
2014-11-20 11:48:21 +01:00
|
|
|
# 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
|