[oe] [PATCH v3 2/3] canutils: new recipes

Vitus Jensen vjensen at gmx.de
Fri May 21 14:38:05 UTC 2010


Add canutils (PTX flavour) 4.0.4 and 4.0.5 as alternatives
to socketcan-utils-test.  Version 4.x requires libsocketcan
and supports kernel 2.6.30 and above.

Signed-off-by: Vitus Jensen <vjensen at gmx.de>
---
 recipes/socketcan/canutils.inc      |   16 ++++++++++++++++
 recipes/socketcan/canutils_4.0.4.bb |    4 ++++
 recipes/socketcan/canutils_4.0.5.bb |    4 ++++
 3 files changed, 24 insertions(+), 0 deletions(-)
 create mode 100644 recipes/socketcan/canutils.inc
 create mode 100644 recipes/socketcan/canutils_4.0.4.bb
 create mode 100644 recipes/socketcan/canutils_4.0.5.bb

diff --git a/recipes/socketcan/canutils.inc b/recipes/socketcan/canutils.inc
new file mode 100644
index 0000000..596785f
--- /dev/null
+++ b/recipes/socketcan/canutils.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "canutils (PTX flavour)"
+AUTHOR = "Luotao Fu"
+HOMEPAGE = "http://www.pengutronix.de"
+SECTION = "console/network"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "libsocketcan"
+RCONFLICTS = "socketcan-utils-test"
+INC_PR = "r0"
+
+SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;tag=${TAG} \
+        "
+
+S = "${WORKDIR}/git"
+
+inherit autotools
diff --git a/recipes/socketcan/canutils_4.0.4.bb b/recipes/socketcan/canutils_4.0.4.bb
new file mode 100644
index 0000000..9ddb697
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.4.bb
@@ -0,0 +1,4 @@
+TAG = "canutils-${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"
diff --git a/recipes/socketcan/canutils_4.0.5.bb b/recipes/socketcan/canutils_4.0.5.bb
new file mode 100644
index 0000000..c084bcd
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.5.bb
@@ -0,0 +1,4 @@
+TAG = "v${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"
-- 
1.6.4.4





More information about the Openembedded-devel mailing list