Pārlūkot izejas kodu

libz160: fix dependencies

libz160 is provided as binary. We need EABI toolchain with glibc to use
it.

[Thomas: adjust dependency comment according to Yann suggestions.]

Signed-off-by: Jérôme Pouiller <jezz@sysmic.org>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Jérôme Pouiller 10 gadi atpakaļ
vecāks
revīzija
0b9e234de7
1 mainītis faili ar 5 papildinājumiem un 0 dzēšanām
  1. 5 0
      package/freescale-imx/libz160/Config.in

+ 5 - 0
package/freescale-imx/libz160/Config.in

@@ -1,5 +1,10 @@
 config BR2_PACKAGE_LIBZ160
 config BR2_PACKAGE_LIBZ160
 	bool "libz160"
 	bool "libz160"
+	depends on BR2_ARM_EABI
+	depends on BR2_TOOLCHAIN_USES_GLIBC
 	help
 	help
 	  An API for user space programs to perform 2D accelerated graphics
 	  An API for user space programs to perform 2D accelerated graphics
 	  operations on AMD GPU (included for examples in iMX5x chipsets)
 	  operations on AMD GPU (included for examples in iMX5x chipsets)
+
+comment "libz160 needs an EABI toolchain w/ (e)glibc"
+	depends on !BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC