Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions recipes-support/qcom-rtss-can/qcom-rtss-can_1.0.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SUMMARY = "Qualcomm RTSS CAN userspace daemon"
DESCRIPTION = "Userspace daemon acting as a gateway between SocketCAN \
applications and RTSS using the RTSS mailbox UMD libraries."

HOMEPAGE = "https://github.com/qualcomm/rtss-can"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it aarch64 only? If so, needs a compatible machine line.

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=223037c4be0bfc6cf757035432adf983"

DEPENDS = "glib-2.0 qcom-rtss-mailbox-umd linux-libc-headers"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qcom-rtss-mailbox-umd not yet available, moving PR to draft.


SRC_URI = "git://github.com/qualcomm/rtss-can.git;branch=rtss-can.le.1.0;protocol=https;tag=v${PV}"
SRCREV = "50c719138277f8e1135e04fd4e9137446823e726"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit hash is not the tag, it should be qualcomm/rtss-can@78ba248.


inherit cmake pkgconfig

EXTRA_OECMAKE += "-DSYSROOTINC_PATH=${STAGING_INCDIR} \
-DSYSROOT_INCLUDEDIR=${STAGING_INCDIR} \
-DSTAGING_LIBDIR=${STAGING_LIBDIR}"

RDEPENDS:${PN} = "can-utils qcom-rtss-mailbox-umd can-utils-access"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can-utils is from meta-oe, needs to move to dynamic layers.

RRECOMMENDS:${PN} = "kernel-module-can kernel-module-can-raw kernel-module-vcan"