kbuild: fix build error of 'make nsdeps' in clean tree
[sfrench/cifs-2.6.git] / Makefile
index 6f54f2f9574311301a8c59b2e8565dd5bebeb197..d97f38ad5d9ff953de64583586c3e1e6835dc877 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -616,7 +616,7 @@ endif
 # in addition to whatever we do anyway.
 # Just "make" or "make all" shall build modules as well
 
-ifneq ($(filter all _all modules,$(MAKECMDGOALS)),)
+ifneq ($(filter all _all modules nsdeps,$(MAKECMDGOALS)),)
   KBUILD_MODULES := 1
 endif