blob: b3c02ca298b0fbb16398a9d85f9e0001e3b6df9c (
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
51
52
53
54
55
|
SUMMARY = "OpenMAX Integration layer for VDU"
DESCRIPTION = "OMX IL Libraries,test application and headers for VDU"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=aaf483d309243c4596f6373eb9c8325f"
XILINX_VDU_VERSION = "1.0.0"
PV =. "${XILINX_VDU_VERSION}-xilinx-v"
PV .= "+git${SRCPV}"
BRANCH ?= "xlnx_rel_v2023.1"
REPO ?= "git://github.com/Xilinx/vdu-omx-il.git;protocol=https"
SRCREV ?= "811eefac953fd5e098c69cada97a0dd35f5e9015"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG} \
file://0001-libvdu-omxil-Fix-missing-definitions.patch \
"
S = "${WORKDIR}/git"
inherit autotools features_check
REQUIRED_MACHINE_FEATURES = "vdu"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE:versal-ai-core = "versal-ai-core"
COMPATIBLE_MACHINE:versal-ai-edge = "versal-ai-edge"
PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
DEPENDS = "libvdu-ctrlsw"
RDEPENDS:${PN} = "kernel-module-vdu libvdu-ctrlsw"
EXTERNAL_INCLUDE="${STAGING_INCDIR}/vdu-ctrl-sw/include"
do_compile[dirs] = "${S}"
do_install[dirs] = "${S}"
EXTRA_OEMAKE = " \
CC='${CC}' CXX='${CXX} ${CXXFLAGS}' \
EXTERNAL_INCLUDE='${EXTERNAL_INCLUDE}' \
INSTALL_PATH=${D}${bindir} \
INCLUDE_INST_PATH=${D}${includedir} \
"
do_install:append() {
install -d ${D}${libdir}
oe_libinstall -C ${S}/bin/ -so libOMX.allegro.core ${D}/${libdir}/
oe_libinstall -C ${S}/bin/ -so libOMX.allegro.video_decoder ${D}/${libdir}/
}
# These libraries shouldn't get installed in world builds unless something
# explicitly depends upon them.
EXCLUDE_FROM_WORLD = "1"
|