mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
MODULE = shell_commands
|
|
|
|
SRC = shell_commands.c sc_sys.c
|
|
|
|
ifneq (,$(filter config,$(USEMODULE)))
|
|
SRC += sc_id.c
|
|
endif
|
|
ifneq (,$(filter transceiver,$(USEMODULE)))
|
|
SRC += sc_transceiver.c
|
|
endif
|
|
ifneq (,$(filter cc110x_legacy_csma,$(USEMODULE)))
|
|
ifeq (,$(filter transceiver,$(USEMODULE)))
|
|
SRC += sc_cc110x_legacy_csma.c
|
|
endif
|
|
endif
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
SRC += sc_net_if.c
|
|
endif
|
|
ifneq (,$(filter mci,$(USEMODULE)))
|
|
SRC += sc_disk.c
|
|
endif
|
|
ifneq (,$(filter ltc4150,$(USEMODULE)))
|
|
SRC += sc_ltc4150.c
|
|
endif
|
|
ifneq (,$(filter ps,$(USEMODULE)))
|
|
SRC += sc_ps.c
|
|
endif
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
|
SRC += sc_rpl.c
|
|
endif
|
|
ifneq (,$(filter rtc,$(USEMODULE)))
|
|
SRC += sc_rtc.c
|
|
endif
|
|
ifneq (,$(filter sht11,$(USEMODULE)))
|
|
SRC += sc_sht11.c
|
|
endif
|
|
ifneq (,$(filter lpc_common,$(USEMODULE)))
|
|
SRC += sc_heap.c
|
|
endif
|
|
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
|
|
|
|
include $(RIOTBASE)/Makefile.base
|