<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/hauke/rules.mk, branch v22.03.4</title>
<subtitle>Hauke Mehrtens staging tree</subtitle>
<id>https://git.openwrt.org/openwrt/staging/hauke/atom?h=v22.03.4</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/hauke/atom?h=v22.03.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/'/>
<updated>2022-12-21T23:14:30Z</updated>
<entry>
<title>rules: fix broken commitcount on alpine system</title>
<updated>2022-12-21T23:14:30Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-17T15:39:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=9aa95bbebb07554ccf6f611ead081f85e1f8b902'/>
<id>urn:sha1:9aa95bbebb07554ccf6f611ead081f85e1f8b902</id>
<content type='text'>
To generate commitcount we use grep --max-count. This is not present on
alpine grep and cause wrong generation. Use -m as it's just the short
version of --max-count and more portable.

Fixes: #11200
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit eb7ffeafbfa78235b05abb4ae479376150d7a814)
</content>
</entry>
<entry>
<title>rules_mk: don't include wrapped bin with external toolchains</title>
<updated>2022-10-03T15:40:26Z</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/hauke/commit/?id=18a88668b8ede053919e9ec9b71364cab8e94c57'/>
<id>urn:sha1:18a88668b8ede053919e9ec9b71364cab8e94c57</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>rules_mk: use gcc versions for external toolchain</title>
<updated>2022-10-03T15:40:26Z</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/hauke/commit/?id=29927e347a1b1c256ca39076f23dfc7bbeae798d'/>
<id>urn:sha1:29927e347a1b1c256ca39076f23dfc7bbeae798d</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>scripts: always check certificates</title>
<updated>2022-09-16T16:50:46Z</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/hauke/commit/?id=340b138932c3720db227821415f494ac81e8b675'/>
<id>urn:sha1:340b138932c3720db227821415f494ac81e8b675</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;
(cherry picked from commit 90c6e3aedf167b0ae1baf376e7800a631681e69a)
</content>
</entry>
<entry>
<title>kernel: use KCFLAGS for passing EXTRA_OPTIMIZATION flags</title>
<updated>2022-07-08T09:28:01Z</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/hauke/commit/?id=614a4200841ed2cbd101cdce0966bc291d01642f'/>
<id>urn:sha1:614a4200841ed2cbd101cdce0966bc291d01642f</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: change PYTHON to python3</title>
<updated>2022-01-24T12:29:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2022-01-24T10:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=f8bc8fa3778648c31e46ff3d8c277b473f663fae'/>
<id>urn:sha1:f8bc8fa3778648c31e46ff3d8c277b473f663fae</id>
<content type='text'>
On recent macOS, /usr/bin/python3 is a wrapper that finds the right python executable
It checks argv[0] to determine if python2 or python3 should be called. Always execute
it as python3 to ensure it calls the right version

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: add HOST_CXXFLAGS for host build</title>
<updated>2022-01-16T21:13:46Z</updated>
<author>
<name>Sergey V. Lobanov</name>
</author>
<published>2022-01-15T13:10:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=87d489f67a35968242cd4f192dc363dc87056844'/>
<id>urn:sha1:87d489f67a35968242cd4f192dc363dc87056844</id>
<content type='text'>
Added HOST_CXXFLAGS to specify CXXFLAGS during host-compile
(e.g. to specify c++ standard: HOST_CXXFLAGS += -std=c++11)

Signed-off-by: Sergey V. Lobanov &lt;sergey@lobanov.in&gt;
</content>
</entry>
<entry>
<title>build: remove GCC7 support</title>
<updated>2021-09-19T21:26:00Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2021-09-19T09:30:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=62ed1af15d1f665c2b511622059b933081924a8f'/>
<id>urn:sha1:62ed1af15d1f665c2b511622059b933081924a8f</id>
<content type='text'>
The development branch is now on version 10, we shouldn't drag to many
old versions and therefore drop at least 7.x.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
Acked-by: Rosen Penev &lt;rosenp@gmail.com&gt;
Acked-by: Rui Salvaterra &lt;rsalvaterra@gmail.com&gt;
Acked-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Acked-by: Aleksander Jan Bajkowski &lt;A.Bajkowski@stud.elka.pw.edu.pl&gt;
</content>
</entry>
<entry>
<title>build: add ninja build tool and make it available for cmake</title>
<updated>2021-06-12T08:46:39Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-06-06T12:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=97258f53634d7237a2962aec3387f011047ce83b'/>
<id>urn:sha1:97258f53634d7237a2962aec3387f011047ce83b</id>
<content type='text'>
ninja is faster at building cmake packages than make, and according to reports
also more reliable at handling parallel builds
This commit includes a patch that adds GNU make jobserver support, in order to
allow more precise control over the number of parallel tasks

Enable parallel build by default for packages using ninja

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: introduce $(MKHASH)</title>
<updated>2021-05-13T13:13:15Z</updated>
<author>
<name>Leonardo Mörlein</name>
</author>
<published>2021-05-09T20:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/hauke/commit/?id=b993b68b6ca8444b5227a0c18df4600b37ac565c'/>
<id>urn:sha1:b993b68b6ca8444b5227a0c18df4600b37ac565c</id>
<content type='text'>
Before this commit, it was assumed that mkhash is in the PATH. While
this was fine for the normal build workflow, this led to some issues if

    make TOPDIR="$(pwd)" -C "$pkgdir" compile

was called manually. In most of the cases, I just saw warnings like this:

    make: Entering directory '/home/.../package/gluon-status-page'
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    bash: line 1: mkhash: command not found
    [...]

While these were only warnings and the package still compiled sucessfully,
I also observed that some package even fail to build because of this.

After applying this commit, the variable $(MKHASH) is introduced. This
variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the
correct path.

Signed-off-by: Leonardo Mörlein &lt;me@irrelefant.net&gt;
</content>
</entry>
</feed>
