diff options
Diffstat (limited to 'classes/zynqmp-pmu.bbclass')
-rw-r--r-- | classes/zynqmp-pmu.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/zynqmp-pmu.bbclass b/classes/zynqmp-pmu.bbclass index 3ebe4881..714eb96a 100644 --- a/classes/zynqmp-pmu.bbclass +++ b/classes/zynqmp-pmu.bbclass | |||
@@ -16,6 +16,7 @@ | |||
16 | ORIG_TARGET_ARCH := "${TARGET_ARCH}" | 16 | ORIG_TARGET_ARCH := "${TARGET_ARCH}" |
17 | 17 | ||
18 | # zynqmp-pmu target arch (hardcoded based on pre-gen data from arch-microblaze.inc) | 18 | # zynqmp-pmu target arch (hardcoded based on pre-gen data from arch-microblaze.inc) |
19 | DEFAULTTUNE = "microblaze" | ||
19 | ABIEXTENSION = "" | 20 | ABIEXTENSION = "" |
20 | TUNE_ARCH = "microblazeel" | 21 | TUNE_ARCH = "microblazeel" |
21 | #TUNE_FEATURES_tune-microblaze += "v9.2 barrel-shift pattern-compare" | 22 | #TUNE_FEATURES_tune-microblaze += "v9.2 barrel-shift pattern-compare" |
@@ -65,6 +66,9 @@ python multitarget_zynqmp_pmu_virtclass_handler () { | |||
65 | e.data.setVar("MLPREFIX", variant + "-") | 66 | e.data.setVar("MLPREFIX", variant + "-") |
66 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-" + variant) | 67 | e.data.setVar("OVERRIDES", e.data.getVar("OVERRIDES", False) + ":virtclass-" + variant) |
67 | 68 | ||
69 | # hide multilib variants, this class is not one but this works around recipes thinking it is (due to MLPREFIX). | ||
70 | e.data.setVar("MULTILIB_VARIANTS", "") | ||
71 | |||
68 | # work around for -cross recipes that embed the TARGET_ARCH value | 72 | # work around for -cross recipes that embed the TARGET_ARCH value |
69 | if bb.data.inherits_class('cross', e.data): | 73 | if bb.data.inherits_class('cross', e.data): |
70 | if initialpn.endswith("-" + d.getVar("ORIG_TARGET_ARCH")): | 74 | if initialpn.endswith("-" + d.getVar("ORIG_TARGET_ARCH")): |