]> git.pld-linux.org Git - packages/dLAN.git/commitdiff
- added patch, should build now
authorshadzik <shadzik@pld-linux.org>
Thu, 4 May 2006 01:45:02 +0000 (01:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dLAN.spec -> 1.2

dLAN.spec

index 42d3fa3db935a8f824fe09b99b92461eec87ad28..d1a15d4601820b7368eccf6ad8d637d4014feec2 100644 (file)
--- a/dLAN.spec
+++ b/dLAN.spec
@@ -14,6 +14,7 @@ License:      Devolo AG License
 Group:         Applications
 Source0:       http://download.devolo.net/webcms/0599755001130248395/%{name}-linux-package-%{version}.tar.gz
 # Source0-md5: 419b5e551a7e8eb7e2f609b252287712
+Patch0:                %{name}-usbkill.patch
 URL:           http://www.devolo.de/de_DE/index.html
 BuildRequires: %{kgcc_package}
 %{?with_dist_kernel:BuildRequires:      kernel-module-build}
@@ -70,6 +71,7 @@ Sterowniki j
 
 %prep
 %setup -q -n %{name}-linux-package-%{version}
+%patch0 -p1
 
 %build
 %configure
@@ -79,6 +81,7 @@ Sterowniki j
 
 %if %{with kernel}
 # kernel module(s)
+cd driver
 for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}; do
         if [ ! -r "%{_kernelsrcdir}/config-$cfg" ]; then
                 exit 1
@@ -91,7 +94,7 @@ for cfg in %{?with_dist_kernel:%{?with_smp:smp} up}%{!?with_dist_kernel:nondist}
         ln -sf %{_kernelsrcdir}/Module.symvers-$cfg Module.symvers
         touch include/config/MARKER
 
-        %{__make} usbdriver \
+       %{__make} -C %{_kernelsrcdir} modules
                 CC="%{__cc}" CPP="%{__cpp}" \
                 M=$PWD O=$PWD \
                 %{?with_verbose:V=1}
This page took 0.119621 seconds and 4 git commands to generate.