aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2021-09-08 10:56:46 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-10 09:25:04 +0100
commitc1d524cae8ba5aa1e30e4a66937b8af3d4a67531 (patch)
treed207e9e3c0d8f9826f75344c5ea4c3f517167c73 /meta
parentd8862f5b85266b2f8592cb1efe23e377c10c7b7d (diff)
downloadopenembedded-core-c1d524cae8ba5aa1e30e4a66937b8af3d4a67531.tar.gz
openembedded-core-c1d524cae8ba5aa1e30e4a66937b8af3d4a67531.tar.bz2
openembedded-core-c1d524cae8ba5aa1e30e4a66937b8af3d4a67531.zip
conf/mips: mips16e: prepend override to MACHINEOVERRIDES
Add the tune specific override to MACHINEOVERRIDES and not OVERRIDES as is done for all other tune include files. Also prepend it instead of appending so that it's among the leftmost overrides in MACHINEOVERRIDES and has a lower precedence compared to other MACHINEOVERRIDES added later (which usually are added via a =. (prepend)). Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/machine/include/mips/feature-mips-mips16e.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/conf/machine/include/mips/feature-mips-mips16e.inc b/meta/conf/machine/include/mips/feature-mips-mips16e.inc
index 101d5331bc..6fd12fb842 100644
--- a/meta/conf/machine/include/mips/feature-mips-mips16e.inc
+++ b/meta/conf/machine/include/mips/feature-mips-mips16e.inc
@@ -11,7 +11,7 @@ MIPSPKGSFX_MIPS16E .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', '-m16',
TUNEVALID[no-interlink-compressed] = "Disable mixing of standard and MIPS16e code"
MIPS16_TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'no-interlink-compressed', ' -mno-interlink-compressed', ' -minterlink-compressed', d)}"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ' ${MIPS16_TUNE_CCARGS}', '', d)}"
-OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ':mips16e', '', d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', 'mips16e:', '', d)}"
# show status (if compiling in MIPS16e mode)
BUILDCFG_VARS += "${@['', 'MIPS_INSTRUCTION_SET'][d.getVar('MIPS_INSTRUCTION_SET') == 'mips16e']}"