aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-05-18 14:05:20 +0800
committerZhenhua Luo <zhenhua.luo@nxp.com>2016-06-23 10:58:17 +0800
commita485479f17598d77e94bdfe058678da257ced898 (patch)
tree62e9336ad75ef5f61a352b940b9926b29d43b4a8
parentb01f5773e2c92c61f99de74c004aa6b955ebb5d5 (diff)
downloadmeta-fsl-ppc-a485479f17598d77e94bdfe058678da257ced898.tar.gz
meta-fsl-ppc-a485479f17598d77e94bdfe058678da257ced898.tar.bz2
meta-fsl-ppc-a485479f17598d77e94bdfe058678da257ced898.zip
hyperrelay: add recipe
Signed-off-by: Ting Liu <ting.liu@nxp.com>
-rw-r--r--recipes-extended/hyperrelay/hyperrelay_git.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-extended/hyperrelay/hyperrelay_git.bb b/recipes-extended/hyperrelay/hyperrelay_git.bb
new file mode 100644
index 0000000..c8db3d6
--- /dev/null
+++ b/recipes-extended/hyperrelay/hyperrelay_git.bb
@@ -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)"