Skip to contentSkip to conversation

posix-smp-demo: add version 1.0.0.1

PATCH New John Godbey 1 participant 1 message Jun 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 posix-smp-demo: add version 1.0.0.1

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.

---
 .../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
meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo.inc new file +20 -0
new file mode 100644
index 0000000..33f5d73
@@ -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"
meta-arago-extras/recipes-demo-applications/posix-smp-demo/posix-smp-demo_git.bb new file +14 -0
new file mode 100644
index 0000000..8e26005
@@ -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}
+}
Signature · 1 line
1.9.1