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 | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 7 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 11 | BRANCH ?= "release-2020.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 12 | REPO ?= "git://github.com/xilinx/vcu-firmware.git;protocol=https" |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 13 | SRCREV ?= "7ecfd476deb054f354791cc1300ccba069e234f5" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 14 | |
| 15 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 16 | SRC_URI = "${REPO};${BRANCHARG}" |
| 17 | |
| 18 | COMPATIBLE_MACHINE = "^$" |
| 19 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" |
| 20 | |
Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 21 | PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 22 | |
| 23 | do_install() { |
| 24 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d_b.fw ${D}/lib/firmware/al5d_b.fw |
| 25 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5d.fw ${D}/lib/firmware/al5d.fw |
| 26 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e_b.fw ${D}/lib/firmware/al5e_b.fw |
| 27 | install -Dm 0644 ${S}/${XILINX_VCU_VERSION}/lib/firmware/al5e.fw ${D}/lib/firmware/al5e.fw |
| 28 | } |
| 29 | |
| 30 | # Inhibit warnings about files being stripped |
| 31 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
| 32 | INHIBIT_PACKAGE_STRIP = "1" |
| 33 | FILES_${PN} = "/lib/firmware/*" |
| 34 | |
| 35 | # These libraries shouldn't get installed in world builds unless something |
| 36 | # explicitly depends upon them. |
| 37 | EXCLUDE_FROM_WORLD = "1" |
| 38 | |
| 39 | INSANE_SKIP_${PN} = "ldflags" |