[meta-freescale] [PATCH] xf86-video-imxfb-vivante: add dependency on X11

Vladimir Zapolskiy vladimir_zapolskiy at mentor.com
Mon Dec 17 15:37:30 PST 2012


Prior to xf86-video-imxfs-vivante there should be built libX11.

This change fixes an issue met on configuration stage:

  | configure:3303: checking whether the C compiler works
  | configure:3325: arm-mentor-linux-gnueabi-gcc  -march=armv7-a -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a9 -mno-unaligned-access [snip] -lm -ldl -lGAL-x11 conftest.c  >&5
  | /opt/projects/mentor/thales-mel6.0/build/tmp/sysroots/imx6qsabrelite/usr/lib/libGAL-x11.so: undefined reference to `XWidthOfScreen'
  [snip]
  | collect2: ld returned 1 exit status

Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy at mentor.com>
---
 recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
index e319199..26cae88 100644
--- a/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
+++ b/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb
@@ -3,7 +3,7 @@
 
 require recipes-graphics/xorg-driver/xorg-driver-video.inc
 
-DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q"
+DEPENDS += "virtual/libx11 virtual/libgal-x11 gpu-viv-bin-mx6q"
 
 LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a"
 
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "5b3be4b426d2d2803554df9e4d8919d1f9d17659c3153c71c6529f43c3
 
 EXTRA_OECONF_armv7a = " --enable-neon --disable-static"
 CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm"
-LDFLAGS += "-lm -ldl -lGAL-x11"
+LDFLAGS += "-lm -ldl -lX11 -lGAL-x11"
 
 S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}"
 
-- 
1.7.10.4




More information about the meta-freescale mailing list