浏览代码

qemu: add missing indirect dependency on dynamic library for fdt

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Arnout Vandecappelle 10 年之前
父节点
当前提交
9b34853ea5
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      package/qemu/Config.in

+ 8 - 0
package/qemu/Config.in

@@ -54,10 +54,14 @@ comment "... or you can select emulator families to enable, below:"
 
 
 config BR2_PACKAGE_QEMU_SYSTEM
 config BR2_PACKAGE_QEMU_SYSTEM
 	bool "Enable all systems emulation"
 	bool "Enable all systems emulation"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_QEMU_FDT
 	select BR2_PACKAGE_QEMU_FDT
 	help
 	help
 	  Say 'y' to build all system emulators/virtualisers that QEMU supports.
 	  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
 config BR2_PACKAGE_QEMU_LINUX_USER
 	bool "Enable all Linux user-land emulation"
 	bool "Enable all Linux user-land emulation"
 	help
 	help
@@ -86,11 +90,15 @@ comment "Misc. features"
 
 
 config BR2_PACKAGE_QEMU_FDT
 config BR2_PACKAGE_QEMU_FDT
 	bool "Enable FDT"
 	bool "Enable FDT"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_DTC
 	select BR2_PACKAGE_DTC
 	help
 	help
 	  Say 'y' here to have QEMU capable of constructing Device Trees,
 	  Say 'y' here to have QEMU capable of constructing Device Trees,
 	  and passing them to the VMs.
 	  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_HAS_EMULS
 
 
 endif # BR2_PACKAGE_QEMU
 endif # BR2_PACKAGE_QEMU