diff options
| author | Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> | 2012-12-18 13:49:37 +0200 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-18 09:56:51 -0200 |
| commit | 2bfd3c0da86589fdb57e33c591220082e4ae6a98 (patch) | |
| tree | 6e631f7645164bc2f485819eb0c97733d0ab290c | |
| parent | ccf2f745a6588f525821292d04bc93e7740408ae (diff) | |
| download | meta-freescale-2bfd3c0da86589fdb57e33c591220082e4ae6a98.tar.gz | |
xf86-video-imxfb-vivante: add dependency on X11
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>
| -rw-r--r-- | meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb index e3191992a..2b0d0a023 100644 --- a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb | |||
| @@ -3,7 +3,9 @@ | |||
| 3 | 3 | ||
| 4 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | 4 | require recipes-graphics/xorg-driver/xorg-driver-video.inc |
| 5 | 5 | ||
| 6 | DEPENDS += "virtual/libgal-x11 gpu-viv-bin-mx6q" | 6 | PR = "${INC_PR}.1" |
| 7 | |||
| 8 | DEPENDS += "virtual/libx11 virtual/libgal-x11 gpu-viv-bin-mx6q" | ||
| 7 | 9 | ||
| 8 | LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a" | 10 | LIC_FILES_CHKSUM = "file://src/vivante_fbdev/vivante.h;endline=19;md5=93a322f91ec495569dcbcfbb2a95454a" |
| 9 | 11 | ||
| @@ -14,7 +16,7 @@ SRC_URI[sha256sum] = "5b3be4b426d2d2803554df9e4d8919d1f9d17659c3153c71c6529f43c3 | |||
| 14 | 16 | ||
| 15 | EXTRA_OECONF_armv7a = " --enable-neon --disable-static" | 17 | EXTRA_OECONF_armv7a = " --enable-neon --disable-static" |
| 16 | CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" | 18 | CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_INCDIR}/drm" |
| 17 | LDFLAGS += "-lm -ldl -lGAL-x11" | 19 | LDFLAGS += "-lm -ldl -lX11 -lGAL-x11" |
| 18 | 20 | ||
| 19 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}" | 21 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}" |
| 20 | 22 | ||
