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

37 lines
526 B
Makefile

ifeq ($(CPU),lpc2387)
DIRS = arm_common lpc2387
endif
ifeq ($(CPU),lpc214x)
DIRS = arm_common lpc214x
endif
ifeq ($(CPU),cc430)
DIRS = msp430-common cc430
endif
ifeq ($(CPU),msp430x16x)
DIRS = msp430-common msp430x16x
endif
ifeq ($(CPU),native)
DIRS = native
endif
.PHONY: cpus
.PHONY: $(DIRS)
cpus: $(DIRS)
$(DIRS):
@$(MAKE) -C $@
clean:
@$(MAKE) -C lpc2387 clean
@$(MAKE) -C arm_common clean
@$(MAKE) -C cc430 clean
@$(MAKE) -C msp430-common clean
@$(MAKE) -C msp430x16x clean
@$(MAKE) -C native clean