* [PATCH] systemd-boot: allow building for Arm targets
@ 2020-12-10 16:32 Ross Burton
2020-12-14 4:26 ` [OE-core] " Anuj Mittal
2020-12-14 13:36 ` Richard Purdie
0 siblings, 2 replies; 6+ messages in thread
From: Ross Burton @ 2020-12-10 16:32 UTC (permalink / raw)
To: openembedded-core
systemd-boot work on 32-bit and 64-bit Arm targets (assuming the firmware
does EFI, obviously), so allow it to be built.
Remove the SYSTEMD_BOOT_EFI_ARCH assignments, as they're never used.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
meta/recipes-core/systemd/systemd-boot_246.6.bb | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/meta/recipes-core/systemd/systemd-boot_246.6.bb b/meta/recipes-core/systemd/systemd-boot_246.6.bb
index f92c639810..453351d1b1 100644
--- a/meta/recipes-core/systemd/systemd-boot_246.6.bb
+++ b/meta/recipes-core/systemd/systemd-boot_246.6.bb
@@ -47,15 +47,10 @@ RDEPENDS_${PN} += "virtual/systemd-bootconf"
# Imported from the old gummiboot recipe
TUNE_CCARGS_remove = "-mfpmath=sse"
-COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
+COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*)-linux"
COMPATIBLE_HOST_x86-x32 = "null"
do_compile() {
- SYSTEMD_BOOT_EFI_ARCH="ia32"
- if [ "${TARGET_ARCH}" = "x86_64" ]; then
- SYSTEMD_BOOT_EFI_ARCH="x64"
- fi
-
ninja src/boot/efi/${SYSTEMD_BOOT_IMAGE_PREFIX}${SYSTEMD_BOOT_IMAGE}
}
--
2.25.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH] systemd-boot: allow building for Arm targets
2020-12-10 16:32 [PATCH] systemd-boot: allow building for Arm targets Ross Burton
@ 2020-12-14 4:26 ` Anuj Mittal
2020-12-14 14:11 ` Ross Burton
2020-12-14 13:36 ` Richard Purdie
1 sibling, 1 reply; 6+ messages in thread
From: Anuj Mittal @ 2020-12-14 4:26 UTC (permalink / raw)
To: ross, openembedded-core
On Thu, 2020-12-10 at 16:32 +0000, Ross Burton wrote:
>
> Remove the SYSTEMD_BOOT_EFI_ARCH assignments, as they're never used.
It's used by meta-intel. If it's not fixing any problems, can we keep
it here?
Thanks,
Anuj
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH] systemd-boot: allow building for Arm targets
2020-12-10 16:32 [PATCH] systemd-boot: allow building for Arm targets Ross Burton
2020-12-14 4:26 ` [OE-core] " Anuj Mittal
@ 2020-12-14 13:36 ` Richard Purdie
1 sibling, 0 replies; 6+ messages in thread
From: Richard Purdie @ 2020-12-14 13:36 UTC (permalink / raw)
To: Ross Burton, openembedded-core; +Cc: Alejandro Hernandez
On Thu, 2020-12-10 at 16:32 +0000, Ross Burton wrote:
> systemd-boot work on 32-bit and 64-bit Arm targets (assuming the
> firmware
> does EFI, obviously), so allow it to be built.
>
> Remove the SYSTEMD_BOOT_EFI_ARCH assignments, as they're never used.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> meta/recipes-core/systemd/systemd-boot_246.6.bb | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/meta/recipes-core/systemd/systemd-boot_246.6.bb
> b/meta/recipes-core/systemd/systemd-boot_246.6.bb
> index f92c639810..453351d1b1 100644
> --- a/meta/recipes-core/systemd/systemd-boot_246.6.bb
> +++ b/meta/recipes-core/systemd/systemd-boot_246.6.bb
> @@ -47,15 +47,10 @@ RDEPENDS_${PN} += "virtual/systemd-bootconf"
>
> # Imported from the old gummiboot recipe
> TUNE_CCARGS_remove = "-mfpmath=sse"
> -COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux"
> +COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*)-linux"
> COMPATIBLE_HOST_x86-x32 = "null"
>
> do_compile() {
> - SYSTEMD_BOOT_EFI_ARCH="ia32"
> - if [ "${TARGET_ARCH}" = "x86_64" ]; then
> - SYSTEMD_BOOT_EFI_ARCH="x64"
> - fi
> -
> ninja
> src/boot/efi/${SYSTEMD_BOOT_IMAGE_PREFIX}${SYSTEMD_BOOT_IMAGE}
> }
Breaks meta-intel ?:
https://autobuilder.yoctoproject.org/typhoon/#/builders/100/builds/1012/steps/12/logs/stdio
Cheers,
Richard
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH] systemd-boot: allow building for Arm targets
2020-12-14 4:26 ` [OE-core] " Anuj Mittal
@ 2020-12-14 14:11 ` Ross Burton
2020-12-14 15:20 ` Ross Burton
0 siblings, 1 reply; 6+ messages in thread
From: Ross Burton @ 2020-12-14 14:11 UTC (permalink / raw)
To: Mittal, Anuj; +Cc: openembedded-core
On Mon, 14 Dec 2020 at 04:26, Mittal, Anuj <anuj.mittal@intel.com> wrote:
>
> On Thu, 2020-12-10 at 16:32 +0000, Ross Burton wrote:
> >
> > Remove the SYSTEMD_BOOT_EFI_ARCH assignments, as they're never used.
>
> It's used by meta-intel. If it's not fixing any problems, can we keep
> it here?
Ah, didn't expect to find a do_install_append using it.
Can we just move the contents of that append into core?
Ross
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH] systemd-boot: allow building for Arm targets
2020-12-14 14:11 ` Ross Burton
@ 2020-12-14 15:20 ` Ross Burton
2020-12-15 2:02 ` Anuj Mittal
0 siblings, 1 reply; 6+ messages in thread
From: Ross Burton @ 2020-12-14 15:20 UTC (permalink / raw)
To: Mittal, Anuj; +Cc: openembedded-core
On Mon, 14 Dec 2020 at 14:11, Ross Burton <ross@burtonini.com> wrote:
> Can we just move the contents of that append into core?
FWIW, got a patch doing just that locally.
Ross
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [OE-core] [PATCH] systemd-boot: allow building for Arm targets
2020-12-14 15:20 ` Ross Burton
@ 2020-12-15 2:02 ` Anuj Mittal
0 siblings, 0 replies; 6+ messages in thread
From: Anuj Mittal @ 2020-12-15 2:02 UTC (permalink / raw)
To: ross; +Cc: openembedded-core
On Mon, 2020-12-14 at 15:20 +0000, Ross Burton wrote:
> On Mon, 14 Dec 2020 at 14:11, Ross Burton <ross@burtonini.com> wrote:
> > Can we just move the contents of that append into core?
>
> FWIW, got a patch doing just that locally.
>
Thanks a lot, Ross.
Thanks,
Anuj
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-12-15 2:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-10 16:32 [PATCH] systemd-boot: allow building for Arm targets Ross Burton
2020-12-14 4:26 ` [OE-core] " Anuj Mittal
2020-12-14 14:11 ` Ross Burton
2020-12-14 15:20 ` Ross Burton
2020-12-15 2:02 ` Anuj Mittal
2020-12-14 13:36 ` Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.