imx-lib.inc 858 Bytes
Newer Older
1
# Copyright (C) 2012-2013 Freescale Semiconductor
2 3 4 5 6 7 8 9

DESCRIPTION = "Platform specific libraries for imx platform"
LICENSE = "LGPLv2.1"
SECTION = "multimedia"
DEPENDS = "virtual/kernel"

LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e"

10
PLATFORM_mx6 = "IMX6Q"
11 12 13 14 15
PLATFORM_mx5 = "IMX51"

PARALLEL_MAKE="-j 1"
EXTRA_OEMAKE = ""

16
SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz"
17

18
do_compile () {
19
    INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include \
20 21 22
                 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \
                 -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include"

23 24 25 26
    oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
}

do_install () {
27
    oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
28
}