Change in osmo-ccid-firmware[master]: sysmoOCTSIM: Create symlinks of last-built .bin and .elf

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Nov 12 11:20:53 UTC 2019


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16039 )


Change subject: sysmoOCTSIM: Create symlinks of last-built .bin and .elf
......................................................................

sysmoOCTSIM: Create symlinks of last-built .bin and .elf

Change-Id: I6046069dd74e8a6f9461d3089259bbd90425c1c4
---
M sysmoOCTSIM/gcc/Makefile
1 file changed, 6 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ccid-firmware refs/changes/39/16039/1

diff --git a/sysmoOCTSIM/gcc/Makefile b/sysmoOCTSIM/gcc/Makefile
index 3d89b25..4b591ca 100644
--- a/sysmoOCTSIM/gcc/Makefile
+++ b/sysmoOCTSIM/gcc/Makefile
@@ -157,7 +157,7 @@
 
 # Linker target
 
-$(OUTPUT_FILE_PATH): $(OBJS)
+$(OUTPUT_FILE_PATH): $(OBJS) sysmoOCTSIM.elf sysmoOCTSIM.bin
 	@echo Building target: $@
 	@echo Invoking: ARM/GNU Linker
 	$(CC) -o $(OUTPUT_FILE_NAME).elf $(OBJS) $(EXTRA_LIBS) -Wl,--start-group -lm -Wl,--end-group -mthumb \
@@ -176,6 +176,11 @@
 	$(OBJDUMP) -h -S "$(OUTPUT_FILE_NAME).elf" > "$(OUTPUT_FILE_NAME).lss"
 	$(SIZE) "$(OUTPUT_FILE_NAME).elf"
 
+sysmoOCTSIM.elf: $(OUTPUT_FILE_PATH)
+	ln -sf $(OUTPUT_FILE_NAME).elf $@
+
+sysmoOCTSIM.bin: $(OUTPUT_FILE_PATH)
+	ln -sf $(OUTPUT_FILE_NAME).bin $@
 
 # Compiler targets
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ccid-firmware/+/16039
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ccid-firmware
Gerrit-Branch: master
Gerrit-Change-Id: I6046069dd74e8a6f9461d3089259bbd90425c1c4
Gerrit-Change-Number: 16039
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191112/c1b91c84/attachment.htm>


More information about the gerrit-log mailing list