From: Marek Vasut <marex@denx.de>
To: openembedded-core@lists.openembedded.org
Cc: Marek Vasut <marex@denx.de>
Subject: [PATCH 1/2] xenomai: Add xenomai recipe
Date: Sun, 7 Jan 2018 17:19:19 +0100 [thread overview]
Message-ID: <20180107161920.30937-1-marex@denx.de> (raw)
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
next reply other threads:[~2018-01-07 16:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-07 16:19 Marek Vasut [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180107161920.30937-1-marex@denx.de \
--to=marex@denx.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.