diff options
Diffstat (limited to 'meta-xilinx-multimedia/recipes-multimedia/vdu/kernel-module-vdu_2024.2.bb')
-rw-r--r-- | meta-xilinx-multimedia/recipes-multimedia/vdu/kernel-module-vdu_2024.2.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-xilinx-multimedia/recipes-multimedia/vdu/kernel-module-vdu_2024.2.bb b/meta-xilinx-multimedia/recipes-multimedia/vdu/kernel-module-vdu_2024.2.bb new file mode 100644 index 00000000..2e784e3c --- /dev/null +++ b/meta-xilinx-multimedia/recipes-multimedia/vdu/kernel-module-vdu_2024.2.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Linux kernel module for Video Decode Unit" | ||
2 | DESCRIPTION = "Out-of-tree VDU decoder common kernel modules" | ||
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 | FILESEXTRAPATHS:prepend := "${THISDIR}/files:" | ||
11 | |||
12 | BRANCH ?= "xlnx_rel_v2024.2" | ||
13 | REPO ?= "git://github.com/Xilinx/vdu-modules.git;protocol=https" | ||
14 | SRCREV ?= "25773344ce1e539e7136c5a30cdee98a6cf490a8" | ||
15 | |||
16 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
17 | SRC_URI = "${REPO};${BRANCHARG} \ | ||
18 | file://99-vdu-enc-dec.rules \ | ||
19 | " | ||
20 | |||
21 | inherit module features_check | ||
22 | |||
23 | REQUIRED_MACHINE_FEATURES = "vdu" | ||
24 | |||
25 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
26 | |||
27 | RDEPENDS:${PN} = "vdu-firmware" | ||
28 | |||
29 | do_install:append() { | ||
30 | install -d ${D}${sysconfdir}/udev/rules.d | ||
31 | install -m 0644 ${WORKDIR}/99-vdu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
32 | } | ||
33 | |||
34 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||