diff options
Diffstat (limited to 'meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb')
-rw-r--r-- | meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb new file mode 100644 index 00000000..0cb0c0ef --- /dev/null +++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2022.2.bb | |||
@@ -0,0 +1,40 @@ | |||
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 = "GPL-2.0-only" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" | ||
6 | |||
7 | XILINX_VCU_VERSION = "1.0.0" | ||
8 | PV = "${XILINX_VCU_VERSION}-xilinx-v${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1] or ''}+git${SRCPV}" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
13 | |||
14 | BRANCH = "xlnx_rel_v2022.1" | ||
15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
16 | SRCREV = "9d2657550eccebccce08cacfcdd369367b9f6be4" | ||
17 | |||
18 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
19 | SRC_URI = " \ | ||
20 | ${REPO};${BRANCHARG} \ | ||
21 | file://99-vcu-enc-dec.rules \ | ||
22 | " | ||
23 | |||
24 | inherit module | ||
25 | |||
26 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
27 | |||
28 | RDEPENDS:${PN} = "vcu-firmware" | ||
29 | |||
30 | COMPATIBLE_MACHINE = "^$" | ||
31 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
32 | |||
33 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
34 | |||
35 | do_install:append() { | ||
36 | install -d ${D}${sysconfdir}/udev/rules.d | ||
37 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
38 | } | ||
39 | |||
40 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||