qemu: add missing indirect dependency on dynamic library for fdt
authorArnout Vandecappelle <arnout@mind.be>
Wed, 4 Feb 2015 00:34:04 +0000 (01:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 7 Feb 2015 20:04:17 +0000 (21:04 +0100)
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/qemu/Config.in

index 58825719c2578f5ded842ea293b55716a6433bc7..65421c0b9fd827717d9defe2d710b6cc4e03fefe 100644 (file)
@@ -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