<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/scripts/ext-toolchain.sh, branch v21.02.7</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=v21.02.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=v21.02.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2022-12-04T15:07:35Z</updated>
<entry>
<title>scripts: ext-toolchain: add support for musl</title>
<updated>2022-12-04T15:07:35Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-17T15:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=fd90eed40ce6828a1bbd11d1a394e7c6368d0577'/>
<id>urn:sha1:fd90eed40ce6828a1bbd11d1a394e7c6368d0577</id>
<content type='text'>
Openwrt now supports only glibc and musl. Add support for musl and
rework the libc check to handle the new config flags and correctly
compile package basend on that.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 7be01fe13b4517e5edb8a4818f437d60144cdcb4)
</content>
</entry>
<entry>
<title>scripts: ext-toolchain: add support for info.mk in probe_cc</title>
<updated>2022-12-04T15:07:35Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-17T15:56:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=462c5653e18f0bd2c9ec66a2b154bf26d8f4aa1d'/>
<id>urn:sha1:462c5653e18f0bd2c9ec66a2b154bf26d8f4aa1d</id>
<content type='text'>
Openwrt generate info.mk that contains the libc type. For probe_cc check
if the file exist and parse directly it for LIBC type.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 75311977f5ff64b491cb57ac713d75e0e410d786)
</content>
</entry>
<entry>
<title>scripts: ext-toolchain: actually probe libc type on config generation</title>
<updated>2022-12-04T15:07:35Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-17T15:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=1f5b8a32e4a07b5ca55b0fce73ade5e026d4e584'/>
<id>urn:sha1:1f5b8a32e4a07b5ca55b0fce73ade5e026d4e584</id>
<content type='text'>
Currently we never call probe_cc before config generation, this cause
the script to never actually detect the correct libc type.
Call probe_cc before config generation to correctl set the .config file.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit ddeabc75ebe3151ff7da302cb1aae702b3ad7eba)
</content>
</entry>
<entry>
<title>scripts: ext-toolchain: add option to overwrite config</title>
<updated>2022-12-04T15:07:34Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-04T16:22:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=ed785589ea9a11d526a01067b79af4fe1b5dd5b7'/>
<id>urn:sha1:ed785589ea9a11d526a01067b79af4fe1b5dd5b7</id>
<content type='text'>
It can be useful to overwrite an already generated config.
Option are simply added at the end of the config and make defconfig
will overwrite the relevant option with the new one.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit f4dd18ca39c42a324e34633c8ee553717531bc3b)
</content>
</entry>
<entry>
<title>scripts: ext-toolchain: fix wrong prefix in print_config generation</title>
<updated>2022-12-04T15:07:34Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-03T00:20:11Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=1e764ea7df11e1d51e60336f420ca73480b8c055'/>
<id>urn:sha1:1e764ea7df11e1d51e60336f420ca73480b8c055</id>
<content type='text'>
The parsed prefix in print_config is wrong and this produce broken
generated .config that won't work with any external toolchain.

Currently the prefix from a CC of

'arm-openwrt-linux-muslgnueabi-gcc-12.1.0'

produce a prefix

'arm-openwrt-linux-muslgnueabi-gcc-'

This is wrong as the real prefix should be

'arm-openwrt-linux-muslgnueabi-'

This is probably caused by a change in how the toolchain is now handled
that now append also the gcc version. Probably in ancient days the
version wasn't part of the name and the prefix generation stripped the
'-gcc' instead of the gcc version.

Fix this and correctly strip the gcc version and the gcc suffix to
correctly call toolchain bins.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 53c293262fce844c8291ab82e6726a8489d3c57b)
</content>
</entry>
<entry>
<title>scripts: fix various typos</title>
<updated>2022-12-04T15:07:34Z</updated>
<author>
<name>Josh Soref</name>
</author>
<published>2021-09-26T21:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=997ab5437386493aab1ffa9a9e99061a6a4cba4b'/>
<id>urn:sha1:997ab5437386493aab1ffa9a9e99061a6a4cba4b</id>
<content type='text'>
This only affects typos in comments or user-facing output.

Signed-off-by: Josh Soref &lt;jsoref@users.noreply.github.com&gt;
[only picks changes to scripts, drop "commandline" replacement,
 fix case for "arbitrary", improve commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
(cherry picked from commit 08622de7d66eb90038de54f34ab2fe2308424fd0)
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts: Probe external toolchains for libthread-db</title>
<updated>2017-05-11T20:43:01Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-04-04T02:04:24Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=6704410b158b47aecf507971ad2ee5e3db840e3a'/>
<id>urn:sha1:6704410b158b47aecf507971ad2ee5e3db840e3a</id>
<content type='text'>
libthread-db is a package that can be configured for external
toolchains, so let's have the script probe for it.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>scripts: Probe external toolchains for libgomp</title>
<updated>2017-05-11T20:42:58Z</updated>
<author>
<name>Florian Fainelli</name>
</author>
<published>2017-04-04T02:03:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=08fb61d316dc897b62a3d746927768b87e1bff58'/>
<id>urn:sha1:08fb61d316dc897b62a3d746927768b87e1bff58</id>
<content type='text'>
Now that libgomp can be a package, probe external toolchains for that
library.

Signed-off-by: Florian Fainelli &lt;f.fainelli@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: replace jow@openwrt.org with jo@mein.io</title>
<updated>2016-06-07T09:42:52Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2016-06-07T09:42:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2'/>
<id>urn:sha1:24a7ccb0562a867e363a10ebdc64e3aaa6f01cd2</id>
<content type='text'>
Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>scripts: fix 64bit uclibc external toolchain detection</title>
<updated>2015-07-14T09:57:52Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2015-07-14T09:57:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=3eff7927ceeafb607500595de75dc46891aab3c6'/>
<id>urn:sha1:3eff7927ceeafb607500595de75dc46891aab3c6</id>
<content type='text'>
according to gcc, UCLIBC_DYNAMIC_LINKER64

Signed-off-by: Dirk Neukirchen &lt;dirkneukirchen@web.de&gt;

SVN-Revision: 46362
</content>
</entry>
</feed>
