libgles-omap3: Remove copying of unused header files
authorPrabindh Sundareson <prabu@ti.com>
Wed, 12 Jun 2013 17:22:38 +0000 (22:52 +0530)
committerDenys Dmytriyenko <denys@ti.com>
Fri, 21 Jun 2013 18:43:24 +0000 (14:43 -0400)
Current recipe copies lot of headers that are unused, including
unsupported files for OpenVG. This patch removes copying of such files.

Signed-off-by: Prabindh Sundareson <prabu at ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
recipes-graphics/libgles/libgles-omap3-no-x.inc

index 9dc7cc8a176711080f320f9e7ece0a38261d172b..094ad813c575e832c2e04d9b8f6182215760fcf4 100644 (file)
@@ -133,12 +133,9 @@ do_install () {
        cp -pPR ${S}/GFX_Linux_KM/include4 ${D}${includedir}/
        cp -pPR ${S}/GFX_Linux_KM/services4 ${D}${includedir}/
 
-       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/ 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}/include/*.h ${D}${includedir} || true
-       cp -pPr ${S}/include/wsegl/*.h ${D}${includedir} || true
+       cp -pPr ${S}/include/pvr2d/*.h ${D}${includedir}
+       cp -pPr ${S}/include/OGLES2/* ${D}${includedir}/
+       cp -pPr ${S}/include/wsegl/*.h ${D}${includedir}/
        
        install -d ${D}${sysconfdir}/init.d/
        cp -pP ${WORKDIR}/rc.pvr ${D}${sysconfdir}/init.d/pvr-init