From: Ting Liu Date: Wed, 18 May 2016 06:05:20 +0000 (+0800) Subject: hyperrelay: add recipe X-Git-Tag: 2.2~307 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d71f12c5779e5ca3ac142f0964a3783124a9c06f;p=meta-freescale.git hyperrelay: add recipe Signed-off-by: Ting Liu --- diff --git a/recipes-extended/hyperrelay/hyperrelay_git.bb b/recipes-extended/hyperrelay/hyperrelay_git.bb new file mode 100644 index 00000000..c8db3d6b --- /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)"