[source] build: scan.mk: remove overlay broad grep pattern

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 10 06:16:34 PST 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/a891e5e14f34d79005de0606eebf32b292f86023

commit a891e5e14f34d79005de0606eebf32b292f86023
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jan 10 15:12:21 2017 +0100

    build: scan.mk: remove overlay broad grep pattern
    
    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 <jo at mein.io>
---
 include/scan.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/scan.mk b/include/scan.mk
index 5b1f53b..9b361f8 100644
--- a/include/scan.mk
+++ b/include/scan.mk
@@ -51,7 +51,7 @@ $(OVERRIDELIST):
 ifeq ($(SCAN_NAME),target)
   GREP_STRING=BuildTarget
 else
-  GREP_STRING=(Build/DefaultTargets|BuildPackage|.+Package)
+  GREP_STRING=(Build/DefaultTargets|BuildPackage)
 endif
 
 $(FILELIST): $(OVERRIDELIST)



More information about the lede-commits mailing list