From: Zhenhua Luo <[email protected]>

Signed-off-by: Zhenhua Luo <[email protected]>
---
 recipes-extended/skmm-ep/skmm-ep_git.bb |   27 +++++++++++++++++++++++++++
 1 files changed, 27 insertions(+), 0 deletions(-)
 create mode 100644 recipes-extended/skmm-ep/skmm-ep_git.bb

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}
+}
-- 
1.7.3.4


_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to