Fixed master/Makefile.am in case Module.symvers does not exist.
--- a/master/Makefile.am Fri Feb 05 10:29:47 2010 +0100
+++ b/master/Makefile.am Mon Feb 15 18:31:23 2010 +0100
@@ -83,12 +83,17 @@
$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
modulesdir=@prefix@/modules
-SYMVERS=`echo $(top_builddir)/Module*.symvers`
+SYMVERS=$(top_builddir)/Module.symvers
+SYMVERSS=$(top_builddir)/Modules.symvers
install-data-local:
- @test -n "$(SYMVERS)" && \
- mkdir -p $(DESTDIR)$(modulesdir) && \
- cp -vf $(SYMVERS) \
- $(DESTDIR)$(modulesdir)/ec_master.symvers
+ for symvers in $(SYMVERS) $(SYMVERSS); do \
+ if test -f $$symvers; then \
+ mkdir -p $(DESTDIR)$(modulesdir) && \
+ cp -vf $$symvers \
+ $(DESTDIR)$(modulesdir)/ec_master.symvers; \
+ break; \
+ fi; \
+ done
#------------------------------------------------------------------------------