Quellcode durchsuchen

socketcand: add recipe

Socketcand allows to transfer socketcan messages over tcp/ip.

Signed-off-by: Jeroen Hofstee <jhofstee@victronenergy.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Jeroen Hofstee vor 1 Woche
Ursprung
Commit
bc16a3b7f3
1 geänderte Dateien mit 16 neuen und 0 gelöschten Zeilen
  1. 16 0
      meta-oe/recipes-extended/socketcan/socketcand_git.bb

+ 16 - 0
meta-oe/recipes-extended/socketcan/socketcand_git.bb

@@ -0,0 +1,16 @@
+SUMMARY = "Socketcand, socketcan over tcp/ip"
+LICENSE = "GPL-2.0-only | BSD-3-Clause"
+LIC_FILES_CHKSUM = " \
+    file://LICENSES/BSD-3-Clause;md5=4c00cf8b0a04a9441d8fa24850231d00 \
+    file://LICENSES/GPL-2.0-only.txt;md5=f9d20a453221a1b7e32ae84694da2c37 \
+"
+
+SRC_URI = "git://github.com/linux-can/socketcand;branch=master;protocol=https"
+SRCREV = "998b0394d028e791aa97d549bfc686b4fbadf5ee"
+S = "${WORKDIR}/git"
+
+inherit meson pkgconfig
+
+PACKAGECONFIG ?= "libconfig libsocketcan"
+PACKAGECONFIG[libconfig] = "-Dlibconfig=true,-Dlibconfig=false,libconfig"
+PACKAGECONFIG[libsocketcan] = "-Dlibsocketcan=true,-Dlibsocketcan=false,libsocketcan"