kbuild: modpost on vmlinux regardless of CONFIG_MODULES
[pandora-kernel.git] / scripts / Makefile
index d531a1f..ea41de8 100644 (file)
@@ -19,7 +19,7 @@ always                := $(hostprogs-y)
 hostprogs-y += unifdef
 
 subdir-$(CONFIG_MODVERSIONS) += genksyms
-subdir-$(CONFIG_MODULES)     += mod
+subdir-y                     += mod
 
 # Let clean descend into subdirs
 subdir-        += basic kconfig package