aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/socketcan
diff options
context:
space:
mode:
authorVitus Jensen <vjensen@gmx.de>2010-05-21 04:38:05 +0000
committerEric Bénard <eric@eukrea.com>2010-06-03 21:46:24 +0200
commit1d1fbd94ec2dcc8a5f5f35eaa6e76a7624a55f2c (patch)
treeda7cdb6764c1429ff6c7dfb68089bd48befc22bd /recipes/socketcan
parentd76f5695523ccf8755db393fbd41815c1fa011de (diff)
downloadopenembedded-1d1fbd94ec2dcc8a5f5f35eaa6e76a7624a55f2c.tar.gz
canutils: new recipes
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@gmx.de> Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'recipes/socketcan')
-rw-r--r--recipes/socketcan/canutils.inc16
-rw-r--r--recipes/socketcan/canutils_4.0.4.bb4
-rw-r--r--recipes/socketcan/canutils_4.0.5.bb4
3 files changed, 24 insertions, 0 deletions
diff --git a/recipes/socketcan/canutils.inc b/recipes/socketcan/canutils.inc
new file mode 100644
index 0000000000..596785f540
--- /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 0000000000..9ddb69741a
--- /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 0000000000..c084bcd6ce
--- /dev/null
+++ b/recipes/socketcan/canutils_4.0.5.bb
@@ -0,0 +1,4 @@
+TAG = "v${PV}"
+require canutils.inc
+
+PR = "${INC_PR}.0"