diff --git a/Makefile.in b/Makefile.in index 00ae07e3b6f4..287fff484c4d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -65,7 +65,7 @@ endif $(WORKDIR)/modules.mk: $(wildcard */Module_*.mk) $(wildcard */prj/dmake) $(BUILDDIR)/config_host.mk mkdir -p $(dir $@) echo "gbuild_modules:= tail_build \\" > $@ - for m in `cd $(SRCDIR) && */Module_*.mk`; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@ + for m in `cd $(SRCDIR) && ls */Module_*.mk`; do echo $$m | sed -e 's/\/.*$$/ \\/'; done >> $@ echo >> $@ echo -n "dmake_modules:=" >> $@ echo >> $@