summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-lib
diff options
context:
space:
mode:
authorLauren Post <lauren.post@freescale.com>2013-10-01 11:38:21 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2013-10-30 14:25:35 -0200
commit8e1b19c405bd35cacd13a4fe1c91c8cd85b9910a (patch)
tree8196b504c410b21e13567930f5d0f3486f09cd95 /recipes-bsp/imx-lib
parent88117e976c16f22b9bbfeb26a52088e31f1d0c4d (diff)
downloadmeta-fsl-arm-8e1b19c405bd35cacd13a4fe1c91c8cd85b9910a.tar.gz
imx-lib: Upgrade to 3.10.9-1.0.0
This includes following main changes: - imx-lib requires uapi header include for 3.10 kernel - imx-lib no longer contains imx-vpu so all of imx-lib is LGPL - libvpu is now in a separate component so eula-unpack inherit is not required Also will not build libraries on mx6 only applicable to mx53 Previous kernels supported all the headers but 3.5.7 and 3.10.9 linux-imx do not inclue mx53 headers Change-Id: Ia747ee6adf2c2e1a3425ae183ac9e3e0018c5a79 Signed-off-by: Lauren Post <lauren.post@freescale.com>
Diffstat (limited to 'recipes-bsp/imx-lib')
-rw-r--r--recipes-bsp/imx-lib/imx-lib.inc14
-rw-r--r--recipes-bsp/imx-lib/imx-lib_3.10.9-1.0.0.bb10
-rw-r--r--recipes-bsp/imx-lib/imx-lib_3.5.7-1.0.0.bb11
3 files changed, 15 insertions, 20 deletions
diff --git a/recipes-bsp/imx-lib/imx-lib.inc b/recipes-bsp/imx-lib/imx-lib.inc
index 95ffb88..f2e36d4 100644
--- a/recipes-bsp/imx-lib/imx-lib.inc
+++ b/recipes-bsp/imx-lib/imx-lib.inc
@@ -7,23 +7,19 @@ DEPENDS = "virtual/kernel"
7 7
8LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e" 8LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e"
9 9
10inherit fsl-eula-unpack
11
12PLATFORM_mx6 = "IMX6Q" 10PLATFORM_mx6 = "IMX6Q"
13PLATFORM_mx5 = "IMX51" 11PLATFORM_mx5 = "IMX51"
14 12
15PARALLEL_MAKE="-j 1" 13PARALLEL_MAKE="-j 1"
16EXTRA_OEMAKE = "" 14EXTRA_OEMAKE = ""
17 15
18do_configure_append () { 16SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz"
19 # FIXME: The build system does not allow CC and AR to be overriden
20 find ${S} -name Makefile | xargs sed -i 's,^\(CC\|AR\)=,\1 ?=,g'
21}
22 17
23do_compile () { 18do_compile () {
24 INCLUDE_DIR="-I${STAGING_INCDIR} -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ 19 INCLUDE_DIR="-I${STAGING_INCDIR}/uapi -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include \
25 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include \ 20 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
26 -I${STAGING_KERNEL_DIR}/include" 21 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"
22
27 oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all 23 oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
28} 24}
29 25
diff --git a/recipes-bsp/imx-lib/imx-lib_3.10.9-1.0.0.bb b/recipes-bsp/imx-lib/imx-lib_3.10.9-1.0.0.bb
new file mode 100644
index 0000000..c3a7fb0
--- /dev/null
+++ b/recipes-bsp/imx-lib/imx-lib_3.10.9-1.0.0.bb
@@ -0,0 +1,10 @@
1# Copyright (C) 2013 Freescale Semiconductor
2
3include imx-lib.inc
4
5SRC_URI[md5sum] = "5cc9c8d09c7ba401cdab4a2ecbda89e2"
6SRC_URI[sha256sum] = "d1581c2f2956731da0c42e9dc17514a4d00790deeb83defeb5e07d14746190d8"
7
8PE = "1"
9
10COMPATIBLE_MACHINE = "(mx6)" \ No newline at end of file
diff --git a/recipes-bsp/imx-lib/imx-lib_3.5.7-1.0.0.bb b/recipes-bsp/imx-lib/imx-lib_3.5.7-1.0.0.bb
deleted file mode 100644
index bfb1984..0000000
--- a/recipes-bsp/imx-lib/imx-lib_3.5.7-1.0.0.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1# Copyright (C) 2013 Freescale Semiconductor
2
3require imx-lib.inc
4
5PE = "1"
6
7SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.bin;fsl-eula=true"
8SRC_URI[md5sum] = "70248d0932a6d2808701166f41b1708f"
9SRC_URI[sha256sum] = "ad746e34cf7d8cd9cb3f3f6c8eda85d9fa314fc6f57502d1f9cb454c5fab2f9d"
10
11COMPATIBLE_MACHINE = "(mx6)"