<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/include/scan.mk, branch v22.03.3</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v22.03.3'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2022-06-07T20:28:59Z</updated>
<entry>
<title>build: fix find warning with SCAN_EXTRA</title>
<updated>2022-06-07T20:28:59Z</updated>
<author>
<name>Leo Chung</name>
</author>
<published>2022-03-31T01:14:35Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=720a7db7eaf416f7e4abdde1551d0201e7830310'/>
<id>urn:sha1:720a7db7eaf416f7e4abdde1551d0201e7830310</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;
(cherry picked from commit eb787b5b9d8d45f3678b58eaa158bb4fa28d4418)
</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/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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.openwrt.org/openwrt/staging/pepe2k/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>
<entry>
<title>build: get rid of FIND_L from host.mk</title>
<updated>2017-02-26T12:31:44Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-02-20T12:03:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=be206eba3a57128695a00f490767e5c136e43ab7'/>
<id>urn:sha1:be206eba3a57128695a00f490767e5c136e43ab7</id>
<content type='text'>
This was added for Mac OS X many years ago, but recent versions also
support find -L

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: scan.mk: consider KernelPackage pattern as well</title>
<updated>2017-01-10T15:26:55Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-01-10T15:25:10Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=90ed0aa859426d71fb71cf5df3646208d5f48e6e'/>
<id>urn:sha1:90ed0aa859426d71fb71cf5df3646208d5f48e6e</id>
<content type='text'>
The removal of the ".+Package" pattern in scan.mk also caused the build
system to skip over Makefiles defining only kmods. Adjust the grep pattern
to consider packages with "call KernelPackage" signatures as well.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
<entry>
<title>build: scan.mk: remove overlay broad grep pattern</title>
<updated>2017-01-10T14:16:28Z</updated>
<author>
<name>Jo-Philipp Wich</name>
</author>
<published>2017-01-10T14:12:21Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a891e5e14f34d79005de0606eebf32b292f86023'/>
<id>urn:sha1:a891e5e14f34d79005de0606eebf32b292f86023</id>
<content type='text'>
Commit af0b91c "allow scan.mk to find python packages introduced in [8639]"
added some special casing to scan.mk to accomodate some nonstandard python
packages.

Nowadays this pattern is not needed anymore and produces false positives
when using the LEDE source repository as feed within the SDK since the
metadata scanning wrongly picks up target/imagebuilder/Makefile as package,
leading to an  "ERROR: please fix feeds/base/target/imagebuilder/Makefile"
message.

Remove the now uneeded pattern to fix such stray errors during metadata
scanning.

Signed-off-by: Jo-Philipp Wich &lt;jo@mein.io&gt;
</content>
</entry>
</feed>
