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

109 lines
2.6 KiB
Makefile
Raw Normal View History

MODULE = sys
ifneq (,$(filter auto_init,$(USEMODULE)))
DIRS += auto_init
endif
ifneq (,$(filter config,$(USEMODULE)))
DIRS += config
endif
ifneq (,$(filter lib,$(USEMODULE)))
DIRS += lib
endif
ifneq (,$(filter ping,$(USEMODULE)))
DIRS += ping
endif
ifneq (,$(filter ps,$(USEMODULE)))
DIRS += ps
endif
ifneq (,$(filter posix,$(USEMODULE)))
DIRS += posix
endif
ifneq (,$(filter pnet,$(USEMODULE)))
2013-09-30 14:14:05 +02:00
DIRS += posix/pnet
endif
2014-02-13 14:18:30 +01:00
ifneq (,$(filter pthread,$(USEMODULE)))
DIRS += posix/pthread
endif
ifneq (,$(filter shell,$(USEMODULE)))
DIRS += shell
endif
ifneq (,$(filter shell_commands,$(USEMODULE)))
DIRS += shell/commands
endif
ifneq (,$(filter timex,$(USEMODULE)))
DIRS += timex
endif
ifneq (,$(filter transceiver,$(USEMODULE)))
DIRS += transceiver
endif
ifneq (,$(filter uart0,$(USEMODULE)))
DIRS += uart0
endif
ifneq (,$(filter vtimer,$(USEMODULE)))
DIRS += vtimer
endif
2013-12-20 15:23:09 +01:00
ifneq (,$(filter net_if,$(USEMODULE)))
DIRS += net/link_layer/net_if
endif
ifneq (,$(filter destiny,$(USEMODULE)))
DIRS += net/transport_layer/destiny
2013-03-16 17:02:35 +01:00
endif
ifneq (,$(filter net_help,$(USEMODULE)))
DIRS += net/crosslayer/net_help
2013-03-16 17:02:35 +01:00
endif
ifneq (,$(filter protocol_multiplex,$(USEMODULE)))
DIRS += net/link_layer/protocol-multiplex
2013-03-16 17:02:35 +01:00
endif
ifneq (,$(filter sixlowpan,$(USEMODULE)))
DIRS += net/network_layer/sixlowpan
2013-07-05 09:35:29 +02:00
endif
ifneq (,$(filter sixlowborder,$(USEMODULE)))
DIRS += net/network_layer/sixlowpan/border
endif
ifneq (,$(filter rpl,$(USEMODULE)))
2013-12-15 15:09:49 +01:00
DIRS += net/routing/rpl
2013-03-16 17:02:35 +01:00
endif
ifneq (,$(filter ieee802154,$(USEMODULE)))
DIRS += net/link_layer/ieee802154
endif
ifneq (,$(filter bloom,$(USEMODULE)))
2013-08-04 22:01:11 +02:00
DIRS += bloom
endif
ifneq (,$(filter crypto_3des,$(USEMODULE)))
DIRS += crypto/3des
endif
ifneq (,$(filter crypto_aes,$(USEMODULE)))
DIRS += crypto/aes
endif
ifneq (,$(filter crypto_rc5,$(USEMODULE)))
DIRS += crypto/rc5
endif
ifneq (,$(filter crypto_sha256,$(USEMODULE)))
DIRS += crypto/sha256
endif
ifneq (,$(filter crypto_skipjack,$(USEMODULE)))
DIRS += crypto/skipjack
endif
ifneq (,$(filter crypto_twofish,$(USEMODULE)))
DIRS += crypto/twofish
2013-08-06 18:52:30 +02:00
endif
ifneq (,$(filter random,$(USEMODULE)))
2013-08-20 08:56:22 +02:00
DIRS += random
endif
ifneq (,$(filter hashes,$(USEMODULE)))
DIRS += hashes
endif
ifneq (,$(filter ccn_lite,$(USEMODULE)))
2013-10-28 10:25:17 +01:00
DIRS += net/ccn_lite
endif
ifneq (,$(filter ccn_lite_client,$(USEMODULE)))
2013-10-28 10:25:17 +01:00
DIRS += net/ccn_lite/util
endif
ifneq (,$(filter quad_math,$(USEMODULE)))
DIRS += quad_math
endif
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
include $(RIOTBASE)/Makefile.base