* [PATCH] posix-smp-demo: add version 1.0.0.1
@ 2016-06-01 20:23 John Godbey
0 siblings, 0 replies; only message in thread
From: John Godbey @ 2016-06-01 20:23 UTC (permalink / raw)
To: meta-arago
This patch provides the initial support for the posix-smp-demo
in the Linux SDK. The .inc file remains separate to support
a later RTOS version of the same demo.
Signed-off-by: John Godbey <j-godbey@ti.com>
---
.../posix-smp-demo/posix-smp-demo.inc | 20 ++++++++++++++++++++
.../posix-smp-demo/posix-smp-demo_git.bb | 14 ++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo.inc
create mode 100644 meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo_git.bb
diff --git a/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo.inc b/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo.inc
new file mode 100644
index 0000000..33f5d73
--- /dev/null
+++ b/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo.inc
@@ -0,0 +1,20 @@
+SUMMARY = "This recipe creates a posix-smp-demo binaries."
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://dhry.h;beginline=1;endline=377;md5=8f2fbe6e071d9ea4afeca73cfd656ec8"
+
+POSIX_SMP_GIT_URI = "git://git.ti.com/keystone-demos/posix-smp.git"
+POSIX_SMP_GIT_PROTOCOL = "git"
+POSIX_SMP_GIT_BRANCH = "sbl_prep"
+
+# Below commit ID corresponds to "DEV.POSIX-SMP.01.00.00.01"
+POSIX_SMP_SRCREV = "55d7fd4c60c9d513932a86df3df8dee0244208e0"
+
+BRANCH = "${POSIX_SMP_GIT_BRANCH}"
+SRC_URI = "${POSIX_SMP_GIT_URI};protocol=${POSIX_SMP_GIT_PROTOCOL};branch=${BRANCH}"
+
+SRCREV = "${POSIX_SMP_SRCREV}"
+PV = "01.00.00.01"
+INC_PR = "r1"
+
+S = "${WORKDIR}/git"
diff --git a/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo_git.bb b/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo_git.bb
new file mode 100644
index 0000000..8e26005
--- /dev/null
+++ b/meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo_git.bb
@@ -0,0 +1,14 @@
+require posix-smp-demo.inc
+
+PR = "${INC_PR}.0"
+
+EXTRA_OEMAKE = "-f Makefile_linux EGCC="${CC}""
+
+do_compile() {
+ oe_runmake posix-smp-demo-linux-armv7
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 posix-smp-demo-linux-armv7 ${D}${bindir}
+}
--
1.9.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-01 20:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 20:23 [PATCH] posix-smp-demo: add version 1.0.0.1 John Godbey
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.