Patchwork [meta-fsl-ppc,38/39] uspdcp: add recipe for sdk v1.6

login
register
mail settings
Submitter Ting Liu
Date July 2, 2014, 3:01 a.m.
Message ID <1404270108-3448-39-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/74633/
State Superseded
Headers show

Comments

Ting Liu - July 2, 2014, 3:01 a.m.
From: Zhenhua Luo <zhenhua.luo@freescale.com>

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

Patch

diff --git a/recipes-extended/uspdcp/uspdcp_git.bb b/recipes-extended/uspdcp/uspdcp_git.bb
new file mode 100644
index 0000000..035aab5
--- /dev/null
+++ b/recipes-extended/uspdcp/uspdcp_git.bb
@@ -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}
+}