--- kernel/linux-2.4.20-alt4.src.rpm.orig/kernel-2.4-stable.spec 2003-02-13 20:14:03 +0300 +++ kernel/linux-2.4.20-alt4.src.rpm/kernel-2.4-stable.spec 2003-02-18 20:47:20 +0300 @@ -2,7 +2,7 @@ # Define what kernels to be built # -%define BUILD_CUSTOM 0 +%define BUILD_CUSTOM 1 %define BUILD_BOOT 0 # BOOT kernel only can be built for i386 arch @@ -14,8 +14,8 @@ %define BUILD_RSBAC_UP 0 # RSBAC kernels now aren't avaiable so don't try to build them -%define BUILD_SMP 1 -%define BUILD_UP 1 +%define BUILD_SMP 0 +%define BUILD_UP 0 # Normal kernels %define BUILD_LINUS 0 @@ -41,7 +41,7 @@ # # Name of the custom kernel - it's "custom" by default -%define CUSTOM custom +%define CUSTOM w4l # # Define what additional drivers to be built @@ -55,7 +55,7 @@ %define BUILD_DRM_GAMMA 0 # Define it to build new alsa drivers (0.9.x) -%define BUILD_ALSA 1 +%define BUILD_ALSA 0 # Define what alsa modules to build (all by default) %define ALSA_MODULES all @@ -68,17 +68,17 @@ %define BUILD_SAA7134 0 # Define it to build hsflinmoded drivers -%define BUILD_HSF 1 +%define BUILD_HSF 0 # Define it to build slmdm drivers -%define BUILD_SLMDM 1 +%define BUILD_SLMDM 0 # Define it to build hpt drivers -%define BUILD_HPT 1 +%define BUILD_HPT 0 # Define it to build ATI Radeon drivers # Note that currently it does'nt work -%define BUILD_ATI 1 +%define BUILD_ATI 0 # Define it to apply rsbac patches. Keep in # mind that you can compile only custom kernel with this option @@ -702,6 +702,16 @@ Patch10060: linux-2.4.18-rsbac-syscall.patch Patch10090: rsbac-aci_data_structures.patch +### +# +# Win4Lin patches +# +### + +Patch80001: mki-adapter.patch +Patch80002: Kernel-Win4Lin3-%kversion-%release.patch +Patch80003: Win4Lin-vmscan-hack.patch + #################### ### DESCRIPTIONS ### #################### @@ -1393,6 +1403,20 @@ rm -rf aa_patches +### +# +# Win4Lin patches +# +### + +%if %BUILD_CUSTOM + +%patch80001 -p1 +%patch80002 -p1 +%patch80003 -p1 + +%endif #BUILD_CUSTOM + # Apply suse patches for i in suse_patches/*; do cat "$i" |patch -s -p1