From f15249ff07d1dc60b07d80dc1ddaed376cc94f33 Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Thu, 18 Apr 2013 17:50:34 +0300 Subject: [PATCH] make: fix bu_* targets --- make/apps-defs.mk | 3 --- make/common-defs.mk | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/make/apps-defs.mk b/make/apps-defs.mk index 08c6c8211..e8ff9a016 100644 --- a/make/apps-defs.mk +++ b/make/apps-defs.mk @@ -176,8 +176,5 @@ else ifeq ($(MCU),cortex-m4) LDFLAGS += $(addprefix -T,$(LINKER_SCRIPTS_APP)) endif -# Add opfw target -$(eval $(call OPFW_TEMPLATE,$(OUTDIR)/$(TARGET).bin,$(BOARD_TYPE),$(BOARD_REVISION))) - # Add jtag targets (program and wipe) $(eval $(call JTAG_TEMPLATE,$(OUTDIR)/$(TARGET).bin,$(FW_BANK_BASE),$(FW_BANK_SIZE),$(OPENOCD_JTAG_CONFIG),$(OPENOCD_CONFIG))) diff --git a/make/common-defs.mk b/make/common-defs.mk index 6663c8ca2..97ee3a818 100644 --- a/make/common-defs.mk +++ b/make/common-defs.mk @@ -223,6 +223,9 @@ $(eval $(call PARTIAL_COMPILE_TEMPLATE, SRC)) # Compile: create assembler files from C source files. ARM only $(eval $(call PARTIAL_COMPILE_ARM_TEMPLATE, SRCARM)) +# Add opfw target +$(eval $(call OPFW_TEMPLATE,$(OUTDIR)/$(TARGET).bin,$(BOARD_TYPE),$(BOARD_REVISION))) + $(OUTDIR)/$(TARGET).bin.o: $(OUTDIR)/$(TARGET).bin .PHONY: elf lss sym hex bin bino opfw