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