Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | SUMMARY = "Control Software for VCU" |
| 2 | DESCRIPTION = "Control software libraries, test applications and headers provider for VCU" |
| 3 | LICENSE = "Proprietary" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=03a7aef7e6f6a76a59fd9b8ba450b493" |
| 5 | |
| 6 | XILINX_VCU_VERSION = "1.0.0" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 7 | XILINX_RELEASE_VERSION = "v2019.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 8 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 9 | |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 10 | BRANCH ?= "master-rel-2019.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 11 | REPO ?= "git://github.com/xilinx/vcu-ctrl-sw.git;protocol=https" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 12 | SRCREV ?= "32b7be620987283f62e4469185da81dddad1071c" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 13 | |
| 14 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 15 | SRC_URI = "${REPO};${BRANCHARG}" |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | COMPATIBLE_MACHINE = "^$" |
| 20 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" |
| 21 | |
| 22 | PACKAGE_ARCH = "${SOC_FAMILY}" |
| 23 | |
| 24 | RDEPENDS_${PN} = "kernel-module-vcu" |
| 25 | |
| 26 | EXTRA_OEMAKE = "CC='${CC}' CXX='${CXX} ${CXXFLAGS}'" |
| 27 | |
| 28 | do_install() { |
| 29 | install -d ${D}${libdir} |
| 30 | install -d ${D}${includedir}/vcu-ctrl-sw/include |
| 31 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 32 | install -Dm 0755 ${S}/bin/ctrlsw_encoder ${D}/${bindir}/ctrlsw_encoder |
| 33 | install -Dm 0755 ${S}/bin/ctrlsw_decoder ${D}/${bindir}/ctrlsw_decoder |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 34 | |
| 35 | oe_runmake install_headers INSTALL_HDR_PATH=${D}${includedir}/vcu-ctrl-sw/include |
| 36 | oe_libinstall -C ${S}/bin/ -so liballegro_decode ${D}/${libdir}/ |
| 37 | oe_libinstall -C ${S}/bin/ -so liballegro_encode ${D}/${libdir}/ |
| 38 | } |
| 39 | |
| 40 | # These libraries shouldn't get installed in world builds unless something |
| 41 | # explicitly depends upon them. |
| 42 | |
| 43 | EXCLUDE_FROM_WORLD = "1" |