SPECS: madwifi-ng.spec - disable userspace for kernel only build

glen glen at pld-linux.org
Tue Apr 15 15:26:12 CEST 2008


Author: glen                         Date: Tue Apr 15 13:26:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- disable userspace for kernel only build

---- Files affected:
SPECS:
   madwifi-ng.spec (1.72 -> 1.73) 

---- Diffs:

================================================================
Index: SPECS/madwifi-ng.spec
diff -u SPECS/madwifi-ng.spec:1.72 SPECS/madwifi-ng.spec:1.73
--- SPECS/madwifi-ng.spec:1.72	Thu Mar 27 21:59:30 2008
+++ SPECS/madwifi-ng.spec	Tue Apr 15 15:26:07 2008
@@ -50,15 +50,20 @@
 ExclusiveArch:	alpha arm %{ix86} %{x8664} mips powerpc ppc sparc sparcv9 sparc64 xscale
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%if %{without userspace}
+# nothing to be placed to debuginfo package
+%define		_enable_debug_packages	0
+%endif
+
 %description
-Atheros WiFi card driver. Supports Virtual APs and WDS Mode. It uses binary 
-HAL and supports AR5210, AR5211, AR5212, RF5111, RF5112, RF2413 and RF5413 
-cards.
+Atheros WiFi card driver. Supports Virtual APs and WDS Mode. It uses
+binary HAL and supports AR5210, AR5211, AR5212, RF5111, RF5112, RF2413
+and RF5413 cards.
 
 %description -l pl.UTF-8
 Sterownik karty radiowej Atheros. Wspiera tryb wirtualnego AP oraz
-tryb WDS. Używa binarnej wersji HAL i obsługuje karty z układami AR5210, 
-AR5211, AR5212, RF5111, RF5112, RF2413 i RF5413.
+tryb WDS. Używa binarnej wersji HAL i obsługuje karty z układami
+AR5210, AR5211, AR5212, RF5111, RF5112, RF2413 i RF5413.
 
 %package devel
 Summary:	Header files for madwifi
@@ -132,7 +137,7 @@
 
 %define opts TARGET=%{target} KERNELPATH="%{_kernelsrcdir}" KERNELCONF="$PWD/o/.config" TOOLPREFIX=
 
-make svnversion.h
+%{__make} svnversion.h
 %build_kernel_modules -c -m %{modules} %{opts} <<'EOF'
 find -name "*.o" | xargs -r rm
 ln -sf ../Makefile.inc o/Makefile.inc
@@ -198,6 +203,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.73  2008-04-15 13:26:07  glen
+- disable userspace for kernel only build
+
 Revision 1.72  2008-03-27 20:59:30  glen
 - rel 7 (2.6.22.19-5)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/madwifi-ng.spec?r1=1.72&r2=1.73&f=u



More information about the pld-cvs-commit mailing list