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