From 59ef6be7a5a23f854ee26bdc6be4a405e5a0aa97 Mon Sep 17 00:00:00 2001 From: Bill Mills Date: Sun, 29 Oct 2023 22:49:57 -0400 Subject: [PATCH] Add rpmsg_utils: User space utilities to exercise /dev/rpmsg* 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 --- .../rpmsg-examples/rpmsg-utils_1.0.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb diff --git a/recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb b/recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb new file mode 100644 index 0000000..f5385d6 --- /dev/null +++ b/recipes-openamp/rpmsg-examples/rpmsg-utils_1.0.bb @@ -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 +}