<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/rules.mk, branch v21.02.6</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.6</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.6'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-12-04T15:07:33Z</updated>
<entry>
<title>rules_mk: use gcc versions for external toolchain</title>
<updated>2022-12-04T15:07:33Z</updated>
<author>
<name>Vincent Wiemann</name>
</author>
<published>2020-12-28T15:00:13Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=56fd8355b078d8c9e1eb0bc0ea20900e7b46fe93'/>
<id>urn:sha1:56fd8355b078d8c9e1eb0bc0ea20900e7b46fe93</id>
<content type='text'>
When using the OpenWrt toolchain as an external toolchain the build
failed due to missing LTO support. By choosing the GCC wrappers of
the tools this commit makes sure that the LTO-enabled executables
are being used.

Signed-off-by: Vincent Wiemann &lt;vincent.wiemann@ironai.com&gt;
[ wrap the commit description to 72 char ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 2555ffb4536e2727465e9a0d426ad3c4f1ef003a)
</content>
</entry>
<entry>
<title>rules_mk: don't include wrapped bin with external toolchains</title>
<updated>2022-12-04T15:07:33Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-07-03T00:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=654e0242e426423409a704bfc5f72b64ebd8d283'/>
<id>urn:sha1:654e0242e426423409a704bfc5f72b64ebd8d283</id>
<content type='text'>
Don't add wrapped bin to the TARGET_PATH as it does cause compilation
error.

cmake.mk will use the "command -v" and will use the wrapped bin instead
of the external toolchain bin as they have the same name and command
will select the first result.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit a90eabf60255773231ed0259e5da5eb6a36fe9ce)
</content>
</entry>
<entry>
<title>scripts: always check certificates</title>
<updated>2022-09-21T09:52:40Z</updated>
<author>
<name>Josh Roys</name>
</author>
<published>2022-07-23T15:23:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f0bca34f16327c6001515f9c73c2c284574c7b6d'/>
<id>urn:sha1:f0bca34f16327c6001515f9c73c2c284574c7b6d</id>
<content type='text'>
Remove flags from wget and curl instructing them to ignore bad server
certificates. Although other mechanisms can protect against malicious
modifications of downloads, other vectors of attack may be available
to an adversary.

TLS certificate verification can be disabled by turning oof the
"Enable TLS certificate verification during package download" option
enabled by default in the "Global build settings" in "make menuconfig"

