* [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT
@ 2023-02-22 9:54 Fabrice Fontaine
2023-02-22 14:55 ` Thomas Petazzoni via buildroot
2023-03-05 17:23 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2023-02-22 9:54 UTC (permalink / raw)
To: buildroot; +Cc: Alistair Francis, Fabrice Fontaine
Fix the following build failure when OPENSBI_PLAT is empty raised since
commit 9b5b7165deb91bad3cdb1ea0dd8f940eff75f3a9:
/usr/bin/install -m 0644 -D /nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin /nvmedata/autobuild/instance-4/output-1/images/fw_jump.bin
/usr/bin/install: cannot stat '/nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin': No such file or directory
Fixes:
- http://autobuild.buildroot.org/results/8033327f090e4a3d84a7fce1f62b14fdf89dbd89
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
boot/opensbi/opensbi.mk | 2 ++
1 file changed, 2 insertions(+)
diff --git a/boot/opensbi/opensbi.mk b/boot/opensbi/opensbi.mk
index 06ec87b2c3..dd113a0bf8 100644
--- a/boot/opensbi/opensbi.mk
+++ b/boot/opensbi/opensbi.mk
@@ -71,6 +71,7 @@ OPENSBI_INSTALL_IMAGES = YES
OPENSBI_FW_IMAGES += payload
endif
+ifneq ($(OPENSBI_PLAT),)
define OPENSBI_INSTALL_IMAGES_CMDS
$(foreach f,$(OPENSBI_FW_IMAGES),\
$(INSTALL) -m 0644 -D $(@D)/build/platform/$(OPENSBI_PLAT)/firmware/fw_$(f).bin \
@@ -79,6 +80,7 @@ define OPENSBI_INSTALL_IMAGES_CMDS
$(BINARIES_DIR)/fw_$(f).elf
)
endef
+endif
# libsbi.a is not a library meant to be linked in user-space code, but
# with bare metal code, which is why we don't install it in
--
2.39.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT
2023-02-22 9:54 [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT Fabrice Fontaine
@ 2023-02-22 14:55 ` Thomas Petazzoni via buildroot
2023-03-05 17:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-02-22 14:55 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Alistair Francis, buildroot
On Wed, 22 Feb 2023 10:54:34 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> Fix the following build failure when OPENSBI_PLAT is empty raised since
> commit 9b5b7165deb91bad3cdb1ea0dd8f940eff75f3a9:
>
> /usr/bin/install -m 0644 -D /nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin /nvmedata/autobuild/instance-4/output-1/images/fw_jump.bin
> /usr/bin/install: cannot stat '/nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin': No such file or directory
>
> Fixes:
> - http://autobuild.buildroot.org/results/8033327f090e4a3d84a7fce1f62b14fdf89dbd89
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> boot/opensbi/opensbi.mk | 2 ++
> 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT
2023-02-22 9:54 [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT Fabrice Fontaine
2023-02-22 14:55 ` Thomas Petazzoni via buildroot
@ 2023-03-05 17:23 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2023-03-05 17:23 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Alistair Francis, buildroot
>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:
> Fix the following build failure when OPENSBI_PLAT is empty raised since
> commit 9b5b7165deb91bad3cdb1ea0dd8f940eff75f3a9:
> /usr/bin/install -m 0644 -D
> /nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin
> /nvmedata/autobuild/instance-4/output-1/images/fw_jump.bin
> /usr/bin/install: cannot stat
> '/nvmedata/autobuild/instance-4/output-1/build/opensbi-0.9/build/platform//firmware/fw_jump.bin':
> No such file or directory
> Fixes:
> - http://autobuild.buildroot.org/results/8033327f090e4a3d84a7fce1f62b14fdf89dbd89
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Committed to 2022.11.x and 2022.02.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-03-05 17:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 9:54 [Buildroot] [PATCH 1/1] boot/opensbi: fix build with empty OPENSBI_PLAT Fabrice Fontaine
2023-02-22 14:55 ` Thomas Petazzoni via buildroot
2023-03-05 17:23 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox