Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 1 | SUMMARY = "Linux kernel module for Video Code Unit" |
| 2 | DESCRIPTION = "Out-of-tree VCU decoder, encoder and common kernel modules provider for MPSoC EV devices" |
| 3 | SECTION = "kernel/modules" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" |
| 6 | |
| 7 | XILINX_VCU_VERSION = "1.0.0" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 8 | XILINX_RELEASE_VERSION = "v2019.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 9 | PV = "${XILINX_VCU_VERSION}-xilinx-${XILINX_RELEASE_VERSION}+git${SRCPV}" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 13 | BRANCH ?= "master-rel-2019.1" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 14 | REPO ?= "git://github.com/xilinx/vcu-modules.git;protocol=https" |
Brad Bishop | 754b8fa | 2019-08-20 09:16:20 -0400 | [diff] [blame^] | 15 | SRCREV ?= "13a8e5b3f614d94081481a808aa8d4bd00b26d76" |
Brad Bishop | 286d45c | 2018-10-02 15:21:57 -0400 | [diff] [blame] | 16 | |
| 17 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" |
| 18 | SRC_URI = "${REPO};${BRANCHARG}" |
| 19 | |
| 20 | inherit module |
| 21 | |
| 22 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
| 23 | |
| 24 | RDEPENDS_${PN} = "vcu-firmware" |
| 25 | |
| 26 | COMPATIBLE_MACHINE = "^$" |
| 27 | COMPATIBLE_MACHINE_zynqmp = "zynqmp" |
| 28 | |
| 29 | PACKAGE_ARCH = "${SOC_FAMILY}" |