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 about 2 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=$@