Explorar el Código

package/cukinia: fix dependency on gawk

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>
Fabrice Fontaine hace 4 años
padre
commit
14d76a9bb2
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      package/cukinia/Config.in

+ 4 - 1
package/cukinia/Config.in

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