diff options
Diffstat (limited to 'recipes-bsp/imx-lib/imx-lib.inc')
-rw-r--r-- | recipes-bsp/imx-lib/imx-lib.inc | 30 |
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 | |||
3 | DESCRIPTION = "Platform specific libraries for imx platform" | ||
4 | LICENSE = "LGPLv2.1" | ||
5 | SECTION = "multimedia" | ||
6 | DEPENDS = "virtual/kernel" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e" | ||
9 | |||
10 | PLATFORM_mx6 = "IMX6Q" | ||
11 | PLATFORM_mx5 = "IMX51" | ||
12 | PLATFORM_mx6sl = "IMX6S" | ||
13 | PLATFORM_mx6sx = "IMX6S" | ||
14 | |||
15 | PARALLEL_MAKE="-j 1" | ||
16 | EXTRA_OEMAKE = "" | ||
17 | |||
18 | SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz" | ||
19 | |||
20 | do_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 | |||
28 | do_install () { | ||
29 | oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install | ||
30 | } | ||