blob: 125bb83920628bd4c44907f434b596db3803e786 (
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
|
SUMMARY = "Control Software for VCU2"
DESCRIPTION = "Control software libraries, test applications and headers provider for VCU2 encoder/decoder software API"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=003bf8ee942bb6256905b58e9b1b19c2"
PV .= "+git"
BRANCH ?= "xlnx_rel_v2024.2"
REPO ?= "git://github.com/Xilinx/vcu2-ctrl-sw.git;protocol=https"
SRCREV = "95b5e23881359964e7fbbf97fd754a91b6975a9b"
BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"
S = "${UNPACKDIR}/git"
inherit features_check
REQUIRED_MACHINE_FEATURES = "vcu2"
PACKAGE_ARCH = "${MACHINE_ARCH}"
#RDEPENDS:${PN} = "kernel-module-vcu2"
#RDEPENDS:libvcu2-ctrlsw = "kernel-module-vcu2"
EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'"
do_install() {
install -Dm 0755 ${S}/bin/AL_Encoder.exe ${D}/${bindir}/ctrlsw_encoder
install -Dm 0755 ${S}/bin/AL_Decoder.exe ${D}/${bindir}/ctrlsw_decoder
oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/
oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/
oe_libinstall -C ${S}/bin/ -so liballegro_app ${D}/${libdir}/
oe_libinstall -C ${S}/bin/ -so liballegro_conv_yuv ${D}/${libdir}/
install -d ${D}${includedir}/vcu2-ctrl-sw/include
oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu2-ctrl-sw/include
}
PACKAGES =+ "libvcu2-ctrlsw"
FILES:libvcu2-ctrlsw += "${libdir}/liballegro*.so.*"
# These libraries shouldn't get installed in world builds unless something
# explicitly depends upon them.
EXCLUDE_FROM_WORLD = "1"
# Disable buildpaths QA check warnings.
INSANE_SKIP:${PN} += "buildpaths"
|