Denys Dmytriyenko : libgles-omap3-x11: add missing X11 version of the recipe, after it got split
Module: meta-ti Branch: master Commit: 139669f04a8bc594ea7782e2f23206792b657d15 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=139669f04a8bc594ea7782e2f23206792b657d15
Author: Denys Dmytriyenko <[email protected]> Date: Fri Jun 21 14:32:12 2013 -0400
libgles-omap3-x11: add missing X11 version of the recipe, after it got split
Signed-off-by Denys Dmytriyenko <[email protected]>
---
.../99-bufferclass.rules | 7 ++ .../libgles/libgles-omap3-x11-4.09.00.01/cputype | 17 +++++ .../libgles-omap3-x11-4.09.00.01/sample.desktop | 8 ++ .../libgles/libgles-omap3-x11_4.09.00.01.bb | 75 ++++++++++++++++++++ 4 files changed, 107 insertions(+), 0 deletions(-)
recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/99-bufferclass.rules new file +7 -0
@@ -0,0 +1,7 @@ +# Give everyone access to bufferclass nodes and make a compatibility symlink for the first one +SUBSYSTEM=="bccat", MODE="0666" +KERNEL=="bccat0", SYMLINK+="bc_cat", MODE="0666" + +# Give everyone access to v4l nodes +SUBSYSTEM=="video4linux", MODE="0666" +
recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/cputype new file +17 -0
@@ -0,0 +1,17 @@ +#!/bin/sh + +machine_id() { # return the machine ID + awk 'BEGIN { FS=": " } /Hardware/ \ + { gsub(" ", "_", $2); print tolower($2) } ' </proc/cpuinfo +} + +if [ "$(machine_id)" = "ti8168evm" ] ; then + echo TI816x +elif [ "$(machine_id)" = "am335xevm" ] ; then + echo TI33XX +else + devmem2 0x4800244c | \ + grep 'Read at address' | \ + sed -e 's/.*): //' | \ + sed -e 's/0x00005C00/OMAP3503/' -e 's/0x00001C00/OMAP3515/' -e 's/0x00004C00/OMAP3525/' -e 's/0x00000C00/OMAP3530/' -e 's/0x00005E00/OMAP3503/' -e 's/0x00001E00/OMAP3515/' -e 's/0x00004E00/OMAP3525/' -e 's/0x00000E00/OMAP3530/' -e 's/0x00000CC0/OMAP3530/' +fi
recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/sample.desktop new file +8 -0
@@ -0,0 +1,8 @@ +[Desktop Entry] +Name=NAME Demo +Comment=OGLES Demo +Exec=EXEC +Icon=star +Type=Application +Categories=Graphics; +
recipes-graphics/libgles/libgles-omap3-x11_4.09.00.01.bb new file +75 -0
75 lines not on this page · raw message