build: scan.mk: consider KernelPackage pattern as well

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 <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2017-01-10 16:25:10 +01:00
parent 1ce9b566fd
commit 90ed0aa859

View File

@ -51,7 +51,7 @@ $(OVERRIDELIST):
ifeq ($(SCAN_NAME),target) ifeq ($(SCAN_NAME),target)
GREP_STRING=BuildTarget GREP_STRING=BuildTarget
else else
GREP_STRING=(Build/DefaultTargets|BuildPackage) GREP_STRING=(Build/DefaultTargets|BuildPackage|KernelPackage)
endif endif
$(FILELIST): $(OVERRIDELIST) $(FILELIST): $(OVERRIDELIST)