Skip to content

Commit 392f69a

Browse files
committed
remove genhex target
1 parent f097cae commit 392f69a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Makefile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ C_SRC += $(TUSB_PATH)/tusb.c
151151

152152
endif
153153

154-
155154
#------------------------------------------------------------------------------
156155
# Assembly Files
157156
#------------------------------------------------------------------------------
@@ -256,7 +255,6 @@ CFLAGS += -DBLEDIS_FW_VERSION='"$(GIT_VERSION) $(SD_NAME) $(SD_VERSION)"'
256255
_VER = $(subst ., ,$(word 1, $(subst -, ,$(GIT_VERSION))))
257256
CFLAGS += -DMK_BOOTLOADER_VERSION='($(word 1,$(_VER)) << 16) + ($(word 2,$(_VER)) << 8) + $(word 3,$(_VER))'
258257

259-
260258
#------------------------------------------------------------------------------
261259
# Linker Flags
262260
#------------------------------------------------------------------------------
@@ -365,11 +363,8 @@ $(BUILD)/$(OUT_FILE)-nosd.out: $(BUILD) $(OBJECTS)
365363
@$(SIZE) $@
366364

367365
#------------------- Binary generator -------------------
368-
.PHONY: genhex genpkg
369366

370367
## Create binary .hex file from the .out file
371-
genhex: $(BUILD)/$(OUT_FILE)-nosd.hex
372-
373368
$(BUILD)/$(OUT_FILE)-nosd.hex: $(BUILD)/$(OUT_FILE)-nosd.out
374369
@echo CR $(OUT_FILE)-nosd.hex
375370
@$(OBJCOPY) -O ihex $< $@
@@ -379,7 +374,8 @@ $(BUILD)/$(MERGED_FILE).hex: $(BUILD)/$(OUT_FILE)-nosd.hex
379374
@echo CR $(MERGED_FILE).hex
380375
@mergehex -q -m $< $(SD_HEX) -o $@
381376

382-
## Create pkg file for bootloader+SD combo to use with DFU
377+
## Create pkg zip file for bootloader+SD combo to use with DFU Serial
378+
.PHONY: genpkg
383379
genpkg: $(BUILD)/$(MERGED_FILE).zip
384380

385381
$(BUILD)/$(MERGED_FILE).zip: $(BUILD)/$(OUT_FILE)-nosd.hex

0 commit comments

Comments
 (0)