]> git.pld-linux.org Git - packages/linux-gpib.git/commitdiff
- updated again.
authorcieciwa <cieciwa@pld-linux.org>
Wed, 29 Jun 2005 10:17:15 +0000 (10:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    linux-gpib.spec -> 1.3

linux-gpib.spec

index 206d3a508a2e21cfd1417585f08a52eca6e9b2db..ab4c690eab7751ecb5b56f2725b0d77877ddfc7c 100644 (file)
@@ -110,13 +110,15 @@ Ten pakiet zawiera modu
        --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
@@ -131,6 +133,10 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
        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" \
@@ -140,10 +146,13 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
                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
This page took 0.096684 seconds and 4 git commands to generate.