uboot-tools: add missing !BR2_STATIC_LIBS dependency for FIT signature
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 10 Aug 2016 22:12:05 +0000 (00:12 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 11 Aug 2016 13:04:14 +0000 (15:04 +0200)
BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT selects BR2_PACKAGE_DTC, but forgets
to depends on !BR2_STATIC_LIBS like BR2_PACKAGE_DTC does.

Fixes the following kconfig warning:

  arning: (BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT && BR2_PACKAGE_KVMTOOL && BR2_PACKAGE_UBOOT_TOOLS_MKIMAGE_FIT_SIGNATURE_SUPPORT) selects BR2_PACKAGE_DTC which has unmet direct dependencies (!BR2_STATIC_LIBS)

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/uboot-tools/Config.in

index 88d62256011c28ee09a936e5c1f9d2d6b016f98b..df61fdadd3378b9031b55237dc9329472c8f1b15 100644 (file)
@@ -9,6 +9,7 @@ if BR2_PACKAGE_UBOOT_TOOLS
 
 config BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT
        bool "Flattened Image Tree (FIT) support"
+       depends on !BR2_STATIC_LIBS
        select BR2_PACKAGE_DTC
        select BR2_PACKAGE_DTC_PROGRAMS
        help
@@ -20,6 +21,9 @@ config BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT
          in a single blob. To boot this new uImage structure,
          pass the address of the blob to the "bootm" command.
 
+comment "u-boot tools FIT support needs a toolchain w/ dynamic library"
+       depends on !BR2_STATIC_LIBS
+
 if BR2_PACKAGE_UBOOT_TOOLS_FIT_SUPPORT
 
 config BR2_PACKAGE_UBOOT_TOOLS_FIT_SIGNATURE_SUPPORT