libgles-omap3.inc: Add tweaks needed for newer version of the Graphics SDK
authorFranklin S. Cooper Jr <fcooper@ti.com>
Wed, 20 Mar 2013 02:17:47 +0000 (21:17 -0500)
committerDenys Dmytriyenko <denys@ti.com>
Tue, 2 Apr 2013 18:23:59 +0000 (14:23 -0400)
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
recipes-graphics/libgles/libgles-omap3.inc

index 66ebcd54030e8dc4e9a813e7a917e5110645a25e..9a90c5618a2317a01a0deafb15469e79412239c3 100644 (file)
@@ -181,10 +181,10 @@ do_install () {
 
        cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${D}${includedir}/
        cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/Include/* ${D}${includedir}/
-       cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/${PLATFORM}/Include/GLES/* ${D}${includedir}/GLES/ || true
-       cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/${PLATFORM}/Include/GLES/* ${D}${includedir}/GLES2/ || true
-       cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${D}${includedir}/ || true
-       cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/V* ${D}${includedir}/ || true
+       cp -pPR ${S}/GFX_Linux_SDK/OGLES/SDKPackage/Builds/OGLES/${PLATFORM}/Include/GLES/* ${D}${includedir}/GLES/ 2>/dev/null || true
+       cp -pPr ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/${PLATFORM}/Include/GLES/* ${D}${includedir}/GLES2/ 2>/dev/null || true
+       cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/v* ${D}${includedir}/ 2>/dev/null || true
+       cp -pPr ${S}/GFX_Linux_SDK/OVG/SDKPackage/Builds/OVG/Include/V* ${D}${includedir}/ 2>/dev/null || true
        cp -pPr ${S}/include/*.h ${D}${includedir} || true
        cp -pPr ${S}/include/wsegl/*.h ${D}${includedir} || true
        
@@ -218,7 +218,7 @@ do_install () {
                if [ -e ${ESLOCATION} ] ; then
                        cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/
                        for esprog in $shared_prog $raw_prog ${@base_contains('DISTRO_FEATURES', 'x11',"$x11_prog","",d)} ; do
-                               install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ || true
+                               install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ 2>/dev/null || true
                        done
                fi
        done
@@ -232,14 +232,14 @@ do_install () {
        if [ ${SUPPORT_XORG} -eq 1 ] ; then
                install -d ${D}${bindir}/SGX/demos/X11/
                install -m 0755 ${S}/demos/x11/* ${D}${bindir}/SGX/demos/X11/
-               install -d ${D}${bindir}/SGX/trainingcourses/X11
-               install -m 0755 ${S}/trainingcourses/x11/* ${D}${bindir}/SGX/trainingcourses/X11/
+               install -d ${D}${bindir}/SGX/trainingcourses/X11  2>/dev/null || true
+               install -m 0755 ${S}/trainingcourses/x11/* ${D}${bindir}/SGX/trainingcourses/X11/ 2>/dev/null || true
        fi
 
        install -d ${D}${bindir}/SGX/demos/Raw/
        install -m 0755 ${S}/demos/raw/* ${D}${bindir}/SGX/demos/Raw/
-       install -d ${D}${bindir}/SGX/trainingcourses/Raw
-       install -m 0755 ${S}/trainingcourses/raw/* ${D}${bindir}/SGX/trainingcourses/Raw/
+       install -d ${D}${bindir}/SGX/trainingcourses/Raw 2>/dev/null || true
+       install -m 0755 ${S}/trainingcourses/raw/* ${D}${bindir}/SGX/trainingcourses/Raw/ 2>/dev/null || true
 
 
        # Delete objects and linker scripts hidden between the headers