blob: e29bfb79454c8b4b3aca2dfeae9ecde3d37b576a [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001SUMMARY = "Firmware for VCU"
2DESCRIPTION = "Firmware binaries provider for VCU"
3LICENSE = "Proprietary"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=63b45903a9a50120df488435f03cf498"
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
9S = "${WORKDIR}/git"
10
Andrew Geissler84ad7c52020-06-27 00:00:16 -050011BRANCH ?= "release-2020.1"
Brad Bishop286d45c2018-10-02 15:21:57 -040012REPO ?= "git://github.com/xilinx/vcu-firmware.git;protocol=https"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050013SRCREV ?= "7ecfd476deb054f354791cc1300ccba069e234f5"
Brad Bishop286d45c2018-10-02 15:21:57 -040014
15BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
16SRC_URI = "${REPO};${BRANCHARG}"
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
23do_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
31INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
32INHIBIT_PACKAGE_STRIP = "1"
33FILES_${PN} = "/lib/firmware/*"
34
35# These libraries shouldn't get installed in world builds unless something
36# explicitly depends upon them.
37EXCLUDE_FROM_WORLD = "1"
38
39INSANE_SKIP_${PN} = "ldflags"