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
|
2013-02-08 17:37:02 +01:00
|
|
|
ifneq (,$(findstring gpioint,$(USEMODULE)))
|
|
|
|
DIRS += gpioint
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring mci,$(USEMODULE)))
|
|
|
|
DIRS += mci
|
|
|
|
endif
|
|
|
|
ifneq (,$(findstring rtc,$(USEMODULE)))
|
|
|
|
DIRS += rtc
|
|
|
|
endif
|
2013-08-07 16:54:10 +02:00
|
|
|
ifneq (,$(findstring i2c,$(USEMODULE)))
|
|
|
|
DIRS += i2c
|
|
|
|
endif
|
2013-02-06 13:20:21 +01:00
|
|
|
|
|
|
|
all: $(BINDIR)$(MODULE).a
|
2013-08-07 16:54:10 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i ; 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::
|
2013-08-07 16:54:10 +02:00
|
|
|
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean ; done ;
|
2013-02-06 13:20:21 +01:00
|
|
|
|