<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/robimarko/Makefile, branch master</title>
<subtitle>Staging tree of Robert Marko</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/robimarko/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/'/>
<updated>2023-11-02T19:26:32Z</updated>
<entry>
<title>build: fix pkg-config detection when inside of a nix-shell</title>
<updated>2023-11-02T19:26:32Z</updated>
<author>
<name>Sandro Jäckel</name>
</author>
<published>2023-11-01T15:49:20Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=86ca7199dfb132042ce3110acef23d74f4ef14a7'/>
<id>urn:sha1:86ca7199dfb132042ce3110acef23d74f4ef14a7</id>
<content type='text'>
The output of command_all when inside a nix-shell looks like the below
where /usr does not match:

 ➜ scripts/command_all.sh pkg-config
/nix/store/ifr6srqgpvygd5vp14748d109ri31isv-pkg-config-wrapper-0.29.2/bin/pkg-config

Signed-off-by: Sandro Jäckel &lt;sandro.jaeckel@gmail.com&gt;
</content>
</entry>
<entry>
<title>treewide: add ORIG_PATH variable</title>
<updated>2023-06-05T06:31:47Z</updated>
<author>
<name>Michael Pratt</name>
</author>
<published>2023-05-25T06:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=d87a8aa148ddf93b199a759deb088fff73787025'/>
<id>urn:sha1:d87a8aa148ddf93b199a759deb088fff73787025</id>
<content type='text'>
Add a variable that stores the original value of $PATH
in the host system's shell, before Make alters it.

This can be useful for when it is necessary
to ignore symlinks and programs made by the build system.

Define this new variable before all instances of
'export PATH:=' or similar.

Signed-off-by: Michael Pratt &lt;mcpratt@pm.me&gt;
</content>
</entry>
<entry>
<title>treewide: derive host and hostpkg path from STAGING_DIR</title>
<updated>2023-01-09T20:33:20Z</updated>
<author>
<name>Christian Marangi</name>
</author>
<published>2022-12-02T19:56:12Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=2a3283643ccf77b55d67c7a3f96d40576227499c'/>
<id>urn:sha1:2a3283643ccf77b55d67c7a3f96d40576227499c</id>
<content type='text'>
STAGING_DIR may be provided from command line. We currently hardcoded
STAGING_DIR_HOST and STAGING_DIR_HOSTPKG to the default location but we
currently have some relocatable patch that derive the path from
STAGING_DIR.

Fix this and correctly derive STAGING_DIR_HOST and STAGING_DIR_HOSTPKG
from STAGING_DIR.

The intention is to fix inconsistency from the relocatable patch and the
use of STAGING_DIR_HOST that is always hardcoded.
This with a wrong configuration may end up in broken state with some
host tools expecing a PATH from STAGING_DIR and others using library
from the default staging_dir/host path.

To save downstream project the original implementation is saved while
fixing the inconsistency between patch and .mk.

Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
</content>
</entry>
<entry>
<title>Makefile: fix stray \ warnings with grep-3.8</title>
<updated>2022-09-27T14:45:08Z</updated>
<author>
<name>Nick Hainke</name>
</author>
<published>2022-09-11T06:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=a29d3bc48c40c6a2a93ae1806bea2ac26455cdbb'/>
<id>urn:sha1:a29d3bc48c40c6a2a93ae1806bea2ac26455cdbb</id>
<content type='text'>
We simply grep for "/usr". So no need for "-E" or "\/". Furthermore, in
the new grep versions this creates warnings.

As written in the grep-3.8 announcement:
  Regular expressions with stray backslashes now cause warnings, as
  their unspecified behavior can lead to unexpected results.
  For example, '\a' and 'a' are not always equivalent
  &lt;https://bugs.gnu.org/39678&gt;.

Fixes warnings in the form of:
  grep: warning: stray \ before /

Signed-off-by: Nick Hainke &lt;vincent@systemli.org&gt;
</content>
</entry>
<entry>
<title>Makefile: replace head call with grep's -m</title>
<updated>2022-09-10T13:42:36Z</updated>
<author>
<name>Rosen Penev</name>
</author>
<published>2022-08-20T21:12:32Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=22b7bd6b1355baf7220136b6bd8277a321b70c39'/>
<id>urn:sha1:22b7bd6b1355baf7220136b6bd8277a321b70c39</id>
<content type='text'>
head is not necessary here.

Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: don't remove BUILD_LOG_DIR in _clean</title>
<updated>2022-04-30T21:56:43Z</updated>
<author>
<name>Huangbin Zhan</name>
</author>
<published>2022-04-24T01:58:25Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=aeaa816cd2bd22de165c71a41d8d198a9235e971'/>
<id>urn:sha1:aeaa816cd2bd22de165c71a41d8d198a9235e971</id>
<content type='text'>
targetclean should not remove BUILD_LOG

Fixes: db34b93331e9 (add a version that can be bumped to force toolchain/target rebuild)
Signed-off-by: Huangbin Zhan &lt;zhanhb88@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/robimarko/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>toolchain: add a version that can be bumped to force toolchain/target rebuild</title>
<updated>2021-11-16T21:02:45Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2021-11-16T20:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=db34b93331e91bdb2cbc15d17632aaaab7217a6d'/>
<id>urn:sha1:db34b93331e91bdb2cbc15d17632aaaab7217a6d</id>
<content type='text'>
This can be used to ensure that the compiled code is up to date, when
something important changes in the toolchain.
A recent example of this is the gcc 11 fix for a code miscompilation issue

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&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/robimarko/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>Revert "build: use config.site generated by autoconf-lean, drop hardcoded sitefiles"</title>
<updated>2021-03-02T11:35:45Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2021-03-02T11:34:22Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/robimarko/commit/?id=1b6209203d4e403b4c6b124d1222d0a4ad69d37f'/>
<id>urn:sha1:1b6209203d4e403b4c6b124d1222d0a4ad69d37f</id>
<content type='text'>
This reverts commit f439e291304a93b982e912dc91b80ca950a594f3.

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
</content>
</entry>
</feed>
