git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6481 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
cf2043de3b
commit
91fcf94426
|
@ -8,7 +8,8 @@ ifeq ($(BUILDDIR),.)
|
||||||
BUILDDIR = build
|
BUILDDIR = build
|
||||||
endif
|
endif
|
||||||
OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \
|
OUTFILES = $(BUILDDIR)/$(PROJECT).elf $(BUILDDIR)/$(PROJECT).hex \
|
||||||
$(BUILDDIR)/$(PROJECT).bin $(BUILDDIR)/$(PROJECT).dmp
|
$(BUILDDIR)/$(PROJECT).mot $(BUILDDIR)/$(PROJECT).bin \
|
||||||
|
$(BUILDDIR)/$(PROJECT).dmp
|
||||||
|
|
||||||
# Automatic compiler options
|
# Automatic compiler options
|
||||||
OPT = $(USE_OPT)
|
OPT = $(USE_OPT)
|
||||||
|
@ -152,6 +153,14 @@ else
|
||||||
@$(HEX) $< $@
|
@$(HEX) $< $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
%.mot: %.elf $(LDSCRIPT)
|
||||||
|
ifeq ($(USE_VERBOSE_COMPILE),yes)
|
||||||
|
$(MOT) $< $@
|
||||||
|
else
|
||||||
|
@echo Creating $@
|
||||||
|
@$(MOT) $< $@
|
||||||
|
endif
|
||||||
|
|
||||||
%.bin: %.elf $(LDSCRIPT)
|
%.bin: %.elf $(LDSCRIPT)
|
||||||
ifeq ($(USE_VERBOSE_COMPILE),yes)
|
ifeq ($(USE_VERBOSE_COMPILE),yes)
|
||||||
$(BIN) $< $@
|
$(BIN) $< $@
|
||||||
|
@ -166,12 +175,16 @@ ifeq ($(USE_VERBOSE_COMPILE),yes)
|
||||||
else
|
else
|
||||||
@echo Creating $@
|
@echo Creating $@
|
||||||
@$(OD) $(ODFLAGS) $< > $@
|
@$(OD) $(ODFLAGS) $< > $@
|
||||||
|
@echo
|
||||||
|
@$(SZ) $<
|
||||||
|
@echo
|
||||||
@echo Done
|
@echo Done
|
||||||
endif
|
endif
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@echo Cleaning
|
@echo Cleaning
|
||||||
-rm -fR .dep $(BUILDDIR)
|
-rm -fR .dep $(BUILDDIR)
|
||||||
|
@echo
|
||||||
@echo Done
|
@echo Done
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue