mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-24 07:29:42 +00:00
now running just 'make' builds all the targets for all the boards.
This commit is contained in:
parent
dc9473a228
commit
f79c71153a
@ -67,7 +67,19 @@ clobber \
|
||||
mrproper \
|
||||
distclean: clean
|
||||
|
||||
.DEFAULT_GOAL := all
|
||||
#.DEFAULT_GOAL := all
|
||||
|
||||
ifndef BOARD
|
||||
.DEFAULT_GOAL := allboards
|
||||
else
|
||||
.DEFAULT_GOAL := all
|
||||
endif
|
||||
|
||||
all: $(OBJDIR)/board.h
|
||||
for target in $(TARGETS); do make $$target\_$(BOARD).bin; done
|
||||
|
||||
allboards:
|
||||
for board in $(BOARDS); do make BOARD=$$board all; done
|
||||
|
||||
|
||||
|
||||
ALL := $(OBJDIR)/board.h $(TARGETS)_$(BOARD).bin
|
||||
all: $(ALL)
|
@ -1,4 +1,5 @@
|
||||
BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag
|
||||
#BOARDS := redbee-dev redbee-module redbee-r1 redbee-usb redbee-econotag
|
||||
BOARDS := redbee-dev redbee-r1
|
||||
|
||||
OBJDIR := obj_$(BOARD)_board
|
||||
CFLAGS += -I$(OBJDIR)
|
||||
|
@ -1,6 +1,6 @@
|
||||
MC1322X := ..
|
||||
|
||||
TARGETS := blink-red
|
||||
TARGETS := blink-red blink-green blink-blue
|
||||
|
||||
include $(MC1322X)/Makefile.include
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user