blob: 54fe19a92641fb52209fb372a94d7999d24b54ff [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001SUMMARY = "Control Software for VCU"
2DESCRIPTION = "Control software libraries, test applications and headers provider for VCU"
3LICENSE = "Proprietary"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493"
5
6XILINX_VCU_VERSION = "1.0.0"
Brad Bishop286d45c2018-10-02 15:21:57 -04007PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
8
Andrew Geissler84ad7c52020-06-27 00:00:16 -05009BRANCH ?= "release-2020.1"
Brad Bishop286d45c2018-10-02 15:21:57 -040010REPO ?= "git://github.com/xilinx/vcu-ctrl-sw.git;protocol=https"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050011SRCREV ?= "8ad2b1323bdc98d580360e1a01006d70625c4e65"
Brad Bishop286d45c2018-10-02 15:21:57 -040012
13BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
14SRC_URI = "${REPO};${BRANCHARG}"
15
16S = "${WORKDIR}/git"
17
18COMPATIBLE_MACHINE = "^$"
19COMPATIBLE_MACHINE_zynqmp = "zynqmp"
20
Andrew Geissler84ad7c52020-06-27 00:00:16 -050021PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
Brad Bishop286d45c2018-10-02 15:21:57 -040022
23RDEPENDS_${PN} = "kernel-module-vcu"
24
25EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'"
26
27do_install() {
28 install -d ${D}${libdir}
29 install -d ${D}${includedir}/vcu-ctrl-sw/include
30
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080031 install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder
32 install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder
Brad Bishop286d45c2018-10-02 15:21:57 -040033
34 oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include
35 oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/
36 oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/
37}
38
39# These libraries shouldn't get installed in world builds unless something
40# explicitly depends upon them.
41
42EXCLUDE_FROM_WORLD = "1"