summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/imx-lib/imx-lib.inc
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:58 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-10 03:19:58 +0200
commitf98b448ee835646be48f530b3e6fe13b32b093f5 (patch)
tree9d1062f1e8893e72829df650f5e558c5fb255955 /recipes-bsp/imx-lib/imx-lib.inc
downloadmeta-fsl-arm-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'recipes-bsp/imx-lib/imx-lib.inc')
-rw-r--r--recipes-bsp/imx-lib/imx-lib.inc28
1 files changed, 28 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 0000000..243eb88
--- /dev/null
+++ b/recipes-bsp/imx-lib/imx-lib.inc
@@ -0,0 +1,28 @@
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"
12
13PARALLEL_MAKE="-j 1"
14EXTRA_OEMAKE = ""
15
16SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz"
17
18do_compile () {
19 INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include \
20 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
21 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"
22
23 oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
24}
25
26do_install () {
27 oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
28}