[Buildroot] [git commit branch/2023.02.x] package/qemu: qemu systems emulation needs fdt when building for all targets
Peter Korsgaard
peter at korsgaard.com
Fri Jun 16 08:37:52 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=0d8a19a2ae475ac23ec5f66b217c5349351e49ac
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.02.x
defconfig fragment to reproduce the issue:
BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET=y
BR2_PACKAGE_QEMU=y
BR2_PACKAGE_QEMU_SYSTEM=y
ERROR: Problem encountered: fdt not available but required by targets
aarch64-softmmu, arm-softmmu, i386-softmmu, loongarch64-softmmu,
microblaze-softmmu, microblazeel-softmmu, mips64el-softmmu,
nios2-softmmu, or1k-softmmu, ppc-softmmu, ppc64-softmmu,
riscv32-softmmu, riscv64-softmmu, rx-softmmu, x86_64-softmmu
Commit [1] select BR2_PACKAGE_QEMU_FDT for each individual emulator targets
but forgot to select is when BR2_PACKAGE_QEMU_CHOOSE_TARGETS is not set
(building for all targets).
Fixes:
http://autobuild.buildroot.org/results/e44/e444a02b899d325a9d99daed96b8cb96108383e7
[1] 44be514b21fd94096702b80c62d46c31d72f15a5
Signed-off-by: Romain Naour <romain.naour at smile.fr>
Cc: Carlos Santos <unixmania at gmail.com>
Cc: Yann E. MORIN <yann.morin.1998 at free.fr>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
(cherry picked from commit 59df3875b5e965872007ac22245aa6e048576644)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/qemu/Config.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 31cbf09644..de6475e719 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -53,6 +53,7 @@ config BR2_PACKAGE_QEMU_SYSTEM
bool "Enable systems emulation"
depends on !BR2_STATIC_LIBS # dtc
select BR2_PACKAGE_PIXMAN
+ select BR2_PACKAGE_QEMU_FDT if !BR2_PACKAGE_QEMU_CHOOSE_TARGETS
help
Say 'y' to build system emulators/virtualisers.
More information about the buildroot
mailing list