aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ti/ti-linux-driver-examples.inc
diff options
context:
space:
mode:
authorChase Maupin <chase.maupin@ti.com>2010-07-09 09:13:17 -0500
committerKoen Kooi <koen@openembedded.org>2010-09-30 13:20:27 +0200
commitf1069136b98118c5f0f89c6e8521ae7c10db6ff0 (patch)
tree61cfc49e6786ece4cb68332f3b99e05ba371aa0e /recipes/ti/ti-linux-driver-examples.inc
parent964658d5fb5558cba5b7295f872a26be750c425a (diff)
downloadopenembedded-f1069136b98118c5f0f89c6e8521ae7c10db6ff0.tar.gz
ti-linux-driver-examples: add driver examples recipe
* This recipe will build and install the linux driver examples for DaVinci devices on the target. Signed-off-by: Chase Maupin <chase.maupin@ti.com> Signed-off-by: Brijesh Singh <bksingh@ti.com> Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/ti/ti-linux-driver-examples.inc')
-rw-r--r--recipes/ti/ti-linux-driver-examples.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes/ti/ti-linux-driver-examples.inc b/recipes/ti/ti-linux-driver-examples.inc
new file mode 100644
index 0000000000..a5bf9f5f49
--- /dev/null
+++ b/recipes/ti/ti-linux-driver-examples.inc
@@ -0,0 +1,25 @@
+DESCRIPTION = "Linux driver examples/test applications"
+HOMEPAGE = "http://arago-project.org/git/projects/?p=examples-davinci.git;a=summary"
+LICENSE="BSD"
+
+DEPENDS = "virtual/kernel"
+
+require ti-paths.inc
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+ cd ${S}/media_ti
+ make KERNEL_PATH=${STAGING_KERNEL_DIR} clean
+ make KERNEL_PATH=${STAGING_KERNEL_DIR}/include
+}
+do_install () {
+ cd ${S}/media_ti
+ make ${TARGET} EXEC_DIR=${D}/${installdir}/linux-driver-examples install
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} = "${installdir}/linux-driver-examples/*"
+INSANE_SKIP_${PN} = True
+