build: scan.mk: remove overlay broad grep pattern
authorJo-Philipp Wich <jo@mein.io>
Tue, 10 Jan 2017 14:12:21 +0000 (15:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 10 Jan 2017 14:16:28 +0000 (15:16 +0100)
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@mein.io>
include/scan.mk

index 5b1f53bdca5013d33e3ee33ab462063fe4cab5f1..9b361f8b3b3b4b9c3e64b08e98a7a1d2c24515ca 100644 (file)
@@ -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)