diff options
Diffstat (limited to 'meta-xilinx-multimedia/recipes-multimedia/vcu2/vcu2-ctrlsw_1.0.62-xilinx-v2024.2.bb')
| -rw-r--r-- | meta-xilinx-multimedia/recipes-multimedia/vcu2/vcu2-ctrlsw_1.0.62-xilinx-v2024.2.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-xilinx-multimedia/recipes-multimedia/vcu2/vcu2-ctrlsw_1.0.62-xilinx-v2024.2.bb b/meta-xilinx-multimedia/recipes-multimedia/vcu2/vcu2-ctrlsw_1.0.62-xilinx-v2024.2.bb new file mode 100644 index 00000000..fbc33d88 --- /dev/null +++ b/meta-xilinx-multimedia/recipes-multimedia/vcu2/vcu2-ctrlsw_1.0.62-xilinx-v2024.2.bb | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | SUMMARY = "Control Software for VCU2" | ||
| 2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU2 encoder/decoder software API" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=003bf8ee942bb6256905b58e9b1b19c2" | ||
| 5 | |||
| 6 | PV .= "+git" | ||
| 7 | |||
| 8 | BRANCH ?= "xlnx_rel_v2024.2" | ||
| 9 | REPO ?= "git://github.com/Xilinx/vcu2-ctrl-sw.git;protocol=https" | ||
| 10 | SRCREV = "95b5e23881359964e7fbbf97fd754a91b6975a9b" | ||
| 11 | |||
| 12 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
| 13 | SRC_URI = "${REPO};${BRANCHARG}" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | inherit features_check | ||
| 18 | |||
| 19 | REQUIRED_MACHINE_FEATURES = "vcu2" | ||
| 20 | |||
| 21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 22 | |||
| 23 | #RDEPENDS:${PN} = "kernel-module-vcu2" | ||
| 24 | #RDEPENDS:libvcu2-ctrlsw = "kernel-module-vcu2" | ||
| 25 | |||
| 26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
| 27 | |||
| 28 | do_install() { | ||
| 29 | install -Dm 0755 ${S}/bin/AL_Encoder.exe ${D}/${bindir}/ctrlsw_encoder | ||
| 30 | install -Dm 0755 ${S}/bin/AL_Decoder.exe ${D}/${bindir}/ctrlsw_decoder | ||
| 31 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
| 32 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
| 33 | oe_libinstall -C ${S}/bin/ -so liballegro_app ${D}/${libdir}/ | ||
| 34 | oe_libinstall -C ${S}/bin/ -so liballegro_conv_yuv ${D}/${libdir}/ | ||
| 35 | |||
| 36 | install -d ${D}${includedir}/vcu2-ctrl-sw/include | ||
| 37 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu2-ctrl-sw/include | ||
| 38 | } | ||
| 39 | |||
| 40 | PACKAGES =+ "libvcu2-ctrlsw" | ||
| 41 | FILES:libvcu2-ctrlsw += "${libdir}/liballegro*.so.*" | ||
| 42 | |||
| 43 | # These libraries shouldn't get installed in world builds unless something | ||
| 44 | # explicitly depends upon them. | ||
| 45 | |||
| 46 | EXCLUDE_FROM_WORLD = "1" | ||
| 47 | |||
| 48 | # Disable buildpaths QA check warnings. | ||
| 49 | INSANE_SKIP:${PN} += "buildpaths" | ||
