package/cukinia: fix dependency on gawk
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 8 Oct 2020 17:13:09 +0000 (19:13 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 8 Oct 2020 19:47:28 +0000 (21:47 +0200)
gawk can't be selected when busybox is not available as gawk needs
wchar:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_GAWK
  Depends on [n]: BR2_USE_WCHAR [=n] && BR2_USE_MMU [=y] && BR2_PACKAGE_BUSYBOX_SHOW_OTHERS [=y]
  Selected by [y]:
  - BR2_PACKAGE_CUKINIA [=y] && !BR2_PACKAGE_BUSYBOX [=n]

So replace this "select" by a "depends on", as already done by
BR2_PACKAGE_APPARMOR_UTILS_EXTRA

Fixes:
 - http://autobuild.buildroot.org/results/66dacfe7b0783c7df29052fff20f3e79ecbcf054

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/cukinia/Config.in

index 37373e9a08e451b455931f8e3176871c9c204dcc..20d0820a70cd24dc2076b53f57f845b36cfbf4ef 100644 (file)
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_CUKINIA
        bool "cukinia"
-       select BR2_PACKAGE_GAWK if !BR2_PACKAGE_BUSYBOX
+       depends on BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_GAWK
        help
          Cukinia is designed to help Linux-based embedded firmware
          developers run system-level validation tests on their product.
@@ -13,3 +13,6 @@ config BR2_PACKAGE_CUKINIA
          integration with CI systems such as Jenkins.
 
          https://github.com/savoirfairelinux/cukinia
+
+comment "cukinia needs busybox or gawk"
+       depends on !(BR2_PACKAGE_BUSYBOX || BR2_PACKAGE_GAWK)