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.sch...@theobroma-systems.com> --- Note: this has NOT been tested. There is also no machine in poky/oe-core which makes use of that tune. conf/machine/include/mips/feature-mips-mips16e.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/include/mips/feature-mips-mips16e.inc b/conf/machine/include/mips/feature-mips-mips16e.inc index 101d5331bc..6fd12fb842 100644 --- a/conf/machine/include/mips/feature-mips-mips16e.inc +++ b/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']}" -- 2.31.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#155784): https://lists.openembedded.org/g/openembedded-core/message/155784 Mute This Topic: https://lists.openembedded.org/mt/85454828/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-