[meta-freescale] [meta-fsl-ppc][PATCH 25/26] skmm: add recipe

b28495 at freescale.com b28495 at freescale.com
Thu Jun 27 02:25:13 PDT 2013


From: Zhenhua Luo <zhenhua.luo at freescale.com>

SKMM is the application for PCIe endpoint.

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-tools/skmm/skmm_git.bb |   33 +++++++++++++++++++++++++++++++++
 1 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 recipes-tools/skmm/skmm_git.bb

diff --git a/recipes-tools/skmm/skmm_git.bb b/recipes-tools/skmm/skmm_git.bb
new file mode 100644
index 0000000..224e556
--- /dev/null
+++ b/recipes-tools/skmm/skmm_git.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "SKMM application for PCIe endpoint"
+SECTION = "skmm"
+LICENSE = "BSD & GPLv2"
+LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=39e58bedc879163c9338596e52df5b1f"
+
+DEPENDS = "libedit"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/skmm-ep.git"
+SRCREV = "80d8393a2033b3b0cc8f885702d7b288956f3a37"
+
+COMPATIBLE_MACHINE = "(p4080ds|t4240qds)"
+
+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 HOST=x86_64 clean
+	oe_runmake HOST=x86_64
+	oe_runmake HOST=powerpc clean
+	oe_runmake HOST=powerpc
+}
+
+do_install () {
+	oe_runmake ARCH=${TARGET_ARCH} HOST=x86_64 install DESTDIR=${D}
+	oe_runmake ARCH=${TARGET_ARCH} HOST=powerpc install DESTDIR=${D}
+}
+
+FILES_${PN} += "/home/root/.skmm/*"
-- 
1.7.3.4





More information about the meta-freescale mailing list