<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ynezz/target/sdk, branch master</title>
<subtitle>Staging tree of Petr Stetiar</subtitle>
<id>https://git.openwrt.org/openwrt/staging/ynezz/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/ynezz/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/'/>
<updated>2021-05-08T10:14:04Z</updated>
<entry>
<title>sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives</title>
<updated>2021-05-08T10:14:04Z</updated>
<author>
<name>Sven Roederer</name>
</author>
<published>2021-05-07T19:35:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=1e4b191ac8901328a726ebdc09ebe35da4363521'/>
<id>urn:sha1:1e4b191ac8901328a726ebdc09ebe35da4363521</id>
<content type='text'>
Using these config-options to customize the folders used at build-time makes these
folder settings appear in generated archive. This causes the SDK to be not
portable, as it's going to use the build-time folders on the new systems.
The errors vary from passing the build, disk out-of-space to permission denied.

The build-time settings of these folders are passed into the archive via Config.build.
The expected behavior is that the SDK acts after unpacking like these settings have
their defaults, using intree folders. So just filter these folders out when running
convert-config.pl to create Config.build.

This addresses the same issue that's fixed in the previous commit for the imagebuilder.

Signed-off-by: Sven Roederer &lt;devel-sven@geroedel.de&gt;
</content>
</entry>
<entry>
<title>sdk: expose binary strip settings</title>
<updated>2021-02-20T00:29:36Z</updated>
<author>
<name>David Bauer</name>
</author>
<published>2020-11-20T02:03:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=bb817bb4b8b0b546a70e45bd907ebfeea2370dcd'/>
<id>urn:sha1:bb817bb4b8b0b546a70e45bd907ebfeea2370dcd</id>
<content type='text'>
Expose the SDK options for binary stripping to the menuconfig. This
way, packages can easily be built with debug symbols using the SDK.

Signed-off-by: David Bauer &lt;mail@david-bauer.net&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/ynezz/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>sdk: invoke bundle-libraries.sh w/o buildroot dirs in $PATH</title>
<updated>2020-12-29T00:07:42Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2020-12-29T00:06:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=7e4585e59362b581cedcbd852036789f713ae236'/>
<id>urn:sha1:7e4585e59362b581cedcbd852036789f713ae236</id>
<content type='text'>
Invoke bundle-libraries.sh with any buildroot related directory entries
removed from $PATH to avoid picking up cross versions of utilities like
ldd which will not properly work when used against host executables.

This should fix executable bundling for glibc-target SDKs.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>sdk: fix missing include directories</title>
<updated>2020-11-02T07:39:49Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-11-01T16:31:40Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=ec0ec0428e12b6a7cdad40fbe98d375ea15b45c5'/>
<id>urn:sha1:ec0ec0428e12b6a7cdad40fbe98d375ea15b45c5</id>
<content type='text'>
It's not possible to compile some applications which are using
`-Werror=missing-include-dirs` compiler flags with the SDK as some
target directories are missing in the SDK tarball:

 cc1: error: staging_dir/target/usr/include: No such file or directory [-Werror=missing-include-dirs]
 cc1: error: staging_dir/target/include: No such file or directory [-Werror=missing-include-dirs]

Fix this by adding the missing directories in the SDK.

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>sdk: keep the linux package in the same subdir as in the main build system</title>
<updated>2020-10-26T01:36:02Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2020-10-19T09:28:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=a4c1c169c391ac0b11e4c3e895b282f07585347c'/>
<id>urn:sha1:a4c1c169c391ac0b11e4c3e895b282f07585347c</id>
<content type='text'>
Fixes: 953435795d17 ("build: always build package/kernel/linux")
Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: SDK/IB reproducible and faster compression</title>
<updated>2020-08-23T16:55:49Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-08-13T23:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=8c9a7881729d82afefc74a8c6e552b20b722b011'/>
<id>urn:sha1:8c9a7881729d82afefc74a8c6e552b20b722b011</id>
<content type='text'>
Both IB and SDK now use the same logic for packing.

This commit add reproducible multithread compression to the SDK and
corrects the file mtime for both. Previously all files where just copied
over from the build system, generating random mtimes.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&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/ynezz/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>sdk: add OpenWrt branding to menuconfig &amp; .config</title>
<updated>2020-05-20T15:03:45Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2020-04-18T21:49:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=94e27d62ab01059efb9b4a968ff61acd5308b062'/>
<id>urn:sha1:94e27d62ab01059efb9b4a968ff61acd5308b062</id>
<content type='text'>
Set the mainmenu symbol in SDK Config.in to "OpenWrt Configuration", the
same as the main OpenWrt Config.in.  This string is is used as the name
of the top menu in menuconfig, and at the top of the .config file.  If
unset, current kconfig will use "Linux Kernel Configuration".

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
</content>
</entry>
<entry>
<title>sdk: fix host menu config targets using ncurses</title>
<updated>2020-05-20T15:03:45Z</updated>
<author>
<name>Eneas U de Queiroz</name>
</author>
<published>2020-04-17T16:24:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/ynezz/commit/?id=1f2539a1f48b37b3aa99efba6bcef7cc2030793a'/>
<id>urn:sha1:1f2539a1f48b37b3aa99efba6bcef7cc2030793a</id>
<content type='text'>
This applies 965f341aa9 ("build: fix host menu config targets using
ncurses") to the SDK top Makefile.

If there is a pkg-config in the staging dir, it will try to use it
instead of the host system's pkg-config; then it will fail to find the
ncurses package.  Linux's default will be used, which fails in some
cases, such as recent Gentoo systems.

Signed-off-by: Eneas U de Queiroz &lt;cotequeiroz@gmail.com&gt;
[fixed From: to match SoB]
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
</feed>
