[Buildroot] [PATCH 06/21] qemu: add missing indirect dependency on dynamic library for fdt

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Wed Feb 4 00:34:04 UTC 2015


Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 package/qemu/Config.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 5882571..65421c0 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -54,10 +54,14 @@ comment "... or you can select emulator families to enable, below:"
 
 config BR2_PACKAGE_QEMU_SYSTEM
 	bool "Enable all systems emulation"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_QEMU_FDT
 	help
 	  Say 'y' to build all system emulators/virtualisers that QEMU supports.
 
+comment "systems emulation needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_QEMU_LINUX_USER
 	bool "Enable all Linux user-land emulation"
 	help
@@ -86,11 +90,15 @@ comment "Misc. features"
 
 config BR2_PACKAGE_QEMU_FDT
 	bool "Enable FDT"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_DTC
 	help
 	  Say 'y' here to have QEMU capable of constructing Device Trees,
 	  and passing them to the VMs.
 
+comment "FDT support needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 endif # BR2_PACKAGE_QEMU_HAS_EMULS
 
 endif # BR2_PACKAGE_QEMU
-- 
2.1.4



More information about the buildroot mailing list