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.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/16027 )
Change subject: create bootloader-$(BOARD).{elf,bin} symlinks
......................................................................
create bootloader-$(BOARD).{elf,bin} symlinks
Change-Id: I3a1eb038e51f4b38ae2e2154bd53c615d98db517
---
M gcc/Makefile
1 file changed, 6 insertions(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, approved
diff --git a/gcc/Makefile b/gcc/Makefile
index 86d199c..06404ad 100644
--- a/gcc/Makefile
+++ b/gcc/Makefile
@@ -180,7 +180,7 @@
vpath %.S ../
# All Target
-all: $(SUB_DIRS) $(OUTPUT_FILE_PATH)
+all: $(SUB_DIRS) $(OUTPUT_FILE_PATH) symlink
# Linker target
@@ -203,7 +203,10 @@
"arm-none-eabi-objdump" -h -S "$(OUTPUT_FILE_NAME).elf" > "$(OUTPUT_FILE_NAME).lss"
"arm-none-eabi-size" "$(OUTPUT_FILE_NAME).elf"
-
+.PHONY: symlink
+symlink: $(OUTPUT_FILE_PATH)
+ ln -sf $(OUTPUT_FILE_NAME).bin bootloader-$(BOARD_LC).bin
+ ln -sf $(OUTPUT_FILE_NAME).elf bootloader-$(BOARD_LC).elf
# Compiler targets
@@ -253,4 +256,4 @@
rm -f $(DEPS_AS_ARGS)
rm -f $(OUTPUT_FILE_NAME).a $(OUTPUT_FILE_NAME).hex $(OUTPUT_FILE_NAME).bin \
$(OUTPUT_FILE_NAME).lss $(OUTPUT_FILE_NAME).eep $(OUTPUT_FILE_NAME).map \
- $(OUTPUT_FILE_NAME).srec
+ $(OUTPUT_FILE_NAME).srec bootloader-$(BOARD_LC).bin bootloader-$(BOARD_LC).elf
--
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/16027
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-Change-Id: I3a1eb038e51f4b38ae2e2154bd53c615d98db517
Gerrit-Change-Number: 16027
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: osmith <osmith at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20191130/69e15bcf/attachment.htm>