]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-video-imxfb-vivante: add dependency on X11
authorVladimir Zapolskiy <vladimir_zapolskiy@mentor.com>
Tue, 18 Dec 2012 11:49:37 +0000 (13:49 +0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 18 Dec 2012 11:56:51 +0000 (09:56 -0200)
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@mentor.com>
meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb

index e3191992aac87456fa445f992c6ec851bd7b16e6..2b0d0a02325303e998f0163202f5cfe7dbe12235 100644 (file)
@@ -3,7 +3,9 @@
 
 require recipes-graphics/xorg-driver/xorg-driver-video.inc
 
-DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q"
+PR = "${INC_PR}.1"
+
+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 +16,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}"