X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=kernel-2.6.spec;h=8175e013c295f7a3aad227c81d6656fa9b8c26e6;hb=8dbf247d9f00aac067f3dc71142a25af5387eb91;hp=a0090e3200a445210273f97e3029b29ec386322c;hpb=73c8f89ffcb55dfa0f809f2257693a0b5a68980d;p=linux-2.6.git diff --git a/kernel-2.6.spec b/kernel-2.6.spec index a0090e320..8175e013c 100644 --- a/kernel-2.6.spec +++ b/kernel-2.6.spec @@ -14,11 +14,7 @@ Summary: The Linux kernel (the core of the Linux operating system) %define builddoc 0 %define headers 1 -# default is to not build this - to override, use something like -# kernel-SPECVARS := iwlwifi=1 -# rpm does not seem to have a syntax for defining overridable defaults -# any better solution would be more than welcome. -%define build_iwlwifi %{?iwlwifi:1}%{!?iwlwifi:0} +# from 2.6.27 iwlwifi in builtin # Versions of various parts @@ -174,16 +170,6 @@ Patch660: linux-2.6-660-nmi-watchdog-default.patch Patch680: linux-2.6-680-htb-hysteresis-tso.patch Patch690: linux-2.6-690-web100.patch -# See also the file named 'sources' here for the related checksums -# NOTE. iwlwifi should be in-kernel starting from 2.6.24 -# see http://bughost.org/bugzilla/show_bug.cgi?id=1584 -%if %{build_iwlwifi} -%define mac80211_version 10.0.4 -Patch600: http://intellinuxwireless.org/mac80211/downloads/mac80211-%{mac80211_version}.tgz -%define iwlwifi_version 1.2.25 -Patch601: http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-%{iwlwifi_version}.tgz -%endif - BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root %description @@ -379,29 +365,6 @@ KERNEL_PREVIOUS=vanilla %ApplyPatch %vini_pl_patch %endif -%if %{build_iwlwifi} -# Run the mac80211 stuff in the kernel tree holding the last patch -tar -xzf %{PATCH600} -pushd mac80211-%{mac80211_version} -mac80211_makeflags="KSRC=../$KERNEL_PREVIOUS" -make $mac80211_makeflags modified -make $mac80211_makeflags source -make $mac80211_makeflags patch_kernel -popd - -# Untar iwlwifi in the same place - needs to be compiled later -tar -xzf %{PATCH601} -# the install target is broken: first it does not pass the right -b flag to depmod -# second we do not need to invoke depmod at this stage anyway -# let's add our own patch/stuff in this Makefile for manual install later on -pushd iwlwifi-%{iwlwifi_version} -cat >> Makefile <