name binaries including their git version number
At http://ftp.osmocom.org/binaries/simtrace2/firmware/ we now have published binaries, which is nice. However, it would be even nicer if they included the git version in their name, something like
simtrace-cardem-dfu.bin being a symlink to that.
This has generaly proven good practise in other projects.
It may be easiest to actually adjust he makefile of simtrace2.git to generate the files + symlinks like that, and then simply rsync those over to the ftp.
#2 Updated by demodulate 10 months ago
A simple modification for the combined target:
diff --git a/firmware/Makefile b/firmware/Makefile index ca22bdd..7a8221c 100644 --- a/firmware/Makefile +++ b/firmware/Makefile @@ -183,6 +183,9 @@ OUTPUT := $(BIN)/$(OUTPUT) all: apps/$(APP)/usb_strings_generated.h $(BIN) $(OBJ) $(MEMORIES) combined: $(OUTPUT)-combined.bin + mv $(OUTPUT)-combined.bin $(OUTPUT)-combined-$(GIT_VERSION).bin + ln -s $(BOARD)-$(APP)-combined-$(GIT_VERSION).bin $(OUTPUT)-combined.bin + $(BIN)/$(BOARD)-dfu-flash-padded.bin: $(BIN)/$(BOARD)-dfu-flash.bin dd if=/dev/zero bs=16384 count=1 of=$@
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
patch was merged (not only for simtrace2 firmware), version-named builds are available from https://ftp.osmocom.org/binaries/simtrace2/firmware/