<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-freescale.git/classes/machine-overrides-extender.bbclass, branch topic/better-nip-support</title>
<subtitle>Mirror of github.com/Freescale/meta-freescale</subtitle>
<id>https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-freescale.git/atom?h=topic%2Fbetter-nip-support'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/'/>
<updated>2022-02-21T22:22:02+00:00</updated>
<entry>
<title>classes/machine-overrides-extender: Postpone filter out</title>
<updated>2022-02-21T22:22:02+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-17T21:36:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=a3b102a9ed12ea03e72f713ed40968da1776c6d3'/>
<id>urn:sha1:a3b102a9ed12ea03e72f713ed40968da1776c6d3</id>
<content type='text'>
The overrides ought to allow the filter out execution even for overrides
included during the extension, for this to work we need to postpone it.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>classes/machine-overrides-extender: Allow filter out without an override</title>
<updated>2022-02-21T22:22:02+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2022-02-17T21:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=deea917d0aa76ce7e855dfa06cb4e0f6f9730ed3'/>
<id>urn:sha1:deea917d0aa76ce7e855dfa06cb4e0f6f9730ed3</id>
<content type='text'>
We should be able to use a single MACHINEOVERRIDES_EXTENDER_FILTER_OUT
definition, without an override, to reduce code duplication.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Adjust for new override character</title>
<updated>2021-08-12T17:08:24+00:00</updated>
<author>
<name>Tom Hochstein</name>
<email>tom.hochstein@nxp.com</email>
</author>
<published>2021-08-10T15:22:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=a31e8a6a7e8ba8a3eac1183349fd68a026fdaed1'/>
<id>urn:sha1:a31e8a6a7e8ba8a3eac1183349fd68a026fdaed1</id>
<content type='text'>
Signed-off-by: Tom Hochstein &lt;tom.hochstein@nxp.com&gt;
Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
</content>
</entry>
<entry>
<title>remove True option to getVar calls</title>
<updated>2019-01-17T14:29:17+00:00</updated>
<author>
<name>André Draszik</name>
<email>andre.draszik@jci.com</email>
</author>
<published>2019-01-17T14:29:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=74df05a7f0fd698cbbe65b9bf925f186891426ca'/>
<id>urn:sha1:74df05a7f0fd698cbbe65b9bf925f186891426ca</id>
<content type='text'>
getVar() has been defaulting to expanding by default for
a long time (2016), thus remove the True option from
getVar() calls with a regex search and replace.

Search &amp; replace made using the following command:
    sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
        -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
             | cut -d':' -f1 \
             | sort -u)

Signed-off-by: André Draszik &lt;andre.draszik@jci.com&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Avoid an empty override</title>
<updated>2018-07-03T21:40:57+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2018-07-03T21:39:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=e9820a5de4a32b80649946cdacfec9ffa9e9fe33'/>
<id>urn:sha1:e9820a5de4a32b80649946cdacfec9ffa9e9fe33</id>
<content type='text'>
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 &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Postpone overrides processing</title>
<updated>2018-07-03T12:17:52+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2018-07-02T23:24:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=d227cc133101ecbce25fc4f775863107537f883d'/>
<id>urn:sha1:d227cc133101ecbce25fc4f775863107537f883d</id>
<content type='text'>
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 &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Fix multilib parsing</title>
<updated>2018-06-01T12:49:26+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2018-05-28T19:27:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=a59a2059850c493772da39d2fd9ee71494326d12'/>
<id>urn:sha1:a59a2059850c493772da39d2fd9ee71494326d12</id>
<content type='text'>
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 &lt;cristinel.panfir@nxp.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Revert "machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event"</title>
<updated>2018-05-22T20:36:33+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2018-05-22T20:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=eeaa4b69ca399206f9e87d5104262eadb8808235'/>
<id>urn:sha1:eeaa4b69ca399206f9e87d5104262eadb8808235</id>
<content type='text'>
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 &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event</title>
<updated>2018-05-22T12:41:24+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2018-05-21T19:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=65144beb63673d215221d800e1905eedb9f2f8ed'/>
<id>urn:sha1:65144beb63673d215221d800e1905eedb9f2f8ed</id>
<content type='text'>
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 &lt;cristinel.panfir@nxp.com&gt;
Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>machine-overrides-extender.bbclass: Add filter out support</title>
<updated>2017-03-27T14:52:44+00:00</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2017-03-23T14:54:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-freescale.git/commit/?id=7dc760ad8b3b8d0f8562d60b9a60114f332abbea'/>
<id>urn:sha1:7dc760ad8b3b8d0f8562d60b9a60114f332abbea</id>
<content type='text'>
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 &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
</feed>
