summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/powervr-drivers
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2013-08-31 22:00:57 -0400
committerDenys Dmytriyenko <denys@ti.com>2013-09-03 13:07:36 -0400
commitdc3f0f5c74ca11081a4267c14cbb3ba5b4b0f016 (patch)
tree274fc034332733ae02ee57060aa7fdc714f1143d /recipes-bsp/powervr-drivers
parent338c5373aa201d8849c1892a0f58fe79e791684e (diff)
downloadmeta-ti-dc3f0f5c74ca11081a4267c14cbb3ba5b4b0f016.tar.gz
ompa3-sgx-modules-x11: fix some build failures with latest versions
* Do not hardcode kernel source location and name. * Fix some discrepancies between GFX SDK versions as related to DRM. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Chase Maupin <chase.maupin@ti.com>
Diffstat (limited to 'recipes-bsp/powervr-drivers')
-rw-r--r--recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb b/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
index d439d838..9134e61d 100644
--- a/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
+++ b/recipes-bsp/powervr-drivers/omap3-sgx-modules-x11_4.09.00.01.bb
@@ -11,7 +11,7 @@ BINFILE = "Graphics_SDK_setuplinux_${SGXPV}_minimal_demos.bin"
11 11
12inherit module 12inherit module
13 13
14MACHINE_KERNEL_PR_append = "a" 14MACHINE_KERNEL_PR_append = "b"
15PR = "${MACHINE_KERNEL_PR}" 15PR = "${MACHINE_KERNEL_PR}"
16 16
17DEFAULT_PREFERENCE = "-1" 17DEFAULT_PREFERENCE = "-1"
@@ -48,16 +48,16 @@ do_compile() {
48 export PLAT_CC="${CC}" 48 export PLAT_CC="${CC}"
49 export PLAT_CPP="${CXX}" 49 export PLAT_CPP="${CXX}"
50 export PLAR_AR="${AR}" 50 export PLAR_AR="${AR}"
51 for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do 51 for kernelver in ${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
52 cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/ 52 cp -f $kernelver/git/drivers/gpu/drm/*.c ${S}/services4/3rdparty/linux_drm/
53 done 53 done
54 if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then 54 if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head -1) = "3.3" ] ; then
55 cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \ 55 cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
56 ${S}/services4/3rdparty/linux_drm/Kbuild 56 ${S}/services4/3rdparty/linux_drm/Kbuild || true
57 else 57 else
58 if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then 58 if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | head -1) = "3.2" ] ; then
59 cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \ 59 cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
60 ${S}/services4/3rdparty/linux_drm/Kbuild 60 ${S}/services4/3rdparty/linux_drm/Kbuild || true
61 fi 61 fi
62 fi 62 fi
63 oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG} 63 oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} SUPPORT_XORG=${SUPPORT_XORG}