[packages/madwifi-ng] - don't set kernelsrcdir for userland tools

baggins baggins at pld-linux.org
Tue Oct 29 18:34:59 CET 2013


commit 61029b6e718aa12219c683ec916cd0ac560007e2
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Oct 29 18:34:40 2013 +0100

    - don't set kernelsrcdir for userland tools

 madwifi-ng.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/madwifi-ng.spec b/madwifi-ng.spec
index 2a0b0c0..d8dbab5 100644
--- a/madwifi-ng.spec
+++ b/madwifi-ng.spec
@@ -168,8 +168,7 @@ Ten pakiet zawiera moduł jądra Linuksa.\
 %if %{with userspace}
 %{__make} -C tools \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}" \
-	KERNELPATH="%{_kernelsrcdir}"
+	CFLAGS="%{rpmcflags}"
 %endif
 
 %ifarch alpha %{ix86} %{x8664}
@@ -192,7 +191,6 @@ install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install-tools \
 	TARGET=%{target} \
-	KERNELPATH="%{_kernelsrcdir}" \
 	DESTDIR=$RPM_BUILD_ROOT \
 	BINDIR=%{_bindir} \
 	MANDIR=%{_mandir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/madwifi-ng.git/commitdiff/61029b6e718aa12219c683ec916cd0ac560007e2



More information about the pld-cvs-commit mailing list