diff options
author | Christian Kohn <chris.kohn@amd.com> | 2024-11-11 18:37:43 -0800 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2025-03-30 11:13:55 -0600 |
commit | 1cadf7c760ebf9c467e516e63ed6d2653bd1f13e (patch) | |
tree | 46ebe9de4ac82f204b00b0016ae464bfe34bcc33 | |
parent | 2ad9dd522eef72bc5cb2d8930251b6998ce1494a (diff) | |
download | meta-xilinx-1cadf7c760ebf9c467e516e63ed6d2653bd1f13e.tar.gz |
dfx_user_dts: Simplify compatible machine logic
COMPATIBLE_MACHINE and PACKAGE_ARCH defaults are already set as part
of the devicetree class which this class inherits, therefore remove
those entries. Use COMPATIBLE_HOST instead of COMPATIBLE_MACHINE to
disallow microblaze builds.
Signed-off-by: Christian Kohn <chris.kohn@amd.com>
Signed-off-by: Mark Hatle <mark.hatle@amd.com>
-rw-r--r-- | meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass index d4a01048..6cecf14d 100644 --- a/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass +++ b/meta-xilinx-core/classes-recipe/dfx_user_dts.bbclass | |||
@@ -11,13 +11,8 @@ inherit devicetree | |||
11 | 11 | ||
12 | DEPENDS = "dtc-native bootgen-native" | 12 | DEPENDS = "dtc-native bootgen-native" |
13 | 13 | ||
14 | # recipes that inherit from this class need to use an appropriate machine | 14 | # Don't allow building for microblaze architectures |
15 | # override for COMPATIBLE_MACHINE to build successfully; don't allow building | 15 | COMPATIBLE_HOST:microblaze = "null" |
16 | # for microblaze MACHINE | ||
17 | COMPATIBLE_MACHINE ?= "^$" | ||
18 | COMPATIBLE_MACHINE:microblaze = "^$" | ||
19 | |||
20 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
21 | 16 | ||
22 | PROVIDES = "" | 17 | PROVIDES = "" |
23 | 18 | ||