summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@digia.com>2014-03-05 19:00:24 +0000
committerDenys Dmytriyenko <denys@ti.com>2014-03-25 16:57:15 -0400
commitb7d07640adff0f4dd472fa139292a5fd7d58dca4 (patch)
treee027e74a0b72eb8ebc9b71345134d5694e167467 /recipes-graphics
parentaacecf01794687af7c78cf98a979a3db8b69938a (diff)
downloadmeta-ti-b7d07640adff0f4dd472fa139292a5fd7d58dca4.tar.gz
libgles-omap3: create ESx.0 folders only if they exist
Instead of creating all folders, only create those that exist in the Graphics SDK. This fixes QA issue with unshipped ES9.0 folder which does not exists in 4.09.00.01. Signed-off-by: Samuli Piippo <samuli.piippo@digia.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/libgles/libgles-omap3-no-x.inc14
1 files changed, 2 insertions, 12 deletions
diff --git a/recipes-graphics/libgles/libgles-omap3-no-x.inc b/recipes-graphics/libgles/libgles-omap3-no-x.inc
index 60bcad59..7bb6cfb3 100644
--- a/recipes-graphics/libgles/libgles-omap3-no-x.inc
+++ b/recipes-graphics/libgles/libgles-omap3-no-x.inc
@@ -158,24 +158,14 @@ do_install () {
158 158
159 #Create different folders for ease of installing into different platforms with different display drivers/ SGX core 159 #Create different folders for ease of installing into different platforms with different display drivers/ SGX core
160 160
161 install -d ${D}${libdir}/ES9.0
162 install -d ${D}${libdir}/ES8.0
163 install -d ${D}${libdir}/ES6.0
164 install -d ${D}${libdir}/ES5.0
165 install -d ${D}${libdir}/ES3.0
166
167 install -d ${D}${bindir}/ES9.0
168 install -d ${D}${bindir}/ES8.0
169 install -d ${D}${bindir}/ES6.0
170 install -d ${D}${bindir}/ES5.0
171 install -d ${D}${bindir}/ES3.0
172
173 shared_prog="eglinfo pvr2d_test ${PVR_INIT} services_test sgx_blit_test sgx_clipblit_test sgx_flip_test sgx_init_test sgx_render_flip_test" 161 shared_prog="eglinfo pvr2d_test ${PVR_INIT} services_test sgx_blit_test sgx_clipblit_test sgx_flip_test sgx_init_test sgx_render_flip_test"
174 raw_prog="gles1test1 gles2test1" 162 raw_prog="gles1test1 gles2test1"
175 163
176 for esrev in 3 5 6 8 9 ; do 164 for esrev in 3 5 6 8 9 ; do
177 ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\})) 165 ESLOCATION=$(eval echo $(echo \$\{ES${esrev}LOCATION\}))
178 if [ -e ${ESLOCATION} ] ; then 166 if [ -e ${ESLOCATION} ] ; then
167 install -d ${D}${libdir}/ES${esrev}.0
168 install -d ${D}${bindir}/ES${esrev}.0
179 cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/ 169 cp -pPR ${ESLOCATION}/lib*${IMGPV} ${ESLOCATION}/pvr_drv.so ${ESLOCATION}/*.a ${D}${libdir}/ES${esrev}.0/
180 for esprog in $shared_prog $raw_prog ; do 170 for esprog in $shared_prog $raw_prog ; do
181 install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ 2>/dev/null || true 171 install -m 0755 ${ESLOCATION}/$esprog ${D}${bindir}/ES${esrev}.0/ 2>/dev/null || true