Signed-off-by: Josh Roys &lt;roysjosh@gmail.com&gt;
[ add additional info on how to disable this option ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt; [backport]
(cherry picked from commit 90c6e3aedf167b0ae1baf376e7800a631681e69a)
</content>
</entry>
<entry>
<title>kernel: use KCFLAGS for passing EXTRA_OPTIMIZATION flags</title>
<updated>2022-07-08T13:38:42Z</updated>
<author>
<name>Rafał Miłecki</name>
</author>
<published>2022-06-15T08:41:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=44fa330a8254893ec81e5b3df16299f32a0f053f'/>
<id>urn:sha1:44fa330a8254893ec81e5b3df16299f32a0f053f</id>
<content type='text'>
This uses kernel's generic variable and doesn't require patching it with
a custom Makefile change. It's expected *not* to change any behaviour.

Signed-off-by: Rafał Miłecki &lt;rafal@milecki.pl&gt;
(cherry picked from commit 1d42af720c6b6dcfcdd0b89bce386fca1607dcb3)
Signed-off-by: Kevin Darbyshire-Bryant &lt;ldir@darbyshire-bryant.me.uk&gt;
(cherry picked from commit 24e27bec9a6df1511a504cf04cd9578a23e74657)
</content>
</entry>
<entry>
<title>build: make sure asm gets built with -DPIC</title>
<updated>2021-04-10T13:05:18Z</updated>
<author>
<name>Philip Prindeville</name>
</author>
<published>2021-03-19T21:09:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=dc31191ec3e5cefc8eceb5b1525d14e8e81c59ed'/>
<id>urn:sha1:dc31191ec3e5cefc8eceb5b1525d14e8e81c59ed</id>
<content type='text'>
Fixes issue openwrt/packages#14921, whereby inline ASM wasn't getting
built as PIC; look at gmp-6.2.1/mpn/x86/pentium/popcount.asm for
example:

ifdef(`PIC',`
...

for a routine that exists in both PIC and non-PIC versions.

Make sure that wherever $(FPIC) gets passed as a variable expansion
that it gets quoted where necessary (such as setting environment
variables in shell commands).

Signed-off-by: Philip Prindeville &lt;philipp@redfish-solutions.com&gt;
(cherry picked from commit af22991e03cae55f96b06996df2ff16752cec5d5)
</content>
</entry>
<entry>
<title>Mostly revert "build: add support for fixing up library soname"</title>
<updated>2021-02-15T17:47:21Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-15T16:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=075fa4cd9ae2ee5e9715fad2f70b2092ddc9ac2d'/>
<id>urn:sha1:075fa4cd9ae2ee5e9715fad2f70b2092ddc9ac2d</id>
<content type='text'>
This reverts commit b12288fa69b171f7c9405518c9bed3581a06f7ce.
The patchelf approach is too fragile, and the only users of this have been
converted to make patching unnecessary
Leave the abi_version_str variable in place in rules.mk

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: add support for fixing up library soname</title>
<updated>2021-02-14T18:41:51Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-02-12T08:56:56Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=b12288fa69b171f7c9405518c9bed3581a06f7ce'/>
<id>urn:sha1:b12288fa69b171f7c9405518c9bed3581a06f7ce</id>
<content type='text'>
This makes it possible to declare a package ABI_VERSION independent from the
upstream soname by setting PKG_ABI_VERSION in the package makefile.
The library filename is fixed up for files installed to packages and to the
staging dir. References to the original from executables within the same
package are also fixed up

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: use SPDX license tags</title>
<updated>2021-02-05T13:54:47Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-22T02:48:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a17b8eaa2e4b319b7069170398fe965786a813e9'/>
<id>urn:sha1:a17b8eaa2e4b319b7069170398fe965786a813e9</id>
<content type='text'>
The license folder is a core part of OpenWrt and all GPL-2.0 licensed.
Use SPDX license tags to allow machines to check licenses.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[rebase, keep some Copyright lines, sharpen commit message]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>rules: fix empty COMMITCOUNT/AUTORELEASE</title>
<updated>2021-01-30T22:21:58Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-01-29T09:17:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=ddab795b370da986149f8c8e6b3455bf9c1066fe'/>
<id>urn:sha1:ddab795b370da986149f8c8e6b3455bf9c1066fe</id>
<content type='text'>
Packages that are in-tree only often lack a PKG_VERSION and only use the
PKG_RELEASE to mark changes. Using COMMITCOUNT/AUTORELEASE variables
causes an issue as both variables are empty during the metadata DUMP
phase.

Instead of leaving these variables empty and causing an error message
like below, set the variables to 0 during dumping. On actual building
the variable is evaluated causing in a value above 0.

ERROR: please fix package/utils/px5g-wolfssl/Makefile - \
	see logs/package/utils/px5g-wolfssl/dump.txt for details

Makefile:48: *** Package/px5g-wolfssl is missing the VERSION field.  Stop.

Reported-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
Reported-by: Stijn Segers &lt;foss@volatilesystems.org&gt;
Reported-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>rules: fix COMMITCOUNT logic</title>
<updated>2021-01-27T03:29:49Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-01-27T03:16:36Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=513f7171a3e509bba54ecc2af2d6259c7cbff221'/>
<id>urn:sha1:513f7171a3e509bba54ecc2af2d6259c7cbff221</id>
<content type='text'>
The newly added $(COMMITCOUNT) variable was wrongly increased by plus
one. The addition should have been only added to $(AUTORELEASE) as
OpenWrt traditionally starts counting at one rather than zero.

$(AUTORELEASE) counts the commits since the last bump, which is zero on
the version bump commit itself.

This commit increases $(AUTORELEASE) by one while leaving $(COMMITCOUNT)
as is.

The base-files package is the only package using $(COMMITCOUNT) so far
and requires a pseudo commit to keep the PKG_RELEASE correct. A non
functional change (Copyright bump) is done in the next commit.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
</feed>
