summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2021-09-08 08:56:46 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-10 08:25:38 (GMT)
commitea71f54102a4dcb64ee2150c2555a87cfcf8beaf (patch)
tree576affb49d4217dad30027727a752315a3557eb2 /meta/conf
parentfa811bef8501e60fd16140cc2353882ba09abf9a (diff)
downloadpoky-ea71f54102a4dcb64ee2150c2555a87cfcf8beaf.tar.gz
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)). (From OE-Core rev: c1d524cae8ba5aa1e30e4a66937b8af3d4a67531) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-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 101d533..6fd12fb 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',
11TUNEVALID[no-interlink-compressed] = "Disable mixing of standard and MIPS16e code" 11TUNEVALID[no-interlink-compressed] = "Disable mixing of standard and MIPS16e code"
12MIPS16_TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'no-interlink-compressed', ' -mno-interlink-compressed', ' -minterlink-compressed', d)}" 12MIPS16_TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'no-interlink-compressed', ' -mno-interlink-compressed', ' -minterlink-compressed', d)}"
13TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ' ${MIPS16_TUNE_CCARGS}', '', d)}" 13TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ' ${MIPS16_TUNE_CCARGS}', '', d)}"
14OVERRIDES .= "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', ':mips16e', '', d)}" 14MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'mips16e', 'mips16e:', '', d)}"
15 15
16# show status (if compiling in MIPS16e mode) 16# show status (if compiling in MIPS16e mode)
17BUILDCFG_VARS += "${@['', 'MIPS_INSTRUCTION_SET'][d.getVar('MIPS_INSTRUCTION_SET') == 'mips16e']}" 17BUILDCFG_VARS += "${@['', 'MIPS_INSTRUCTION_SET'][d.getVar('MIPS_INSTRUCTION_SET') == 'mips16e']}"