<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/autotools.bbclass, branch uninative-2.10</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.10</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=uninative-2.10'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2020-11-08T14:03:20+00:00</updated>
<entry>
<title>autotools: CONFIG_SHELL defaults</title>
<updated>2020-11-08T14:03:20+00:00</updated>
<author>
<name>Andrej Valek</name>
<email>andrej.valek@siemens.com</email>
</author>
<published>2020-11-04T13:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fad3498a79c0a6a01034526e47045c9012c193d0'/>
<id>urn:sha1:fad3498a79c0a6a01034526e47045c9012c193d0</id>
<content type='text'>
Do not hard-code default shell to /bin/bash even if CONFIG_SHELL is already
set to other shell, but keep /bin/bash as a default. This will fix a shadow
issue, where CONFIG_SHELL is exported to /bin/sh, but /bin/bash is used
even if it's not installed.

(From OE-Core rev: 019d9128af813cb87b702ae10aa630c79fc24c00)

Signed-off-by: Andrej Kozemcak &lt;andrej.kozemcak@siemens.com&gt;
Signed-off-by: Andrej Valek &lt;andrej.valek@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools.bbclass: Order CONFIG_SHELL before CACHED_CONFIGUREVARS</title>
<updated>2020-10-17T11:34:29+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2020-10-15T05:36:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b6d0627f250de99b7733c95385f15c6f5ce8c136'/>
<id>urn:sha1:b6d0627f250de99b7733c95385f15c6f5ce8c136</id>
<content type='text'>
This helps in overriding CACHED_CONFIGUREVARS with wrappers to run
configure under e.g. for static analysers like scan-build from clang,
while it should not change the functionality in normal case.

Since CONFIG_SHELL was introduced, it silently broke this use case and
failed running static analyser on autotool based recipes

(From OE-Core rev: 14c3454db0108ff78b73eecfae179a69241d9f5c)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools: don't special-case help2man-native for dependencies</title>
<updated>2020-07-18T10:06:32+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@arm.com</email>
</author>
<published>2020-07-16T11:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=60114299f09fbb35cda6ac4b08c0f75e2c6c1320'/>
<id>urn:sha1:60114299f09fbb35cda6ac4b08c0f75e2c6c1320</id>
<content type='text'>
help2man-native doesn't need to be handled specially, we can build it
normally or use INHIBIT_AUTOTOOLS_DEPS like everyone else.

(From OE-Core rev: 886e7d08208c8788488f8299786140fd5b61e548)

Signed-off-by: Ross Burton &lt;ross.burton@arm.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools: Give in and force CONFIG_SHELL to bash</title>
<updated>2020-01-28T11:11:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2020-01-27T17:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=93739bca2a88002d1ac5a87ce5453e77304a9c1d'/>
<id>urn:sha1:93739bca2a88002d1ac5a87ce5453e77304a9c1d</id>
<content type='text'>
At present, CONFIG_SHELL becomes /bin/sh if its bash and /bin/bash if not. This
isn't deterministic and leads to changes in ptest packages which include Makefiles.

At first glance you'd think we'd hardcode to /bin/sh since most system shells are sane.

Sadly the dash vs. bash leads to quoting differences in configure.

The bash default is probably the safest option since configure tries to find bash
and this is what most systems would end up using.

The end result is a more consisent build environment.

