diff options
author | Steve Sakoman <steve@sakoman.com> | 2009-09-02 22:34:51 -0700 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2009-09-03 10:33:47 +0200 |
commit | 94c2e1f513e1571e56f3729d1439d71eb4d7148b (patch) | |
tree | 4fdfd677bcf88ea3967fbea9623eba443b8fcec4 /recipes/powervr-drivers/libgles-omap3.inc | |
parent | ae751ce3cd3e186aa0b167de1c5634e1ee98ef7a (diff) | |
download | openembedded-94c2e1f513e1571e56f3729d1439d71eb4d7148b.tar.gz |
libgles-omap3: detect cpu type and don't load modules if no SGX hardware
Diffstat (limited to 'recipes/powervr-drivers/libgles-omap3.inc')
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index d7f655dc1d..c66309e827 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,6 +1,8 @@ DESCRIPTION = "libGLES for the omap3" LICENCE = "proprietary-binary" +RDEPENDS_${PN} += "devmem2" + #HACK! These are binaries, so we can't guarantee that LDFLAGS match :( INSANE_SKIP_${PN} = True INSANE_SKIP_${PN}-tests = True @@ -25,6 +27,7 @@ PROVIDES += "virtual/egl" # voila! SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ + file://cputype \ file://rc.pvr \ file://chameleonman.desktop \ file://evilskull.desktop \ @@ -83,6 +86,8 @@ do_install () { cp -pP ${BINLOCATION}/*.so* ${D}${libdir} install -d ${D}${bindir}/ + install -m 0755 ${WORKDIR}/cputype ${D}${bindir}/ + cp -pP ${BINLOCATION}/*_test ${D}${bindir}/ cp -pP ${BINLOCATION}/gl2info ${D}${bindir}/ cp -pP ${BINLOCATION}/gles1test1 ${D}${bindir}/ |