about summary refs log tree commit diff
path: root/Src/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Makefile.in')
-rw-r--r--Src/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Makefile.in b/Src/Makefile.in
index b79299413..ebe708626 100644
--- a/Src/Makefile.in
+++ b/Src/Makefile.in
@@ -101,7 +101,8 @@ rm-modobjs-tmp:
 @CONFIG_MK@
 
 Makemod modules.index prep: modules-bltin $(CONFIG_INCS)
-	( cd $(sdir_top) && $(SHELL) $(subdir)/mkmodindex.sh $(subdir) ) \
+	( cd $(sdir_top) && OMIT_MODULES="$(OMIT_MODULES)" \
+	$(SHELL) $(subdir)/mkmodindex.sh $(subdir) ) \
 	    > modules.index.tmp
 	@if cmp -s modules.index.tmp modules.index; then \
 	    rm -f modules.index.tmp; \