<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/target/toolchain, branch master</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2023-06-05T06:31:47Z</updated>
<entry>
<title>treewide: add ORIG_PATH variable</title>
<updated>2023-06-05T06:31:47Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-05-25T06:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=d87a8aa148ddf93b199a759deb088fff73787025'/>
<id>urn:sha1:d87a8aa148ddf93b199a759deb088fff73787025</id>
<content type='text'>
Add a variable that stores the original value of $PATH
in the host system's shell, before Make alters it.

This can be useful for when it is necessary
to ignore symlinks and programs made by the build system.

Define this new variable before all instances of
'export PATH:=' or similar.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>toolchain: wrapper.sh: use --rpath-link</title>
<updated>2023-02-12T13:55:06Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2023-02-10T15:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=ed81acdcc2057be8eb0ec5d6d021f3df27999876'/>
<id>urn:sha1:ed81acdcc2057be8eb0ec5d6d021f3df27999876</id>
<content type='text'>
Use --rpath-link option instead of --rpath.  The former is used only at
link-time, while the latter is searched at run-time as well.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: wrapper.sh: fix TOOLCHAIN_SYSROOT path</title>
<updated>2023-02-12T13:55:05Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2023-02-10T15:02:06Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=9a49e257d638b2bb84e050e26942f496c14fa6f5'/>
<id>urn:sha1:9a49e257d638b2bb84e050e26942f496c14fa6f5</id>
<content type='text'>
62c1740676 changed the location of the script from $(TOOLCHAIN_DIR)/usr
to $(TOOLCHAIN_DIR), but the TOOLCHAIN_SYSROOT used in wrapper.sh was
still expecting to find the script under usr/bin.

Fixes: 62c1740676 toolchain: fix the sysroot mess by getting...
Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: switch packaged toolchain to tar.xz</title>
<updated>2021-10-21T18:25:38Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-10-21T01:54:26Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=f46a70a6882cc71c7c346e5ef0c348c91be876e5'/>
<id>urn:sha1:f46a70a6882cc71c7c346e5ef0c348c91be876e5</id>
<content type='text'>
Currently the tar.bz2 while ImageBuilder and SDK switched to tar.xz.
Unify it for faster compression since it will make use of
multi-threading.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>config: pack toolchain per default on buildbots</title>
<updated>2021-10-09T01:06:44Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-10-07T05:28:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=f887c93be7edf87b2af2b2db3481473e0f6df832'/>
<id>urn:sha1:f887c93be7edf87b2af2b2db3481473e0f6df832</id>
<content type='text'>
The toolchain can be used for accelerated CI builds. This commit enabled
the packing of it by default on buildbots.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>target: fix copying of licenses for SDK/toolchain</title>
<updated>2021-02-14T20:56:29Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2021-02-14T20:51:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=4894a3ff2870438cf812d88704c92c8d997a69db'/>
<id>urn:sha1:4894a3ff2870438cf812d88704c92c8d997a69db</id>
<content type='text'>
The SDK and target/toolchain copy the license file into their
directories. During the rename/move from LICENSE to a LICENSES
folder, this has not been updated.

Update it now, and include the new COPYING file.

While at it, improve formatting/indent.

Fixes: 882e3014610b ("LICENSES: include all used licenses in
LICENSES directory")

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>build: improve ccache support</title>
<updated>2020-07-11T13:19:53Z</updated>
<author>
<name>Roman Yeryomin</name>
</author>
<published>2020-06-12T18:43:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=2ca084ccaae619ac8031e902c66817d021ac6fd5'/>
<id>urn:sha1:2ca084ccaae619ac8031e902c66817d021ac6fd5</id>
<content type='text'>
Set CCACHE_DIR to $(TOPDIR)/.ccache and CCACHE_BASEDIR to $(TOPDIR).
This allows to do clean and dirclean. Cache hit rate for test build
after dirclean is ~65%.
If CCACHE is enabled stats are printed out at the end of building process.
CCACHE_DIR config variable allows to override default, which could be useful
when sharing cache with many builds.
cacheclean make target allows to clean the cache.

Changes from v1:
- remove ccache directory using CCACHE_DIR variable
- remove ccache leftovers from sdk and toolchain make files
- introduce CONFIG_CCACHE_DIR variable
- introduce cacheclean make target

Signed-off-by: Roman Yeryomin &lt;roman@advem.lv&gt;
</content>
</entry>
<entry>
<title>toolchain/wrapper.sh: fix remaining shellcheck warnings</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-07-11T11:06:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=df09cc6ddb85aeaad616aba74810c4be44284fe7'/>
<id>urn:sha1:df09cc6ddb85aeaad616aba74810c4be44284fe7</id>
<content type='text'>
Fixes following warnings:

 In target/toolchain/files/wrapper.sh line 18:
 REALNAME=$(readlink -f $0)
                        ^-- SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 20:
 REALNAME_BASE=$(basename $REALNAME)
                          ^-------^ SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 21:
 REALNAME_DIR=$(dirname $REALNAME)
                        ^-------^ SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 74:
 		exec $TARGET_TOOLCHAIN_TRIPLET-$BINARY.bin $GCC_SYSROOT_FLAGS $TARGET_FUNDAMENTAL_CFLAGS $TARGET_ROOTFS_CFLAGS "$@"
                     ^-----------------------^ SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 77:
 		exec $TARGET_TOOLCHAIN_TRIPLET-$BINARY.bin $LD_SYSROOT_FLAGS $TARGET_FUNDAMENTAL_LDFLAGS "$@"
                      ^-----------------------^ SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 80:
 		exec $TARGET_TOOLCHAIN_TRIPLET-$BINARY.bin $TARGET_FUNDAMENTAL_ASFLAGS "$@"
                      ^-----------------------^ SC2086: Double quote to prevent globbing and word splitting.
 --
 In target/toolchain/files/wrapper.sh line 83:
 		exec $TARGET_TOOLCHAIN_TRIPLET-$BINARY.bin "$@"
                      ^-----------------------^ SC2086: Double quote to prevent globbing and word splitting.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>toolchain/wrapper.sh: Replace read with read -r</title>
<updated>2020-07-11T11:33:28Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2019-12-30T03:41:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=d8e6a92e7cd83380448f73911fff4f5fff33ef01'/>
<id>urn:sha1:d8e6a92e7cd83380448f73911fff4f5fff33ef01</id>
<content type='text'>
Without -r, backslashes would get mangled.

Found with shellcheck.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>toolchain: wrapper.sh: harmonize leading whitespaces</title>
<updated>2019-12-31T00:36:16Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2019-12-31T00:33:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=836d5395a556f345fce8ffee933ec8d967f86930'/>
<id>urn:sha1:836d5395a556f345fce8ffee933ec8d967f86930</id>
<content type='text'>
Convert leading spaces to tabs and generally harmonize leading
whitespace indent in the file.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
</feed>
