<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/prereq.mk, branch v21.02.1</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v21.02.1'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2021-03-03T22:02:30Z</updated>
<entry>
<title>Revert "build: replace which with Bash command built-in"</title>
<updated>2021-03-03T22:02:30Z</updated>
<author>
<name>Clemens Fruhwirth</name>
</author>
<published>2021-01-29T18:57:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=27c5db998cba4bc76b5c9dcf71120181cb813886'/>
<id>urn:sha1:27c5db998cba4bc76b5c9dcf71120181cb813886</id>
<content type='text'>
This reverts commit c7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb.

The original commit replaces 'which' with 'command'. Sadly most of
them are not equivalent and for 'which -a', there is no easy
replacements that would not reimplement PATH parsing logic. Hence
revert. Keeping a dependency on which is absolutely fine.

Signed-off-by: Clemens Fruhwirth &lt;clemens@endorphin.org&gt;
(cherry picked from commit 1f5e7224868109a170a9248d18f8d2b6124e9c5a)
</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>build: replace which with Bash command built-in</title>
<updated>2021-01-04T18:32:25Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2020-12-22T09:33:02Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=c7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb'/>
<id>urn:sha1:c7aec47e5e3a3ff7b5fdaa11cd1e62cae6746acb</id>
<content type='text'>
`which` utility is not shipped by default for example on recent Arch
Linux and then any steps relying on its presence fails, like for example
following Python3 prereq build check:

 $ python3 --version
 Python 3.9.1

 $ make
 /bin/sh: line 1: which: command not found
 /bin/sh: line 1: which: command not found
 /bin/sh: line 1: which: command not found
 ...
 Checking 'python3'... failed.
 ...

Fix this by switching to Bash builtin `command` which should provide
same functionality.

Fixes: FS#3525
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>build: cleanup possibly dangling Python 2 host symlink</title>
<updated>2019-07-26T06:09:16Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2019-03-20T08:52:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3b68fb57c938af3948ae4c2da61501183fbef649'/>
<id>urn:sha1:3b68fb57c938af3948ae4c2da61501183fbef649</id>
<content type='text'>
When bumping buildroot to Python 3, we need to assure, that Python
symlink in staging bin directory points to Python &gt;= 3.5 as well.

We can't rely completly just on SetupHostCommand as its executed only in
cases when the $(STAGING_DIR_HOST)/bin/python doesn't already exist, so
we need to remove it before running SetupHostCommand.

Acked-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
</content>
</entry>
<entry>
<title>include: extend SetupHostCommand macro to accept more arguments</title>
<updated>2018-04-05T11:58:15Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2018-04-05T11:54:41Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=e9eb9393f4e632338d72d62512a2f74272bd8528'/>
<id>urn:sha1:e9eb9393f4e632338d72d62512a2f74272bd8528</id>
<content type='text'>
Commit d6d3db0543 added more gcc version probes, exceeding the argument
limit of the SetupHostCommand macro, leading to failing GCC/LLVM tests
on OS X.

Extend the handled number of arguments to restore proper functionality.

Fixes FS#1470
Fixes d6d3db0543 ("build: Improve GCC version detection")

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: do not overwrite already existing host commands</title>
<updated>2015-09-16T12:38:16Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-09-16T12:38:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=4d01d6ccb1abc9939907f82de7e96d63ca8091ed'/>
<id>urn:sha1:4d01d6ccb1abc9939907f82de7e96d63ca8091ed</id>
<content type='text'>
This prevents a later prereq check from overwriting the installed tar
binary.

Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 46982
</content>
</entry>
<entry>
<title>include: remove trailing whitespaces</title>
<updated>2015-03-29T07:29:18Z</updated>
<author>
<name>Luka Perkov</name>
</author>
<published>2015-03-29T07:29:18Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7002f6326e9dcd4cb3272763ba9b9debd9f3a60d'/>
<id>urn:sha1:7002f6326e9dcd4cb3272763ba9b9debd9f3a60d</id>
<content type='text'>
Signed-off-by: Luka Perkov &lt;luka@openwrt.org&gt;

SVN-Revision: 45127
</content>
</entry>
<entry>
<title>build: accept apple llvm as fallback for gcc/g++</title>
<updated>2015-02-07T10:07:31Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-02-07T10:07:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=834417623de8f3c23ba1c231b6e078d5091e040c'/>
<id>urn:sha1:834417623de8f3c23ba1c231b6e078d5091e040c</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44298
</content>
</entry>
<entry>
<title>include/prereq.mk: fix echo commands with simple /bin/sh</title>
<updated>2015-02-07T10:07:05Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2015-02-07T10:07:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=64c4ee703a16aea6917ec1aa7820edfce80f89a1'/>
<id>urn:sha1:64c4ee703a16aea6917ec1aa7820edfce80f89a1</id>
<content type='text'>
Signed-off-by: Felix Fietkau &lt;nbd@openwrt.org&gt;

SVN-Revision: 44297
</content>
</entry>
<entry>
<title>include: don't rely on perl for printing prereq errors</title>
<updated>2015-02-05T16:57:46Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2015-02-05T16:57:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9aca57b6ae5852831542241eba638c57a076bd56'/>
<id>urn:sha1:9aca57b6ae5852831542241eba638c57a076bd56</id>
<content type='text'>
Perl might not be present while checking prereqs, e.g. on a fresh
FreeBSD install.

Signed-off-by: Jo-Philipp Wich &lt;jow@openwrt.org&gt;

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