blob: 4e210057c90d0c5ecbe616f44ad5c636547aa9cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright (C) 2012-2016 Freescale Semiconductor
# Copyright (C) 2012-2018 O.S. Systems Software LTDA.
# Copyright 2017 NXP
DESCRIPTION = "Platform specific libraries for imx platform"
LICENSE = "LGPLv2.1"
SECTION = "multimedia"
LIC_FILES_CHKSUM = "file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
PE = "1"
PV = "5.9+${SRCPV}"
SRCBRANCH = "lf-5.10.52_2.1.0"
SRC_URI = "git://source.codeaurora.org/external/imx/imx-lib.git;protocol=https;branch=${SRCBRANCH}"
SRCREV = "87ddd80953835eb29027d1d5a12044a08e809e40"
S = "${WORKDIR}/git"
inherit use-imx-headers
PLATFORM:mx6q = "IMX6Q"
PLATFORM:mx6dl = "IMX6Q"
PLATFORM:mx6sl = "IMX6S"
PLATFORM:mx6sll = "IMX6UL"
PLATFORM:mx6sx = "IMX6S"
PLATFORM:mx6ul = "IMX6UL"
PLATFORM:mx6ull = "IMX6UL"
PLATFORM:mx7d = "IMX7"
PLATFORM:mx7ulp = "IMX7"
PLATFORM:mx8ulp = "IMX8ULP"
PARALLEL_MAKE="-j 1"
EXTRA_OEMAKE = ""
do_compile () {
INCLUDE_DIR="-I${STAGING_INCDIR_IMX}"
oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all
}
do_install () {
oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
# Remove .go file for Android
find ${D}/ -name *.go -exec rm {} \;
}
COMPATIBLE_MACHINE = "(mx6|mx7|mx8ulp)"
|