diff options
Diffstat (limited to 'recipes/powervr-drivers/libgles-omap3.inc')
-rw-r--r-- | recipes/powervr-drivers/libgles-omap3.inc | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/recipes/powervr-drivers/libgles-omap3.inc b/recipes/powervr-drivers/libgles-omap3.inc index e1a28bc855..d18348683b 100644 --- a/recipes/powervr-drivers/libgles-omap3.inc +++ b/recipes/powervr-drivers/libgles-omap3.inc @@ -1,9 +1,9 @@ DESCRIPTION = "libGLES for the omap3" LICENSE = "proprietary-binary" -PR = "r3" +PR = "r6" -COMPATIBLE_MACHINE = "(dm3730-am3715-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)" +COMPATIBLE_MACHINE = "(dm37x-evm|am37x-evm|am3517-evm|beagleboard|cm-t35|igep0020|omap3-pandora|omap3-touchbook|omap3evm|omapzoom|omapzoom2|overo|palmpre)" DEPENDS = "virtual/libx11 libxau libxdmcp" @@ -14,15 +14,17 @@ PROVIDES += "virtual/egl" # # 1. if you don't already have a ti account get one here. it's free: # http://www.ti.com/hdr_my_ti -# 2. fetch the gl-es bin from here: -# https://www-a.ti.com/downloads/sds_support/targetcontent/dvsdk/oslinux_dvsdk/v3_00_3530/OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin -# (replace version in .bin file as appropriate) -# 3. put the OMAP35x_*.bin file in libgles-omap3/ -# mv OMAP35x_Graphics_SDK_setuplinux_3_00_00_06.bin ./libgles-omap3/ +# 2. fetch the gl-es bin (full OMAP Graphics SDK) from here: +# http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/gfxsdk/latest/index_FDS.html +# 3. put the OMAP35x_*.bin file in $DL_DIR, i.e. downloads/ +# mv OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin ./downloads/ +# 4. make the checksum file in ./downloads/ directory: +# cd ./downloads/ +# md5sum OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin > OMAP35x_Graphics_SDK_setuplinux_3_01_00_06.bin.md5 # # voila! -SRC_URI = "file://OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ +SRC_URI = "http://install.source.dir.local/OMAP35x_Graphics_SDK_setuplinux_${SGXPV}.bin \ file://cputype \ file://rc.pvr \ file://sample.desktop \ @@ -59,7 +61,6 @@ do_configure() { # Due to recursive make PLAT_* isn't always passed down correctly, so use sed to fix those for mak in $(find ${S} -name "*.mak") ; do sed -i -e s:arm-none-linux-gnueabi-:${TARGET_PREFIX}:g $mak - sed -i -e 's:-lX11 -lXau:-lX11 -lXau -lXdmcp:g' $mak done # clear out old stuff @@ -67,7 +68,8 @@ do_configure() { } # Force in GNU_HASH and paths to libs -TARGET_CC_ARCH += " ${TARGET_LINK_HASH_STYLE} -Wl,-rpath-link,${BINLOCATION} -L${BINLOCATION}" +TARGET_CC_ARCH += " ${TARGET_LINK_HASH_STYLE} -Wl,-rpath-link,${BINLOCATION} -L${BINLOCATION} \ +-L${STAGING_DIR_TARGET}${libdir} -Wl,-rpath-link,${STAGING_DIR_TARGET}${libdir}" PARALLEL_MAKE = "" do_compile() { @@ -225,6 +227,8 @@ FILES_${PN}-frontwsegl = "${libdir}/libpvrPVR2D_FRONTWSEGL.so.* ${libdir}/*/libp FILES_${PN}-linuxfbwsegl = "${libdir}/libpvrPVR2D_LINUXFBWSEGL.so.* ${libdir}/*/libpvrPVR2D_LINUXFBWSEGL.so.*" FILES_${PN}-x11wsegl = "${libdir}/libpvrPVR2D_X11WSEGL.so* ${libdir}/*/libpvrPVR2D_X11WSEGL.so*" +CONFFILES_${PN} = "${sysconfdir}/powervr.ini" + FILES_${PN} = "${sysconfdir} ${libdir}/lib*.so.* ${libdir}/ES*/* ${bindir}/pvrsrvinit ${bindir}/cputype ${bindir}/*/*" FILES_xserver-kdrive-powervrsgx = "${bindir}/Xsgx" FILES_${PN}-tests = "${bindir}/*" @@ -236,9 +240,11 @@ FILES_${PN}-dbg = "${libdir}/.debug/* ${bindir}/.debug/* \ FILES_${PN}-rawdemos = "${bindir}/SGX/demos/Raw/*" FILES_${PN}-x11demos = "${bindir}/SGX/demos/X11/* ${prefix}/share/applications " +RRECOMMENDS_${PN}-x11demos = "${PN}-x11wsegl" FILES_${PN}-rawtrainingcourses = "${bindir}/SGX/trainingcourses/Raw/*" FILES_${PN}-x11trainingcourses = "${bindir}/SGX/trainingcourses/X11/*" +RRECOMMENDS_${PN}-x11trainingcourses = "${PN}-x11wsegl" # The libs need the kernel-modules RRECOMMENDS_${PN} = "omap3-sgx-modules" |