gpu-viv-bin-mx6q: select libXdamage and libXext when xorg enabled
authorFatih Aşıcı <fatih.asici@gmail.com>
Wed, 18 Sep 2013 12:27:51 +0000 (15:27 +0300)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 18 Sep 2013 22:22:16 +0000 (00:22 +0200)
Signed-off-by: Fatih Aşıcı <fatih.asici@gmail.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/freescale-imx/gpu-viv-bin-mx6q/Config.in
package/freescale-imx/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.mk

index e80eae4348f41a9aac614a919d66d3b39d985d4b..a3c205761e5ea7dbdb409d1e2c2f5b0a66c85369 100644 (file)
@@ -5,6 +5,8 @@ config BR2_PACKAGE_GPU_VIV_BIN_MX6Q
        bool "gpu-viv-bin-mx6q"
        select BR2_PACKAGE_HAS_OPENGL_EGL
        select BR2_PACKAGE_HAS_OPENGL_ES
+       select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
+       select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
        depends on BR2_arm # Only relevant for i.MX6
         # Library binaries are linked against libc.so.6
        depends on BR2_TOOLCHAIN_USES_GLIBC
index 1b9684a4ae6f92a0ab30c22e71b411c139f77f87..c48d1080dc5017aca0c9c49a45e9b571b3adfe2d 100644 (file)
@@ -21,6 +21,7 @@ GPU_VIV_BIN_MX6Q_REDISTRIBUTE = NO
 
 # DirectFB is not supported (wrong version)
 ifeq ($(BR2_PACKAGE_XORG7),y)
+GPU_VIV_BIN_MX6Q_DEPENDENCIES = xlib_libXdamage xlib_libXext
 GPU_VIV_BIN_MX6Q_LIB_TARGET = x11
 else
 GPU_VIV_BIN_MX6Q_LIB_TARGET = fb