[oe-commits] Koen Kooi : libgles-omap3: fix RRECOMMENDS and make binlocation more flexible
GIT User account
git at amethyst.openembedded.net
Wed Jan 7 18:23:49 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: ca084dba42b886690cf227c4ccf2326432fe6c93
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=ca084dba42b886690cf227c4ccf2326432fe6c93
Author: Koen Kooi <koen at openembedded.org>
Date: Wed Jan 7 19:20:23 2009 +0100
libgles-omap3: fix RRECOMMENDS and make binlocation more flexible
---
packages/powervr-drivers/libgles-omap3.inc | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/packages/powervr-drivers/libgles-omap3.inc b/packages/powervr-drivers/libgles-omap3.inc
index 612d311..9c05c31 100644
--- a/packages/powervr-drivers/libgles-omap3.inc
+++ b/packages/powervr-drivers/libgles-omap3.inc
@@ -7,6 +7,7 @@ SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \
"
S = "${WORKDIR}/OMAP35x_Graphics_SDK_${SGXPV}"
+BINLOCATION ?= "${S}/gfx_rel"
PACKAGES += " xserver-kdrive-powervrsgx ${PN}-tests"
@@ -17,10 +18,7 @@ FILES_${PN}-tests = "${bindir}/*"
PACKAGE_ARCH = "${MACHINE_ARCH}"
RRECOMMENDS_${PN} = "${PN}-tests \
- kernel-module-pvr2d \
- kernel-module-pvrsrvkm \
- kernel-module-omaplfb \
- "
+ omap3-sgx-modules"
inherit update-rc.d
@@ -43,18 +41,18 @@ do_compile () {
do_install () {
install -d ${D}${libdir}
- cp -pR ${S}/gfx_rel/*.so* ${D}${libdir}
+ cp -pR ${BINLOCATION}/*.so* ${D}${libdir}
install -d ${D}${bindir}/
- cp -pP ${S}/gfx_rel/*_test ${D}${bindir}/
- cp -pP ${S}/gfx_rel/gl2info ${D}${bindir}/
- cp -pP ${S}/gfx_rel/gles1test1 ${D}${bindir}/
- cp -pP ${S}/gfx_rel/gles1_texture_stream ${D}${bindir}/
- cp -pP ${S}/gfx_rel/gles2test1 ${D}${bindir}/
- cp -pP ${S}/gfx_rel/pvrsrvinit ${D}${bindir}/
- cp -pP ${S}/gfx_rel/xgles1test1 ${D}${bindir}/
+ cp -pP ${BINLOCATION}/*_test ${D}${bindir}/
+ cp -pP ${BINLOCATION}/gl2info ${D}${bindir}/
+ cp -pP ${BINLOCATION}/gles1test1 ${D}${bindir}/
+ cp -pP ${BINLOCATION}/gles1_texture_stream ${D}${bindir}/
+ cp -pP ${BINLOCATION}/gles2test1 ${D}${bindir}/
+ cp -pP ${BINLOCATION}/pvrsrvinit ${D}${bindir}/
+ cp -pP ${BINLOCATION}/xgles1test1 ${D}${bindir}/
- cp -pP ${S}/gfx_rel/freedesktop/usr/X11R6_SGX/bin/Xsgx ${D}${bindir}/
+ cp -pP ${BINLOCATION}/freedesktop/usr/X11R6_SGX/bin/Xsgx ${D}${bindir}/
install -d ${D}${includedir}
cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${D}${includedir}/
@@ -65,8 +63,8 @@ do_install () {
do_stage () {
install -d ${STAGING_LIBDIR}/
- cp -pP ${S}/gfx_rel/*.so* ${STAGING_LIBDIR}
- cp -pP ${S}/gfx_rel/*.a ${STAGING_LIBDIR}
+ cp -pP ${BINLOCATION}*.so* ${STAGING_LIBDIR}
+ cp -pP ${BINLOCATION}*.a ${STAGING_LIBDIR}
install -d ${STAGING_INCDIR}
cp -pPR ${S}/GFX_Linux_SDK/OGLES2/SDKPackage/Builds/OGLES2/Include/* ${STAGING_INCDIR}/
More information about the Openembedded-commits
mailing list