aboutsummaryrefslogtreecommitdiffstats
path: root/classes/machine-overrides-extender.bbclass
AgeCommit message (Collapse)Author
2018-07-03machine-overrides-extender.bbclass: Avoid an empty overrideOtavio Salvador
All uses of MACHINEOVERRIDES already include an ':' suffix so we cannot add it again or we end with a match-all override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit e9820a5de4a32b80649946cdacfec9ffa9e9fe33)
2018-07-03machine-overrides-extender.bbclass: Postpone overrides processingOtavio Salvador
We need to keep a reference to the original MACHINEOVERRIDES value so it can be reprocessed as need. This allow the compatibility with existing BSP's while fixing the complex multilib interactions. I'd like to record that Richard Purdie was key to solve this issue. Its implications were beyond my understanding until he guided me and provided a prototype fix. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit d227cc133101ecbce25fc4f775863107537f883d)
2018-06-01machine-overrides-extender.bbclass: Fix multilib parsingOtavio Salvador
The 'ConfigParsed' event was too early and when we mangled the MACHINEOVERRIDES using the extender, we ended overriding some values when using together with multilib. This fixes the multilib use-case and keep current ones working. Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit a59a2059850c493772da39d2fd9ee71494326d12)
2018-05-22Revert "machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event"Otavio Salvador
This reverts commit 65144beb63673d215221d800e1905eedb9f2f8ed. The commit has side effects and must be better investigated. For now, we are reverting it so we don't cause problems for other use cases. Change-Id: I63333c974746bd7f95fa7a56153099256e206912 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-05-22machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' eventOtavio Salvador
The 'ConfigParsed' event was too early and when we mangled the MACHINEOVERRIDES using the extender, we ended overriding some values when using together with multilib. This fixes the multilib use-case and keep current ones working. Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-03-27machine-overrides-extender.bbclass: Add filter out supportOtavio Salvador
The allow easier enablement of mainline BSP support, we need to allow for specific overrides to be filtered out, before and during the extending process. The new MACHINEOVERRIDES_EXTENDER_FILTER_OUT variable does exactly this and will be used in a subsequent commit to enable the 'use-mainline-bsp' override. Change-Id: Ieaec9d5eb27ccc73b7b0097cb365c519978bd080 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2016-09-08machine-overrides-extender.bbclass: Automatically set extend the ↵Otavio Salvador
MACHINEOVERRIDES This allow to grouping of different settings for similar platforms. To use the class, specify, for example: MACHINEOVERRIDES_EXTENDER_soc = "group1:group2" Change-Id: I4a7dcd353b8bedf9d8f213827d7de768783c3d5d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>