summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-lib/imx-lib.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/imx-lib/imx-lib.inc')
-rw-r--r--recipes-bsp/imx-lib/imx-lib.inc30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-bsp/imx-lib/imx-lib.inc b/recipes-bsp/imx-lib/imx-lib.inc
new file mode 100644
index 00000000..314e153b
--- /dev/null
+++ b/recipes-bsp/imx-lib/imx-lib.inc
@@ -0,0 +1,30 @@
1# Copyright (C) 2012-2013 Freescale Semiconductor
2
3DESCRIPTION = "Platform specific libraries for imx platform"
4LICENSE = "LGPLv2.1"
5SECTION = "multimedia"
6DEPENDS = "virtual/kernel"
7
8LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e"
9
10PLATFORM_mx6 = "IMX6Q"
11PLATFORM_mx5 = "IMX51"
12PLATFORM_mx6sl = "IMX6S"
13PLATFORM_mx6sx = "IMX6S"
14
15PARALLEL_MAKE="-j 1"
16EXTRA_OEMAKE = ""
17
18SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz"
19
20do_compile () {
21 INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include \
22 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
23 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"
24
25 oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
26}
27
28do_install () {
29 oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
30}