diff options
Diffstat (limited to 'meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb new file mode 100644 index 00000000..b2931886 --- /dev/null +++ b/meta-xilinx-core/recipes-multimedia/vcu/libvcu-xlnx_2023.2.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | SUMMARY = "Control Software for VCU" | ||
| 2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5375796c5ae4ee85ea1f2c1603e58509" | ||
| 5 | |||
| 6 | XILINX_VCU_VERSION = "1.0.0" | ||
| 7 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
| 8 | |||
| 9 | BRANCH ?= "master" | ||
| 10 | REPO ?= "git://github.com/Xilinx/vcu-ctrl-sw.git;protocol=https" | ||
| 11 | SRCREV = "83aabb84c26667f7d6aee632654c63e504838061" | ||
| 12 | |||
| 13 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
| 14 | SRC_URI = "${REPO};${BRANCHARG}" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | inherit features_check | ||
| 19 | |||
| 20 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
| 21 | |||
| 22 | RDEPENDS:${PN} = "kernel-module-vcu" | ||
| 23 | |||
| 24 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" | ||
| 25 | |||
| 26 | do_install() { | ||
| 27 | install -d ${D}${libdir} | ||
| 28 | install -d ${D}${includedir}/vcu-ctrl-sw/include | ||
| 29 | |||
| 30 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder | ||
| 31 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder | ||
| 32 | |||
| 33 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include | ||
| 34 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ | ||
| 35 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ | ||
| 36 | } | ||
| 37 | |||
| 38 | # These libraries shouldn't get installed in world builds unless something | ||
| 39 | # explicitly depends upon them. | ||
| 40 | |||
| 41 | EXCLUDE_FROM_WORLD = "1" | ||
| 42 | |||
| 43 | # Disable buildpaths QA check warnings. | ||
| 44 | INSANE_SKIP:${PN} += "buildpaths" | ||
