2013-04-01 00:18:52 +02:00
|
|
|
MODULE =cpu
|
|
|
|
|
2013-12-22 20:02:59 +01:00
|
|
|
DIRS = $(RIOTCPU)/arm_common
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter mc1322x_adc,$(USEMODULE)))
|
|
|
|
DIRS += adc
|
2013-08-23 12:05:11 +02:00
|
|
|
endif
|
2014-02-14 14:30:16 +01:00
|
|
|
ifneq (,$(filter mc1322x_asm,$(USEMODULE)))
|
2013-08-22 10:53:18 +02:00
|
|
|
DIRS += asm
|
|
|
|
endif
|
2014-04-18 16:05:23 +02:00
|
|
|
ifneq (,$(filter mc1322x,$(USEMODULE)))
|
|
|
|
DIRS += maca
|
|
|
|
endif
|
2013-04-01 00:18:52 +02: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-04-01 00:18:52 +02:00
|
|
|
|
|
|
|
include $(RIOTBASE)/Makefile.base
|