diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2023-01-23 15:06:25 -0800 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2023-01-25 07:24:20 -0800 |
| commit | 5120502cc1ea86c07963cbaa41c1b260ec3d0a50 (patch) | |
| tree | f78d6ee3716bc9f1be52717fd55564387bfb1119 | |
| parent | a5d939f2ed726f24920ebee3676763ee777612e3 (diff) | |
| download | meta-xilinx-5120502cc1ea86c07963cbaa41c1b260ec3d0a50.tar.gz | |
kernel-module-vcu: Enable the module by MACHINE_FEATURE
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb index c696d89d..210c85a6 100644 --- a/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb +++ b/meta-xilinx-core/recipes-multimedia/vcu/kernel-module-vcu.bb | |||
| @@ -21,15 +21,14 @@ SRC_URI = " \ | |||
| 21 | file://99-vcu-enc-dec.rules \ | 21 | file://99-vcu-enc-dec.rules \ |
| 22 | " | 22 | " |
| 23 | 23 | ||
| 24 | inherit module | 24 | inherit module features_check |
| 25 | |||
| 26 | REQUIRED_MACHINE_FEATURES = "vcu" | ||
| 25 | 27 | ||
| 26 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" | 28 | EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" |
| 27 | 29 | ||
| 28 | RDEPENDS:${PN} = "vcu-firmware" | 30 | RDEPENDS:${PN} = "vcu-firmware" |
| 29 | 31 | ||
| 30 | COMPATIBLE_MACHINE = "^$" | ||
| 31 | COMPATIBLE_MACHINE:zynqmp = "zynqmp" | ||
| 32 | |||
| 33 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" | 32 | KERNEL_MODULE_AUTOLOAD += "dmaproxy" |
| 34 | 33 | ||
| 35 | do_install:append() { | 34 | do_install:append() { |
