Skip to content

Commit

Permalink
Add rpmsg_utils: User space utilities to exercise /dev/rpmsg*
Browse files Browse the repository at this point in the history
This set of utilities has existed for over a year but have not been built
or packaged in OE until now.

These utilities are in the same git rep as the other examples.
Rev them as a group and reuse the inc file.

Signed-off-by: Bill Mills <[email protected]>
  • Loading branch information
wmamills committed Nov 6, 2023
1 parent 27f22af commit 59ef6be
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
SUMMARY = "RPMsg utilities: utilities for /dev/rpmsg*"

include rpmsg-example.inc

S = "${WORKDIR}/git/examples/linux/rpmsg-utils"

RRECOMMENDS:${PN} = "kernel-module-rpmsg-ctrl kernel-module-rpmsg-char"

FILES:${PN} = "\
/usr/bin/rpmsg_destroy_ept \
/usr/bin/rpmsg_export_dev \
/usr/bin/rpmsg_export_ept \
/usr/bin/rpmsg_ping \
"

EXTRA_OEMAKE = "DESTDIR=${D} prefix=/usr CC='${CC}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"

do_install() {
install -d ${D}/usr/bin
oe_runmake install
}

0 comments on commit 59ef6be

Please sign in to comment.