2013-02-06 13:20:21 +01:00
|
|
|
ifeq ($(CPU),lpc2387)
|
2013-04-01 00:18:07 +02:00
|
|
|
DIRS = arm_common lpc_common lpc2387
|
2013-02-06 13:20:21 +01:00
|
|
|
endif
|
|
|
|
|
2013-04-01 00:18:07 +02:00
|
|
|
ifeq ($(CPU),mc1322x)
|
|
|
|
DIRS = arm_common mc1322x
|
2013-02-06 13:20:21 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(CPU),cc430)
|
2013-03-30 21:44:16 +01:00
|
|
|
DIRS = msp430-common cc430
|
2013-02-06 13:20:21 +01:00
|
|
|
endif
|
|
|
|
|
2013-02-11 22:10:03 +01:00
|
|
|
ifeq ($(CPU),msp430x16x)
|
|
|
|
DIRS = msp430-common msp430x16x
|
|
|
|
endif
|
|
|
|
|
2013-03-06 01:08:15 +01:00
|
|
|
ifeq ($(CPU),native)
|
|
|
|
DIRS = native
|
|
|
|
endif
|
|
|
|
|
2013-02-06 13:20:21 +01:00
|
|
|
.PHONY: cpus
|
|
|
|
.PHONY: $(DIRS)
|
|
|
|
|
|
|
|
cpus: $(DIRS)
|
|
|
|
|
|
|
|
$(DIRS):
|
2013-08-06 18:58:24 +02:00
|
|
|
@"$(MAKE)" -C $@
|
2013-02-06 13:20:21 +01:00
|
|
|
|
|
|
|
clean:
|
2013-08-06 18:58:24 +02:00
|
|
|
@"$(MAKE)" -C lpc2387 clean
|
|
|
|
@"$(MAKE)" -C mc1322x clean
|
|
|
|
@"$(MAKE)" -C lpc_common clean
|
|
|
|
@"$(MAKE)" -C arm_common clean
|
|
|
|
@"$(MAKE)" -C cc430 clean
|
|
|
|
@"$(MAKE)" -C msp430-common clean
|
|
|
|
@"$(MAKE)" -C msp430x16x clean
|
|
|
|
@"$(MAKE)" -C native clean
|