]> code.ossystems Code Review - meta-freescale.git/commitdiff
uspdcp: add recipe for sdk v1.6
authorZhenhua Luo <zhenhua.luo@freescale.com>
Sat, 14 Jun 2014 06:30:59 +0000 (14:30 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Tue, 8 Jul 2014 10:14:48 +0000 (18:14 +0800)
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
meta-fsl-ppc/recipes-extended/uspdcp/uspdcp_git.bb [new file with mode: 0644]

diff --git a/meta-fsl-ppc/recipes-extended/uspdcp/uspdcp_git.bb b/meta-fsl-ppc/recipes-extended/uspdcp/uspdcp_git.bb
new file mode 100644 (file)
index 0000000..035aab5
--- /dev/null
@@ -0,0 +1,18 @@
+DESCRIPTION = "SEC user space driver package"
+LICENSE = "BSD GPLv2"
+
+DEPENDS += "flib usdpaa"
+
+# no COPYING file in current git tree, need to be fixed
+LIC_FILES_CHKSUM = "file://Makefile;endline=30;md5=83b6209ab517640a7390536a08d33609"
+
+SRC_URI = "git://git.freescale.com/ppc/sdk/uspdcp.git;nobranch=1"
+SRCREV = "30016cdf36553c14f7143ef005a4925edd901fb0"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE="ARCH=${TARGET_ARCH} EXTRA_DEFINE='USDPAA CONFIG_PHYS_64BIT' CROSS_COMPILE=${TARGET_PREFIX} SDK_DIR=${STAGING_DIR}/${MACHINE}"
+
+do_install(){
+    oe_runmake install DESTDIR=${D}
+}