Patchwork [meta-fsl-ppc,dora,14/31] skmm-ep: add recipe

login
register
mail settings
Submitter Ting Liu
Date Jan. 15, 2014, 9:41 a.m.
Message ID <1389778896-11563-15-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/64837/
State Accepted
Headers show

Comments

Ting Liu - Jan. 15, 2014, 9:41 a.m.
From: Zhenhua Luo <zhenhua.luo@freescale.com>

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
---
 recipes-extended/skmm-ep/skmm-ep_git.bb |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 recipes-extended/skmm-ep/skmm-ep_git.bb

Patch

diff --git a/recipes-extended/skmm-ep/skmm-ep_git.bb b/recipes-extended/skmm-ep/skmm-ep_git.bb
new file mode 100644
index 0000000..664bb51
--- /dev/null
+++ b/recipes-extended/skmm-ep/skmm-ep_git.bb
@@ -0,0 +1,27 @@ 
+DESCRIPTION = "SKMM application for PCIe endpoint"
+SECTION = "skmm-ep"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
+
+DEPENDS = "libedit openssl"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/skmm-ep.git"
+SRCREV = "448522aa1ba3f0c4a1481631dc1c3b168d410a61"
+
+COMPATIBLE_MACHINE = "(p4080ds|t4240qds|c293pcie)"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = 'MACHINE=${MACHINE}'
+
+export LIBEDIT_CFLAGS="$(pkg-config --cflags libedit)"
+export LIBEDIT_LDFLAGS="$(pkg-config --libs --static libedit)"
+
+do_compile () {
+	export ARCH=${TARGET_ARCH}
+	oe_runmake
+}
+
+do_install () {
+	oe_runmake ARCH=${TARGET_ARCH} install DESTDIR=${D}
+}