]> code.ossystems Code Review - meta-freescale.git/commitdiff
hyperrelay: add recipe
authorTing Liu <ting.liu@nxp.com>
Wed, 18 May 2016 06:05:20 +0000 (14:05 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 12 Aug 2016 14:41:02 +0000 (11:41 -0300)
Signed-off-by: Ting Liu <ting.liu@nxp.com>
recipes-extended/hyperrelay/hyperrelay_git.bb [new file with mode: 0644]

diff --git a/recipes-extended/hyperrelay/hyperrelay_git.bb b/recipes-extended/hyperrelay/hyperrelay_git.bb
new file mode 100644 (file)
index 0000000..c8db3d6
--- /dev/null
@@ -0,0 +1,32 @@
+DESCRIPTION = "Userspace proxy agent for Code Warrrior HyperTrk"
+LICENSE = "Freescale-EULA"
+LIC_FILES_CHKSUM = "file://EULA;md5=c9ae442cf1f9dd6c13dfad64b0ffe73f"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/hyperrelay.git;branch=sdk-v2.0.x"
+SRCREV = "925af97359c2b86399561f1f97f2cb6ca0ccd344"
+
+S = "${WORKDIR}/git"
+
+CFLAGS += "\
+    -Wall \
+    -Wundef \
+    -Wstrict-prototypes \
+    -Wno-trigraphs \
+    -fno-strict-aliasing \
+    -fno-common \
+    -O2 \
+    -g \
+    -fmessage-length=0 \
+    -MMD \
+    -MP \
+    -MF"$(@:%.o=%.d)" -MT"$(@:%.o=%.d)" \
+"
+
+LDFLAGS_prepend = " -lpthread "
+
+do_install() {
+    install -d ${D}${bindir}
+    oe_runmake install DESTDIR=${D}
+}
+
+COMPATIBLE_MACHINE = "(qoriq-ppc)"