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)))
|
|
|
|
SRC += sc_id.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter transceiver,$(USEMODULE)))
|
2014-01-31 09:45:01 +01:00
|
|
|
SRC += sc_transceiver.c
|
2013-05-02 08:45:47 +02:00
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter cc110x,$(USEMODULE)))
|
|
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
2014-01-31 09:45:01 +01:00
|
|
|
SRC += sc_cc1100.c
|
|
|
|
endif
|
2013-08-08 11:08:33 +02:00
|
|
|
endif
|
2013-12-25 18:28:11 +01:00
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
INCLUDES += -I$(RIOTBASE)/sys/net/include
|
|
|
|
SRC += sc_net_if.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter mci,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
SRC += sc_disk.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter ltc4150,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
SRC += sc_ltc4150.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter ps,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
SRC += sc_ps.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter rtc,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
SRC += sc_rtc.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter sht11,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
SRC += sc_sht11.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter lpc_common,$(USEMODULE)))
|
2013-12-13 18:49:19 +01:00
|
|
|
SRC += sc_heap.c
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter random,$(USEMODULE)))
|
2014-01-20 11:08:42 +01:00
|
|
|
SRC += sc_mersenne.c
|
|
|
|
endif
|
2013-02-08 17:37:02 +01:00
|
|
|
|
2013-10-29 10:48:24 +01:00
|
|
|
include $(RIOTBASE)/Makefile.base
|