summaryrefslogtreecommitdiff
path: root/recipes/powervr-drivers/bc-cat-omap3-module
diff options
context:
space:
mode:
authorBrijesh Singh <bksingh@ti.com>2009-10-29 17:41:18 -0500
committerKoen Kooi <koen@openembedded.org>2009-11-02 13:40:09 +0100
commit239ca8ddd9786e9d546183b7902e9ac3a96e4057 (patch)
treef64b47a4bdbfd444bbf6b76388edf317c711cf61 /recipes/powervr-drivers/bc-cat-omap3-module
parenta355c055c83cda1db901337bafdab9d5bed6a635 (diff)
bc-cat-omap 0.1.0: add recipe to build bc-cat module.
* adjust libgles-omap3 staging to stage more headers for thisi * bc-cat module complains about unresolved symbols during modprobe hence using modprobe -f to force the module loading.
Diffstat (limited to 'recipes/powervr-drivers/bc-cat-omap3-module')
-rw-r--r--recipes/powervr-drivers/bc-cat-omap3-module/rc.bccat22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/powervr-drivers/bc-cat-omap3-module/rc.bccat b/recipes/powervr-drivers/bc-cat-omap3-module/rc.bccat
new file mode 100644
index 0000000000..eeb3fdc141
--- /dev/null
+++ b/recipes/powervr-drivers/bc-cat-omap3-module/rc.bccat
@@ -0,0 +1,22 @@
+#!/bin/sh
+#
+# install bc-cat module and create device nodes
+#
+PATH=/sbin:/bin:/usr/sbin:/usr/bin
+
+case "$1" in
+ start) echo -n "install bc-cat kernel module... "
+ modprobe -f bc-cat
+ rm -rf /dev/bc_cat
+ mknod /dev/bc_cat c `awk "\\$2==\"bc_cat\" {print \\$1}" /proc/devices` 0
+ echo "done"
+ ;;
+ stop) echo -n "removing bc-cat kernel module... "
+ rmmod bc-cat
+ echo "done"
+ rm -rf /dev/bc_cat
+ ;;
+ *) echo "$0 <start/stop>"
+ ;;
+esac
+