Patchwork [meta-fsl-arm,4/4] imx-vpu: Add imx-vpu version 11.09.02

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 18, 2013, 3:08 a.m.
Message ID <1382065687-19844-4-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/60177/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Oct. 18, 2013, 3:08 a.m.
From: Daiane Angolini <daiane.angolini@freescale.com>

This package wraps lib-vpu with proper
licensing.

Change-Id: I21da011672eb2ce7c000abd4f5ed10baec58d9ba
Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
---
 recipes-bsp/imx-vpu/imx-vpu.inc         | 21 +++++++++++++++++++++
 recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb |  7 +++++++
 2 files changed, 28 insertions(+)
 create mode 100644 recipes-bsp/imx-vpu/imx-vpu.inc
 create mode 100644 recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb

Patch

diff --git a/recipes-bsp/imx-vpu/imx-vpu.inc b/recipes-bsp/imx-vpu/imx-vpu.inc
new file mode 100644
index 0000000..3c47d81
--- /dev/null
+++ b/recipes-bsp/imx-vpu/imx-vpu.inc
@@ -0,0 +1,21 @@ 
+# Copyright (C) 2013 Freescale Semiconductor
+DESCRIPTION = "Freescale VPU library"
+LICENSE = "Proprietary"
+LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54"
+DEPENDS = "virtual/kernel"
+inherit fsl-eula-unpack
+
+PLATFORM_mx5 = "IMX51"
+
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+do_compile () {
+    INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include"
+
+    oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
+}
+
+do_install () {
+    oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
+}
+
diff --git a/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb b/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb
new file mode 100644
index 0000000..c40c703
--- /dev/null
+++ b/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb
@@ -0,0 +1,7 @@ 
+# Copyright (C) 2013 Freescale Semiconductor
+require imx-vpu.inc
+
+SRC_URI[md5sum] = "1988a08687a09ef8590e66ff17ac6ed3"
+SRC_URI[sha256sum] = "783f136aa9b9257d4bffbdaf05bdcb85d177c544c3f8a4674421ba7b065ed5c0"
+
+COMPATIBLE_MACHINE = "(mx5)"