2013-02-06 13:20:21 +01:00
|
|
|
MODULE =cpu
|
|
|
|
|
2013-12-23 23:19:17 +01:00
|
|
|
include $(RIOTCPU)/$(CPU)/Makefile.include
|
|
|
|
|
2013-12-22 20:02:59 +01:00
|
|
|
DIRS = $(RIOTCPU)/arm_common $(RIOTCPU)/lpc_common
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter gpioint,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
DIRS += gpioint
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter mci,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
DIRS += mci
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter rtc,$(USEMODULE)))
|
2013-02-08 17:37:02 +01:00
|
|
|
DIRS += rtc
|
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter i2c,$(USEMODULE)))
|
2013-08-07 16:54:10 +02:00
|
|
|
DIRS += i2c
|
|
|
|
endif
|
2013-02-06 13:20:21 +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
|
2013-02-06 13:20:21 +01:00
|
|
|
|
|
|
|
clean::
|
2014-03-12 11:03:34 +01:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;
|