diff options
| author | Mark Hatle <mark.hatle@amd.com> | 2022-10-24 18:32:34 -0700 |
|---|---|---|
| committer | Mark Hatle <mark.hatle@amd.com> | 2022-10-25 07:28:58 -0700 |
| commit | a2bf2ece9583e3c45994788868da48dbe53e17d3 (patch) | |
| tree | ce749063344a34fa658d844cda4c1fee4ea8b83d | |
| parent | 952b3ae84e74aa457f8605c702ad21e5e3231f21 (diff) | |
| download | meta-xilinx-a2bf2ece9583e3c45994788868da48dbe53e17d3.tar.gz | |
kernel-module-mali: Use REQUIRED_MACHINE_FEATURES for better error messages
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
| -rw-r--r-- | meta-xilinx-core/recipes-graphics/mali/kernel-module-mali.bb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali.bb b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali.bb index a2fff488..28586976 100644 --- a/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali.bb +++ b/meta-xilinx-core/recipes-graphics/mali/kernel-module-mali.bb | |||
| @@ -35,14 +35,13 @@ SRC_URI = " \ | |||
| 35 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" | 35 | SRC_URI[md5sum] = "85ea110dd6675c70b7d01af87ec9633c" |
| 36 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" | 36 | SRC_URI[sha256sum] = "7a67127341d17640c1fff5dad80258fb2a37c8a2121b81525fe2327e4532ce2b" |
| 37 | 37 | ||
| 38 | inherit module | 38 | inherit features_check module |
| 39 | 39 | ||
| 40 | PARALLEL_MAKE = "-j 1" | 40 | PARALLEL_MAKE = "-j 1" |
| 41 | 41 | ||
| 42 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" | 42 | S = "${WORKDIR}/DX910-SW-99002-${PV}/driver/src/devicedrv/mali" |
| 43 | 43 | ||
| 44 | COMPATIBLE_MACHINE = "^$" | 44 | REQUIRED_MACHINE_FEATURES = "mali400" |
| 45 | COMPATIBLE_MACHINE:mali400 = ".*" | ||
| 46 | 45 | ||
| 47 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ | 46 | EXTRA_OEMAKE = 'KDIR="${STAGING_KERNEL_DIR}" \ |
| 48 | ARCH="${ARCH}" \ | 47 | ARCH="${ARCH}" \ |
