[source] build: scan.mk: consider KernelPackage pattern as well

LEDE Commits lede-commits at lists.infradead.org
Tue Jan 10 07:27:10 PST 2017


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

commit 90ed0aa859426d71fb71cf5df3646208d5f48e6e
Author: Jo-Philipp Wich <jo at mein.io>
AuthorDate: Tue Jan 10 16:25:10 2017 +0100

    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 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 9b361f8..3a884fb 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)
+  GREP_STRING=(Build/DefaultTargets|BuildPackage|KernelPackage)
 endif
 
 $(FILELIST): $(OVERRIDELIST)



More information about the lede-commits mailing list