diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-03-14 14:57:48 -0500 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-03-15 18:49:50 -0500 |
| commit | dc96cae4b70252a7d5f0aff5ac3d4f9ab52889b9 (patch) | |
| tree | 2ce41db1aa3e5f148101e7d79024c36a7a33d112 /meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb | |
| parent | 1eabc463e02673e702379a4520ed5137d3144baa (diff) | |
| download | meta-xilinx-dc96cae4b70252a7d5f0aff5ac3d4f9ab52889b9.tar.gz | |
vcu and vdu: Branch recipes to 2023.2
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb')
| -rw-r--r-- | meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb new file mode 100644 index 00000000..77dabe19 --- /dev/null +++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu_2023.2.bb | |||
| @@ -0,0 +1,39 @@ | |||
| 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 = "master" | ||
| 15 | REPO = "git://github.com/Xilinx/vcu-modules.git;protocol=https" | ||
| 16 | SRCREV = "9295f18e8a1a1bcb1a5287b3c1093f98bf9e922f" | ||
| 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 features_check | ||
| 25 | |||
| 26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
| 27 | |||
| 28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | ||
| 29 | |||
| 30 | RDEPENDS:${PN} = "vcu-firmware" | ||
| 31 | |||
| 32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | ||
| 33 | |||
| 34 | do_install:append() { | ||
| 35 | install -d ${D}${sysconfdir}/udev/rules.d | ||
| 36 | install -m 0644 ${WORKDIR}/99-vcu-enc-dec.rules ${D}${sysconfdir}/udev/rules.d/ | ||
| 37 | } | ||
| 38 | |||
| 39 | FILES:${PN} = "${sysconfdir}/udev/rules.d/*" | ||
