diff options
Diffstat (limited to 'meta-xilinx-multimedia/recipes-multimedia/vcu2/kernel-module-vcu2_2024.2.bb')
| -rw-r--r-- | meta-xilinx-multimedia/recipes-multimedia/vcu2/kernel-module-vcu2_2024.2.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-xilinx-multimedia/recipes-multimedia/vcu2/kernel-module-vcu2_2024.2.bb b/meta-xilinx-multimedia/recipes-multimedia/vcu2/kernel-module-vcu2_2024.2.bb new file mode 100644 index 00000000..a8e336a8 --- /dev/null +++ b/meta-xilinx-multimedia/recipes-multimedia/vcu2/kernel-module-vcu2_2024.2.bb | |||
| @@ -0,0 +1,36 @@ | |||
| 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 | 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/vcu2-modules.git;protocol=https" | ||
| 15 | SRCREV = "a0b6bd20dfd986a0877e75ff86effe422be26d42" | ||
| 16 | |||
| 17 | BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" | ||
| 18 | SRC_URI = " \ | ||
| 19 | ${REPO};${BRANCHARG} \ | ||
| 20 | file://99-vcu2-codec.rules \ | ||
| 21 | " | ||
| 22 | |||
| 23 | inherit module features_check | ||
| 24 | |||
| 25 | REQUIRED_MACHINE_FEATURES = "vcu2" | ||
| 26 | |||
| 27 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR} KDIR=${STAGING_KERNEL_BUILDDIR}" | ||
| 28 | |||
| 29 | RDEPENDS:${PN} = "vcu2-firmware" | ||
| 30 | |||
| 31 | do_install:append() { | ||
| 32 | install -d ${D}${sysconfdir}/udev/rules.d | ||
| 33 | install -m 0644 ${WORKDIR}/99-vcu2-codec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
| 34 | } | ||
| 35 | |||
| 36 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
