cleanup main makefile
This commit is contained in:
parent
95dccba797
commit
dc9473a228
|
@ -1,8 +1,6 @@
|
||||||
LINKERSCRIPT := $(MC1322X)/mc1322x.lds
|
LINKERSCRIPT := $(MC1322X)/mc1322x.lds
|
||||||
LIBMC1322X := $(MC1322X)/libmc1322x
|
LIBMC1322X := $(MC1322X)/libmc1322x
|
||||||
|
|
||||||
.DEFAULT_GOAL := all
|
|
||||||
|
|
||||||
include $(MC1322X)/config.mk
|
include $(MC1322X)/config.mk
|
||||||
|
|
||||||
include $(MC1322X)/board/Makefile.board
|
include $(MC1322X)/board/Makefile.board
|
||||||
|
@ -68,3 +66,8 @@ clean:
|
||||||
clobber \
|
clobber \
|
||||||
mrproper \
|
mrproper \
|
||||||
distclean: clean
|
distclean: clean
|
||||||
|
|
||||||
|
.DEFAULT_GOAL := all
|
||||||
|
|
||||||
|
ALL := $(OBJDIR)/board.h $(TARGETS)_$(BOARD).bin
|
||||||
|
all: $(ALL)
|
|
@ -1,8 +1,11 @@
|
||||||
MC1322X := ..
|
MC1322X := ..
|
||||||
|
|
||||||
|
TARGETS := blink-red
|
||||||
|
|
||||||
include $(MC1322X)/Makefile.include
|
include $(MC1322X)/Makefile.include
|
||||||
|
|
||||||
TARGETS := blink-red_$(BOARD).bin
|
|
||||||
|
|
||||||
all: $(OBJDIR)/board.h $(TARGETS) $(TARGETS:.bin=.dis)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue