SPECS: linux-gpib.spec - updated again.

cieciwa cieciwa at pld-linux.org
Wed Jun 29 12:17:21 CEST 2005


Author: cieciwa                      Date: Wed Jun 29 10:17:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated again.

---- Files affected:
SPECS:
   linux-gpib.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/linux-gpib.spec
diff -u SPECS/linux-gpib.spec:1.2 SPECS/linux-gpib.spec:1.3
--- SPECS/linux-gpib.spec:1.2	Wed Jun 29 10:52:34 2005
+++ SPECS/linux-gpib.spec	Wed Jun 29 12:17:15 2005
@@ -111,13 +111,15 @@
 	--disable-tcl-binding \
 	--disable-documentation
 
-%{__make}	
+##%{__make}	
 %if %{with userspace}
 
 
 %endif
 
-
+cd driver
+for i in agilent_82350b agilent_82357a cb7210 cec hp82335 hp_82341 ines nec7210 pc2 sys tms9914 tnt4882; do
+cd $i
 %if %{with kernel}
 # kernel module(s)
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
@@ -132,6 +134,10 @@
 	touch include/config/MARKER
 #
 #	patching/creating makefile(s) (optional)
+	cp -rdp ../include/* include
+	install -d include/gpib
+	cp -rdp include/gpib_user.h include/gpib
+	cp -rdp ../../config.h include
 #
 	%{__make} -C %{_kernelsrcdir} clean \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
@@ -141,10 +147,13 @@
 		CC="%{__cc}" CPP="%{__cpp}" \
 		M=$PWD O=$PWD \
 		%{?with_verbose:V=1}
+		
 
-##	mv MODULE_NAME{,-$cfg}.ko
+	mv $i{,-$cfg}.ko
+done
+%endif 
+cd ..
 done
-%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -192,6 +201,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/06/29 10:17:15  cieciwa
+- updated again.
+
 Revision 1.2  2005/06/29 08:52:34  cieciwa
 - some updates.
 NFY
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/linux-gpib.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list