All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] xenomai: Add xenomai recipe
@ 2018-01-07 16:19 Marek Vasut
  2018-01-07 16:19 ` [PATCH 2/2] kernel: Add optional patch_xenomai task Marek Vasut
  2018-01-07 17:17 ` [PATCH 1/2] xenomai: Add xenomai recipe Alexander Kanavin
  0 siblings, 2 replies; 18+ messages in thread
From: Marek Vasut @ 2018-01-07 16:19 UTC (permalink / raw)
  To: openembedded-core; +Cc: Marek Vasut

Add recipe for the xenomai. This recipe is used twice, once to build
the xenomai userspace components and again to patch the kernel with
the cobalt core. Therefore, the xenomai sources are installed into
work-shared rather then work to make them accessible to the kernel
recipe, which triggers the patching.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-kernel/xenomai/xenomai_git.bb | 54 ++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 meta/recipes-kernel/xenomai/xenomai_git.bb

diff --git a/meta/recipes-kernel/xenomai/xenomai_git.bb b/meta/recipes-kernel/xenomai/xenomai_git.bb
new file mode 100644
index 0000000000..98b371dbda
--- /dev/null
+++ b/meta/recipes-kernel/xenomai/xenomai_git.bb
@@ -0,0 +1,54 @@
+SUMMARY = "Xenomai 3 userspace libraries"
+DESCRIPTION = "Xenomai 3 userspace libraries"
+HOMEPAGE = "http://www.xenomai.org/"
+SECTION = "libs"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = " \
+	file://include/COPYING;md5=79ed705ccb9481bf9e7026b99f4e2b0e \
+	file://kernel/cobalt/COPYING;md5=073dc31ccb2ebed70db54f1e8aeb4c33 \
+	file://kernel/cobalt/posix/COPYING;md5=073dc31ccb2ebed70db54f1e8aeb4c33 \
+	file://kernel/cobalt/rtdm/COPYING;md5=c99f6e66e37d1cb50ad8be4f5be2ea5d \
+	file://lib/alchemy/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/analogy/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/boilerplate/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/cobalt/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/copperplate/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/psos/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/smokey/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/trank/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	file://lib/vxworks/COPYING;md5=68ad62c64cc6c620126241fd429e68fe \
+	"
+
+RDEPENDS_${PN} = "libgcc"
+
+SRC_URI = "git://git.xenomai.org/xenomai-3.git;branch=stable-3.0.x"
+SRCREV="cbc6b87bed0fe7d6d932d943fc8ca0fb49bb5b71"
+
+S = "${TMPDIR}/work-shared/${MACHINE}/xenomai-source"
+B = "${WORKDIR}/build"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--includedir=${includedir}/${PN} --with-demodir=${bindir}"
+
+do_unpack_extra() {
+	rmdir ${S}
+	mv ${WORKDIR}/git ${S}
+}
+addtask unpack_extra after do_unpack before do_patch
+
+do_install_append() {
+	rmdir ${D}/dev
+}
+
+PACKAGES =+ "${PN}-demo"
+FILES_${PN} += " \
+	${libdir}/cobalt.wrappers ${libdir}/modechk.wrappers \
+	${libdir}/dynlist.ld \
+	"
+FILES_${PN}-demo = " \
+	${bindir}/altency ${bindir}/bufp-label ${bindir}/bufp-readwrite \
+	${bindir}/can_rtt ${bindir}/cross-link ${bindir}/cyclictest \
+	${bindir}/eth_p_all ${bindir}/iddp-label ${bindir}/iddp-sendrecv \
+	${bindir}/xddp-echo ${bindir}/xddp-label ${bindir}/xddp-stream \
+	"
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-01-08  1:33 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-07 16:19 [PATCH 1/2] xenomai: Add xenomai recipe Marek Vasut
2018-01-07 16:19 ` [PATCH 2/2] kernel: Add optional patch_xenomai task Marek Vasut
2018-01-07 16:37   ` Bruce Ashfield
2018-01-07 16:38     ` Marek Vasut
2018-01-07 16:42       ` Bruce Ashfield
2018-01-07 16:51         ` Bruce Ashfield
2018-01-07 17:53         ` Marek Vasut
2018-01-07 17:55           ` Bruce Ashfield
2018-01-07 18:49             ` Marek Vasut
2018-01-07 18:55               ` Bruce Ashfield
2018-01-07 18:57                 ` Marek Vasut
2018-01-07 19:00                   ` Bruce Ashfield
2018-01-07 19:38                     ` Marek Vasut
2018-01-08  1:32                   ` akuster808
2018-01-07 17:17 ` [PATCH 1/2] xenomai: Add xenomai recipe Alexander Kanavin
2018-01-07 17:55   ` Marek Vasut
2018-01-07 19:27     ` Alexander Kanavin
2018-01-07 19:37       ` Marek Vasut

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.