barebox: use the symlink to copy the barebox binary to the images directory
PATCH 1/1 barebox: use the symlink to copy the barebox binary to the images directory
Barebox creates a symlink to the binary. This symlink points to the barebox.bin or to the compressed zbarebox.bin binary.
--- boot/barebox/barebox.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
boot/barebox/barebox.mk +5 -1
@@ -72,7 +72,11 @@ define BAREBOX_BUILD_CMDS endef define BAREBOX_INSTALL_IMAGES_CMDS - cp $(@D)/barebox.bin $(BINARIES_DIR) + if test -h $(@D)/barebox-flash-image ; then \ + cp -L $(@D)/barebox-flash-image $(BINARIES_DIR)/barebox.bin ; \ + else \ + cp $(@D)/barebox.bin $(BINARIES_DIR);\ + fi endef ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y)
Signature · 1 line
1.7.9.5
PATCH 1/1 barebox: use the symlink to copy the barebox binary to the images directory
Quoted 28 lines · Gregory Hermant
Barebox creates a symlink to the binary. This symlink points to the barebox.bin or to the compressed zbarebox.bin binary.
Signed-off-by Gregory Hermant <[email protected]>--- boot/barebox/barebox.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)boot/barebox/barebox.mk +5
-2@@ -72,7 +72,11 @@ define BAREBOX_BUILD_CMDS endef define BAREBOX_INSTALL_IMAGES_CMDS - cp $(@D)/barebox.bin $(BINARIES_DIR) + if test -h $(@D)/barebox-flash-image ; then \ + cp -L $(@D)/barebox-flash-image $(BINARIES_DIR)/barebox.bin ; \ + else \ + cp $(@D)/barebox.bin $(BINARIES_DIR);\ + fi endef ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y) --1.7.9.5
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Thanks
--
Fabio Porcedda
PATCH 1/1 barebox: use the symlink to copy the barebox binary to the images directory
Quoted 30 lines · Fabio Porcedda
Quoted 28 lines · Gregory Hermant
Barebox creates a symlink to the binary. This symlink points to the barebox.bin or to the compressed zbarebox.bin binary.
Signed-off-by Gregory Hermant <[email protected]>--- boot/barebox/barebox.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)boot/barebox/barebox.mk +5
-2@@ -72,7 +72,11 @@ define BAREBOX_BUILD_CMDS endef define BAREBOX_INSTALL_IMAGES_CMDS - cp $(@D)/barebox.bin $(BINARIES_DIR) + if test -h $(@D)/barebox-flash-image ; then \ + cp -L $(@D)/barebox-flash-image $(BINARIES_DIR)/barebox.bin ; \ + else \ + cp $(@D)/barebox.bin $(BINARIES_DIR);\ + fi endef ifeq ($(BR2_TARGET_BAREBOX_BAREBOXENV),y) --1.7.9.5
Quoted 6 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildrootTested-by Fabio Porcedda <[email protected]>
Thanks
--
Fabio Porcedda
PATCH 1/1 barebox: use the symlink to copy the barebox binary to the images directory
In reply to Gregory HermantQuoted 4 lines · Gregory Hermant
Barebox creates a symlink to the binary. This symlink points to the barebox.bin or to the compressed zbarebox.bin binary.
Signed-off-by Gregory Hermant<[email protected]>
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286540 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
PATCH 1/1 barebox: use the symlink to copy the barebox binary to the images directory
In reply to Gregory HermantQuoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gregory" == Gregory Hermant <[email protected]> writes:
Gregory> Barebox creates a symlink to the binary. This symlink points to Gregory> the barebox.bin or to the compressed zbarebox.bin binary.
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard