<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/noltari/include/prereq.mk, branch master</title>
<subtitle>Staging tree of Alvaro Fernandez Rojas</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/noltari/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/'/>
<updated>2023-01-09T20:25:06Z</updated>
<entry>
<title>include/prereq.mk: add RequireCHeader helper</title>
<updated>2023-01-09T20:25:06Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2023-01-09T13:23:23Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=35135842ca8b633c0f8ee32b70eee92d918345d6'/>
<id>urn:sha1:35135842ca8b633c0f8ee32b70eee92d918345d6</id>
<content type='text'>
Add RequireCHeader helper that will try to compile a fake c program with
the requested header included.

This is useful to check if a specific header is present in the system
without checking for the specific path.

This is a generilized version of the current ncurses test.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: drop use of which</title>
<updated>2022-01-17T08:14:26Z</updated>
<author>
<name>Ansuel Smith</name>
</author>
<published>2021-11-25T01:12:58Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=88204bfa82f982a986d2aa3e166a4c5946040308'/>
<id>urn:sha1:88204bfa82f982a986d2aa3e166a4c5946040308</id>
<content type='text'>
Ubuntu started to flag which as deprecated and it
seems which is not really standard and may vary
across Distro.
Drop the use of which and use the standard 'command -v'
for this simple task.
Which is still present in the prereq if some package/script
still use which.
A utility script called command_all.sh is implemented that
will just mimic the output of which -a.

Signed-off-by: Ansuel Smith &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>Revert "build: replace which with Bash command built-in"</title>
<updated>2021-03-03T21:51:39Z</updated>
<author>
<name>Clemens Fruhwirth</name>
</author>
<published>2021-01-29T18:57:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/noltari/commit/?id=1f5e7224868109a170a9248d18f8d2b6124e9c5a'/>
<id>urn:sha1:1f5e7224868109a170a9248d18f8d2b6124e9c5a</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;
</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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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-03.infra.openwrt.org/openwrt/staging/noltari/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>
</feed>
