blob: d7208257182026aa4f01e1fb89c6783c49329ca5 [file] [log] [blame]
Brad Bishop286d45c2018-10-02 15:21:57 -04001SUMMARY = "Linux kernel module for Video Code Unit"
2DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices"
3SECTION = "kernel/modules"
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a"
6
7XILINX_VCU_VERSION = "1.0.0"
Brad Bishop286d45c2018-10-02 15:21:57 -04008PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}"
9
10S = "${WORKDIR}/git"
11
Andrew Geissler84ad7c52020-06-27 00:00:16 -050012BRANCH ?= "release-2020.1"
Brad Bishop286d45c2018-10-02 15:21:57 -040013REPO ?= "git://github.com/xilinx/vcu-modules.git;protocol=https"
Andrew Geissler84ad7c52020-06-27 00:00:16 -050014SRCREV ?= "38827a9172cfb1f0243547c04b2babc045d411ee"
Brad Bishop286d45c2018-10-02 15:21:57 -040015
16BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
17SRC_URI = "${REPO};${BRANCHARG}"
18
19inherit module
20
21EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}"
22
23RDEPENDS_${PN} = "vcu-firmware"
24
25COMPATIBLE_MACHINE = "^$"
26COMPATIBLE_MACHINE_zynqmp = "zynqmp"
27
Andrew Geissler84ad7c52020-06-27 00:00:16 -050028PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"
29
30KERNEL_MODULE_AUTOLOAD += "dmaproxy"