* [Buildroot] [PATCH] arch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies
@ 2022-07-26 14:47 Romain Naour
2022-07-26 15:12 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Romain Naour @ 2022-07-26 14:47 UTC (permalink / raw)
To: buildroot; +Cc: Romain Naour
The commit [1] removed the Config.in.host file and moved
the arm, sh, sparc, xtensa and riscv-64 architectures dependencies.
But this list doesn't contains all elf2flt supported architecture
and break the host-gcc-initial build for m68k.
Since BR2_BINFMT_FLAT is only available on no MMU case, we can
rely on BR2_USE_MMU option and remove the architecture list.
Note: SH without MMU support has been removed by [2], sparc requires
an MMU since at least [3].
[1] 9db5eb258cf492567bac33a33cb606f14045639d
[2] 04ea3d38dd76f4e96f4961143d674aff59b13d3f
[3] 29563047e074a7c0b73c9e6b629d08bac1e07cb5
Signed-off-by: Romain Naour <romain.naour@smile.fr>
---
arch/Config.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/Config.in b/arch/Config.in
index 442d6b0075..9135df9def 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -388,7 +388,6 @@ config BR2_BINFMT_ELF
config BR2_BINFMT_FLAT
bool "FLAT"
- depends on BR2_arm || BR2_sh || BR2_sparc || BR2_xtensa || BR2_RISCV_64
depends on !BR2_USE_MMU
help
FLAT binary is a relatively simple and lightweight executable
--
2.34.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] arch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies
2022-07-26 14:47 [Buildroot] [PATCH] arch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies Romain Naour
@ 2022-07-26 15:12 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-07-26 15:12 UTC (permalink / raw)
To: Romain Naour; +Cc: buildroot
On Tue, 26 Jul 2022 16:47:37 +0200
Romain Naour <romain.naour@smile.fr> wrote:
> The commit [1] removed the Config.in.host file and moved
> the arm, sh, sparc, xtensa and riscv-64 architectures dependencies.
> But this list doesn't contains all elf2flt supported architecture
> and break the host-gcc-initial build for m68k.
>
> Since BR2_BINFMT_FLAT is only available on no MMU case, we can
> rely on BR2_USE_MMU option and remove the architecture list.
>
> Note: SH without MMU support has been removed by [2], sparc requires
> an MMU since at least [3].
>
> [1] 9db5eb258cf492567bac33a33cb606f14045639d
> [2] 04ea3d38dd76f4e96f4961143d674aff59b13d3f
> [3] 29563047e074a7c0b73c9e6b629d08bac1e07cb5
>
> Signed-off-by: Romain Naour <romain.naour@smile.fr>
> ---
> arch/Config.in | 1 -
> 1 file changed, 1 deletion(-)
Applied to master after adding a reference to the autobuilder failure
that is fixed by this commit. 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] 2+ messages in thread
end of thread, other threads:[~2022-07-26 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-26 14:47 [Buildroot] [PATCH] arch/Config.in: BR2_BINFMT_FLAT remove architecture dependencies Romain Naour
2022-07-26 15:12 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox