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>
v19.07.3_mercusys_ac12_duma
Jo-Philipp Wich 7 years ago
parent 1ce9b566fd
commit 90ed0aa859

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

Loading…
Cancel
Save