diff --git a/recipes-connectivity/can-utils/can-utils.bb b/recipes-connectivity/can-utils/can-utils.bb new file mode 100644 index 0000000..8a63935 --- /dev/null +++ b/recipes-connectivity/can-utils/can-utils.bb @@ -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" diff --git a/recipes-connectivity/cannelloni/cannelloni.bb b/recipes-connectivity/cannelloni/cannelloni.bb new file mode 100644 index 0000000..181751f --- /dev/null +++ b/recipes-connectivity/cannelloni/cannelloni.bb @@ -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} +} diff --git a/recipes-connectivity/socketcand/socketcand.bb b/recipes-connectivity/socketcand/socketcand.bb new file mode 100644 index 0000000..2f2fbc8 --- /dev/null +++ b/recipes-connectivity/socketcand/socketcand.bb @@ -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