| SUMMARY = "Firmware for VCU" |
| DESCRIPTION = "Firmware binaries provider for VCU" |
| LICENSE = "Proprietary" |
| LIC_FILES_CHKSUM = "file://LICENSE;md5=63b45903a9a50120df488435f03cf498" |
| |
| XILINX_VCU_VERSION = "1.0.0" |
| XILINX_RELEASE_VERSION = "2018.3" |
| PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| |
| S = "${WORKDIR}/git" |
| |
| BRANCH ?= "master" |
| REPO ?= "git://github.com/xilinx/vcu-firmware.git;protocol=https" |
| SRCREV ?= "d01951905e1aedb179d838a6b86016f34e2f4966" |
| |
| BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| SRC_URI = "${REPO};${BRANCHARG}" |
| |
| COMPATIBLE_MACHINE = "^$" |
| COMPATIBLE_MACHINE_zynqmp = "zynqmp" |
| |
| PACKAGE_ARCH = "${SOC_FAMILY}" |
| |
| do_install() { |
| install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw |
| install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw |
| install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}/lib/firmware/al5e_b.fw |
| install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}/lib/firmware/al5e.fw |
| } |
| |
| # Inhibit warnings about files being stripped |
| INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| INHIBIT_PACKAGE_STRIP = "1" |
| FILES_${PN} = "/lib/firmware/*" |
| |
| # These libraries shouldn't get installed in world builds unless something |
| # explicitly depends upon them. |
| EXCLUDE_FROM_WORLD = "1" |
| |
| INSANE_SKIP_${PN} = "ldflags" |