<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/jow/include/scan.mk, branch main</title>
<subtitle>Staging tree of Jo-Philipp Wich</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/jow/atom?h=main</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/'/>
<updated>2023-11-13T13:01:24Z</updated>
<entry>
<title>scan.mk: do not silence output of dump phase</title>
<updated>2023-11-13T13:01:24Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2023-06-15T14:11:26Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=b522da5b16c7e5952d364b933b921786198f9fe5'/>
<id>urn:sha1:b522da5b16c7e5952d364b933b921786198f9fe5</id>
<content type='text'>
Make it easier to spot currently hidden issues:

 $ make defconfig V=sc
 ...
 Collecting target info: target/linux/airohabash: -c: line 1: syntax error near unexpected token `|'
 bash: -c: line 1: `echo 1686815253&lt;LINUX_VERMAGIC&gt; | staging_dir/host/bin/mkhash md5 | cut -b1-8'
 bash: -c: line 1: syntax error near unexpected token `|'
 bash: -c: line 1: `echo 1686815253&lt;LINUX_VERMAGIC&gt; | staging_dir/host/bin/mkhash md5 | sed -E 's/(.{8})(.{4})(.{4})(.{4})(.{10})../\1-\2-\3-\4-\500/''
 ...

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&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/jow/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/jow/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>build: fix find warning with SCAN_EXTRA</title>
<updated>2022-06-05T13:38:27Z</updated>
<author>
<name>Leo Chung</name>
</author>
<published>2022-03-31T01:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=eb787b5b9d8d45f3678b58eaa158bb4fa28d4418'/>
<id>urn:sha1:eb787b5b9d8d45f3678b58eaa158bb4fa28d4418</id>
<content type='text'>
If you change SCAN_EXTRA variable with "-path target/linux/xxxx" in
include/toplevel.mk for speed up scan, find will warn with:

find: warning: you have specified the global option -maxdepth after
the argument -path, but global options are not positional, i.e.,
-maxdepth affects tests specified before it as well as those specified
after it.  Please specify global options before other arguments.

The find option -mindepth -maxdepth are global options and must be
before any path option. Change order of $(SCAN_EXTRA) after -mindepth
and -maxdepth to fix this.

Signed-off-by: Leo Chung &lt;gewalalb@gmail.com&gt;
[capitalize Description, Author and Sob and minor description tweak]
Signed-off-by: Christian 'Ansuel' Marangi &lt;ansuelsmth@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-03.infra.openwrt.org/openwrt/staging/jow/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>
<entry>
<title>build: have scripts/feeds honor all toplevel .mk-files of a feed</title>
<updated>2019-10-27T13:32:13Z</updated>
<author>
<name>Sven Roederer</name>
</author>
<published>2019-03-09T14:00:15Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=b81cee86e63d4421072839ec8a3780d8afff9337'/>
<id>urn:sha1:b81cee86e63d4421072839ec8a3780d8afff9337</id>
<content type='text'>
The luci and freifunk feed having a common Makefile included by the
individual packages. Currently a change to this file will be ignored
when running "scripts/feeds update".
When we are updating for a feed, add a dependency for all .mk files
in the root of it.

Signed-off-by: Sven Roederer &lt;devel-sven@geroedel.de&gt;
</content>
</entry>
<entry>
<title>build: Fix print without color</title>
<updated>2019-02-17T18:30:34Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2019-02-17T18:29:08Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=d0b45962ef63903cc9d3895dda0b2777a0c08acf'/>
<id>urn:sha1:d0b45962ef63903cc9d3895dda0b2777a0c08acf</id>
<content type='text'>
The original patch removed the printing completely, just remove the
color.

Fixes: eabc1ddc4541  ("build: Honour NO_COLOR in include/scan.mk")
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>build: Honour NO_COLOR in include/scan.mk</title>
<updated>2019-02-17T18:22:04Z</updated>
<author>
<name>R. Diez</name>
</author>
<published>2019-01-21T18:32:06Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=eabc1ddc4541019cf3e4c10b3a15c0710d87bca3'/>
<id>urn:sha1:eabc1ddc4541019cf3e4c10b3a15c0710d87bca3</id>
<content type='text'>
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.

To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Hi all:

This is my first OpenWrt patch. I am a clean, pure newbie! 8-)

Honour NO_COLOR in Makefile function 'progress' in include/scan.mk, in the same way that include/verbose.mk does.

Signed-off-by: R. Diez &lt;rdiezmail-openwrt@yahoo.com&gt;
</content>
</entry>
<entry>
<title>build: fix target metadata scan dependencies</title>
<updated>2018-07-02T12:27:06Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2018-07-02T12:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=29b2199eb084bb3d8a58f92d3b2256a4fb53fe51'/>
<id>urn:sha1:29b2199eb084bb3d8a58f92d3b2256a4fb53fe51</id>
<content type='text'>
Move SCAN_DEPS to scan.mk to eliminate redundancy with scripts/feeds
Add image/*.mk to SCAN_DEPS for targets to pick up newly added devices

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: get rid of host.mk</title>
<updated>2017-02-26T12:31:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-02-20T13:24:54Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/jow/commit/?id=9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96'/>
<id>urn:sha1:9467ce42da7fbcec1a4b5b8e08e2dcea3c67aa96</id>
<content type='text'>
Defined required host related variables in toplevel.mk instead

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
