Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | SUMMARY = "Firmware for VCU" |
| 2 | DESCRIPTION = "Firmware binaries provider for VCU" |
| 3 | LICENSE = "Proprietary" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=63b45903a9a50120df488435f03cf498" |
| 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 | |
| 10 | S = "${WORKDIR}/git" |
| 11 | |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 12 | BRANCH ?= "master-rel-2019.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 13 | REPO ?= "git://github.com/xilinx/vcu-firmware.git;protocol=https" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame] | 14 | SRCREV ?= "4078b74d16e5eccca5ae3132c3877d3aff7fb168" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 15 | |
| 16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 17 | SRC_URI = "${REPO};${BRANCHARG}" |
| 18 | |
| 19 | COMPATIBLE_MACHINE = "^$" |
| 20 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" |
| 21 | |
| 22 | PACKAGE_ARCH = "${SOC_FAMILY}" |
| 23 | |
| 24 | do_install() { |
| 25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw |
| 26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw |
| 27 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}/lib/firmware/al5e_b.fw |
| 28 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}/lib/firmware/al5e.fw |
| 29 | } |
| 30 | |
| 31 | # Inhibit warnings about files being stripped |
| 32 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 33 | INHIBIT_PACKAGE_STRIP = "1" |
| 34 | FILES_${PN} = "/lib/firmware/*" |
| 35 | |
| 36 | # These libraries shouldn't get installed in world builds unless something |
| 37 | # explicitly depends upon them. |
| 38 | EXCLUDE_FROM_WORLD = "1" |
| 39 | |
| 40 | INSANE_SKIP_${PN} = "ldflags" |