[Buildroot] [PATCH v2 2/3] libz160: fix dependencies

Jérôme Pouiller jezz at sysmic.org
Sat Nov 29 09:12:39 UTC 2014


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

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 package/freescale-imx/libz160/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/freescale-imx/libz160/Config.in b/package/freescale-imx/libz160/Config.in
index f956cce..f4abcc5 100644
--- a/package/freescale-imx/libz160/Config.in
+++ b/package/freescale-imx/libz160/Config.in
@@ -1,5 +1,11 @@
 config BR2_PACKAGE_LIBZ160
 	bool "libz160"
+	depends on BR2_ARM_EABI
+	depends on BR2_TOOLCHAIN_USES_GLIBC
 	help
 	  An API for user space programs to perform 2D accelerated graphics
 	  operations on AMD GPU (included for examples in iMX5x chipsets)
+
+comment "libz160 needs an EABI toolchain w/ (e)glibc"
+	depends on BR2_arm
+	depends on (!BR2_ARM_EABI || !BR2_TOOLCHAIN_USES_GLIBC)
-- 
1.9.1



More information about the buildroot mailing list