[YOCTO #13752]

(From OE-Core rev: 33b1e27c29ed05da783f814cf9c3035675087ecc)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools: always include config_site.d files in CONFIG_SITE</title>
<updated>2019-09-06T13:58:10+00:00</updated>
<author>
<name>Dan Callaghan</name>
<email>dan.callaghan@opengear.com</email>
</author>
<published>2019-08-05T01:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=25ed4f7073bade8c46be3eab5092fb7086161af9'/>
<id>urn:sha1:25ed4f7073bade8c46be3eab5092fb7086161af9</id>
<content type='text'>
Fixes: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13375

(From OE-Core rev: e60c170b451a4aa561d08bfce97dca05508c2106)

Signed-off-by: Dan Callaghan &lt;dan.callaghan@opengear.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools.bbclass: adjust indentation for consistency</title>
<updated>2018-09-05T17:00:24+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-08-31T03:28:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=675d3722051a775ad76316edd120d22fd3da2c88'/>
<id>urn:sha1:675d3722051a775ad76316edd120d22fd3da2c88</id>
<content type='text'>
All other functions in this class use TAB for indentation while
the do_compile function uses '4 spaces'. Adjust it for consistency.

(From OE-Core rev: c2829b74892633c554a5f8262d4cafbe0fa6c3a7)

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools.bbclass: fix autoreconf bbnote commandline arguments</title>
<updated>2018-07-26T12:16:41+00:00</updated>
<author>
<name>Andre McCurdy</name>
<email>armccurdy@gmail.com</email>
</author>
<published>2018-07-24T02:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=fe258fb84a15850546f60db474050288c24d95d8'/>
<id>urn:sha1:fe258fb84a15850546f60db474050288c24d95d8</id>
<content type='text'>
Leaving -Wcross out of the bbnote version of the autoreconf command
seems to be a long standing inconsistency (dating back to the very
first commit in oe-core) but there's no obvious reason to do so.

(From OE-Core rev: 40644b2b33db6332293543bb39e8d4da07cf8c54)

Signed-off-by: Andre McCurdy &lt;armccurdy@gmail.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools: don't wipe gettext macros from gettext</title>
<updated>2018-01-14T09:11:57+00:00</updated>
<author>
<name>Ross Burton</name>
<email>ross.burton@intel.com</email>
</author>
<published>2018-01-09T00:21:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8418f5555d6b5416efa7ac83289ed5bddd1d3c5a'/>
<id>urn:sha1:8418f5555d6b5416efa7ac83289ed5bddd1d3c5a</id>
<content type='text'>
We usually forcibly delete any gettext macros we come across to ensure that the
latest versions we ship are used, but if we're building gettext then it's a bad
idea to delete the gettext macros.

Historically this hasn't been a problem as the top-level gettext configure
doesn't use AM_GNU_GETTEXT so the deletion was never done, but this may change.

(From OE-Core rev: f16657df977e54210774812d4e616403c76eb060)

Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>siteinfo: fix siteinfo_get_files to work with RSS</title>
<updated>2017-07-30T07:46:19+00:00</updated>
<author>
<name>Jackie Huang</name>
<email>jackie.huang@windriver.com</email>
</author>
<published>2017-05-31T08:27:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e925d9b9cc50cb23dbfbe28f0c4fc72a56e40560'/>
<id>urn:sha1:e925d9b9cc50cb23dbfbe28f0c4fc72a56e40560</id>
<content type='text'>
The siteconfig cache files in ACLOCALDIR setup by autotools.bbclass
has been dropped after switching to RSS, so change the siteconfig
search path back to SITECONFIG_SYSROOTCACHE and the parameter
name changed from aclocalcache to sysrootcache.

(From OE-Core rev: 5b1454304483a0bc725b32fd5458e5281c68112f)

Signed-off-by: Jackie Huang &lt;jackie.huang@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>autotools.bbclass: Replace "grep ... &gt;/dev/null" with "grep -q"</title>
<updated>2017-03-27T10:08:34+00:00</updated>
<author>
<name>Robert P. J. Day</name>
<email>rpjday@crashcourse.ca</email>
</author>
<published>2017-03-26T10:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=6b210e74b7f7d622c95428210fc641788af29266'/>
<id>urn:sha1:6b210e74b7f7d622c95428210fc641788af29266</id>
<content type='text'>
For aesthetic style reasons, use "grep -q" instead of "&gt;/dev/null".

(From OE-Core rev: 39a7bfde92211b3546ff0a8e6a3e549714996b28)

Signed-off-by: Robert P. J. Day &lt;rpjday@crashcourse.ca&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
