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

21 lines
423 B
Makefile
Raw Normal View History

MODULE =cpu
DIRS = $(RIOTCPU)/arm_common
2014-02-14 14:30:16 +01:00
ifneq (,$(filter mc1322x_adc,$(USEMODULE)))
DIRS += adc
endif
2014-02-14 14:30:16 +01:00
ifneq (,$(filter mc1322x_asm,$(USEMODULE)))
DIRS += asm
endif
ifneq (,$(filter mc1322x,$(USEMODULE)))
DIRS += maca
endif
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do "$(MAKE)" -C $$i || exit 1; done ;
include $(RIOTBASE)/Makefile.base
clean::
@for i in $(DIRS) ; do "$(MAKE)" -C $$i clean || exit 1; done ;