diff --git a/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/99-bufferclass.rules b/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/99-bufferclass.rules new file mode 100644 index 00000000..780423b9 --- /dev/null +++ b/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/99-bufferclass.rules @@ -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" + diff --git a/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/cputype b/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/cputype new file mode 100755 index 00000000..4448c300 --- /dev/null +++ b/recipes-graphics/libgles/libgles-omap3-x11-4.09.00.01/cputype @@ -0,0 +1,17 @@ +#!/bin/sh + +machine_id() { # return the machine ID + awk 'BEGIN { FS=": " } /Hardware/ \ + { gsub(" ", "_", $2); print tolower($2) } '