merge -c1788 branches/stable-1.4: ec_master.symvers installation.
authorFlorian Pose <fp@igh-essen.com>
Fri, 19 Jun 2009 14:41:06 +0000
changeset 1480 72f8adf4205a
parent 1479 5c8ba5ace5b3
child 1481 c079da97636c
merge -c1788 branches/stable-1.4: ec_master.symvers installation.
NEWS
master/Makefile.am
--- a/NEWS	Fri Jun 19 14:39:13 2009 +0000
+++ b/NEWS	Fri Jun 19 14:41:06 2009 +0000
@@ -43,6 +43,8 @@
 * Changed EC_MAX_SII_SIZE to 4096.
 * 'ethercat xml' creates valid XML <EtherCATInfoList> for more than one slave
   (thanks to E. Burgstaller).
+* Module symbol versions file for ec_master.ko is installed to
+  prefix/modules/ec_master.symvers.
 
 Changes in 1.4.0:
 
--- a/master/Makefile.am	Fri Jun 19 14:39:13 2009 +0000
+++ b/master/Makefile.am	Fri Jun 19 14:41:06 2009 +0000
@@ -81,4 +81,13 @@
 clean-local:
 	$(MAKE) -C "$(LINUX_SOURCE_DIR)" M="@abs_srcdir@" clean
 
+modulesdir=@prefix@/modules
+SYMVERS=`echo $(top_builddir)/Module*.symvers`
+
+install-data-local:
+	@test -n "$(SYMVERS)" && \
+		mkdir -p $(DESTDIR)$(modulesdir) && \
+		cp -vf $(SYMVERS) \
+			$(DESTDIR)$(modulesdir)/ec_master.symvers
+
 #------------------------------------------------------------------------------