Module: meta-ti
Branch: dylan
Commit: 87fe2c465320940ba8bea67be35d6cb0632338a9
URL:    
http://arago-project.org/git/meta-ti.git?a=commit;h=87fe2c465320940ba8bea67be35d6cb0632338a9

Author: Denys Dmytriyenko <[email protected]>
Date:   Sat Aug 31 22:00:57 2013 -0400

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 <[email protected]>
Acked-by: Chase Maupin <[email protected]>

---

 .../omap3-sgx-modules-x11_4.09.00.01.bb            |    8 ++++----
 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 d439d83..9134e61 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"
 
 inherit module
 
-MACHINE_KERNEL_PR_append = "a"
+MACHINE_KERNEL_PR_append = "b"
 PR = "${MACHINE_KERNEL_PR}"
 
 DEFAULT_PREFERENCE = "-1"
@@ -48,16 +48,16 @@ do_compile() {
        export PLAT_CC="${CC}"
        export PLAT_CPP="${CXX}"
        export PLAR_AR="${AR}"
-       for kernelver in ${WORKDIR}/../../linux-ti-staging/* ; do
+       for kernelver in 
${WORKDIR}/../../${PREFERRED_PROVIDER_virtual/kernel}/* ; do
                cp -f $kernelver/git/drivers/gpu/drm/*.c 
${S}/services4/3rdparty/linux_drm/
        done
        if [ $(echo -e "${KERNEL_VERSION}\n3.3" | sort --version-sort | head 
-1) = "3.3" ] ; then
                cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.3 \
-                       ${S}/services4/3rdparty/linux_drm/Kbuild
+                       ${S}/services4/3rdparty/linux_drm/Kbuild || true
        else 
                if [ $(echo -e "${KERNEL_VERSION}\n3.2" | sort --version-sort | 
head -1) = "3.2" ] ; then
                        cp -f ${S}/services4/3rdparty/linux_drm/Kbuild_3.2 \
-                               ${S}/services4/3rdparty/linux_drm/Kbuild
+                               ${S}/services4/3rdparty/linux_drm/Kbuild || true
                fi
        fi
        oe_runmake BUILD=${PVRBUILD} TI_PLATFORM=${TI_PLATFORM} 
SUPPORT_XORG=${SUPPORT_XORG}

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to