can recipes: add cannelloni, can-utils, and socketcand recipes

BugzID: 52071

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
This commit is contained in:
Ramon Moesching 2018-10-11 18:12:50 +02:00
parent fbeebc6afd
commit 170a2eaa27
3 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1,21 @@
DESCRIPTION = "can-utils application"
SECTION = "socketcan"
## LICENSE = "CLOSED"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"
DEPENDS = "libsocketcan"
RDEPENDS_${PN}-dev += "${PN}-staticdev"
SRCREV = "47f2e7a180e50ee998f2e6aea45884f84042c4fa"
SRC_URI = "git://github.com/linux-can/can-utils.git;protocol=git"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
# Busybox ip doesn't support can interface configuration, use the real thing
RDEPENDS_${PN} += "iproute2"

View File

@ -0,0 +1,29 @@
SUMMARY = "SocketCAN over Ethernet tunnel using UDP to transfer CAN frames between two machines"
SECTION = "socketcan"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"
RDEPENDS_${PN}-dev += "${PN}-staticdev"
SRCREV = "e3ac7393b566345d057c2d17a4d328007caaacac"
SRC_URI = "git://github.com/mguentner/cannelloni.git;protocol=http"
S = "${WORKDIR}/git"
inherit pkgconfig cmake
inherit systemd
EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release"
INSANE_SKIP_${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
do_install_append () {
install -d ${D}${libdir}
install -m 0755 ${WORKDIR}/build/libcannelloni-common.so ${D}${libdir}
}

View File

@ -0,0 +1,17 @@
SUMMARY = "Socketcand is a daemon that provides access to CAN interfaces via a net interface."
SECTION = "socketcan"
## LICENSE = "CLOSED"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
PR = "r0"
DEPENDS = "libconfig"
RDEPENDS_${PN}-dev += "${PN}-staticdev"
SRCREV = "df7fb4ff8a4439d7737fe2df3540e1ab7465721a"
SRC_URI = "git://github.com/dschanoeh/socketcand.git;protocol=git"
S = "${WORKDIR}/git"
inherit autotools update-alternatives
inherit autotools-brokensep