]>
Commit | Line | Data |
---|---|---|
9b3bab6e | 1 | # |
3ef55194 | 2 | # TODO: |
6b0d6921 | 3 | # - all netfilter patches needs update (API changed again) |
171cc795 | 4 | # - separate PaX and grsecurity support |
93f5f14b | 5 | # |
e080e174 | 6 | # WARNING: Kernels from 2.6.16.X series not work under OldWorldMac |
c800013b | 7 | # |
ade3916a | 8 | # Conditional build: |
25204d32 PS |
9 | %bcond_without smp # don't build SMP kernel |
10 | %bcond_without up # don't build UP kernel | |
11 | %bcond_without source # don't build kernel-source package | |
f8f3b973 | 12 | %bcond_without pcmcia # don't build pcmcia |
2245b68b | 13 | |
d3c89e2e | 14 | %bcond_with abi # build ABI support only ix86 !! |
de0d7ee0 | 15 | %bcond_with grsec_full # build full grsecurity |
171cc795 | 16 | %bcond_with pax # build PaX and full grsecurity |
25204d32 | 17 | %bcond_with verbose # verbose build (V=1) |
de0d7ee0 | 18 | %bcond_with xen0 # added Xen0 support |
19 | %bcond_with xenU # added XenU support | |
ceb42b9b | 20 | |
dcc54002 JR |
21 | %bcond_without grsecurity # don't build grsecurity at all |
22 | %bcond_without grsec_minimal # build only minimal subset (proc,link,fifo,shm) | |
ceb42b9b | 23 | %bcond_without old_netfilter # don't build old netfilter module [not supported in this time may not work] |
acbe79ff | 24 | |
798b8384 | 25 | %bcond_with fbsplash # fbsplash instead of bootsplash |
32102096 | 26 | %bcond_with vesafb_tng # vesafb-tng, vesafb replacement from gentoo |
740dff65 JR |
27 | %bcond_with pae # build PAE (HIGHMEM64G) support on uniprocessor |
28 | %bcond_with nfsroot # build with root on NFS support | |
29 | ||
a136f1c5 | 30 | %bcond_without ide_acpi # support for ide-acpi from SuSE (instead of previous hack) |
4a553529 | 31 | |
ade3916a | 32 | %{?debug:%define with_verbose 1} |
01ebb9c5 | 33 | |
a85d175b | 34 | %if !%{with grsecurity} |
dcc54002 JR |
35 | %undefine with_grsec_full |
36 | %undefine with_grsec_minimal | |
171cc795 | 37 | %undefine with_pax |
38 | %endif | |
39 | ||
40 | %if %{with pax} | |
41 | %undefine with_grsec_minimal | |
42 | %undefine with_grsec_full | |
43 | %define with_grsecurity 1 | |
dcc54002 JR |
44 | %endif |
45 | ||
46 | %if %{with grsec_full} | |
47 | %undefine with_grsec_minimal | |
8fb7cd9b | 48 | %define with_grsecurity 1 |
dcc54002 JR |
49 | %endif |
50 | ||
51 | %if %{with grsec_minimal} | |
52 | %undefine with_grsec_full | |
8fb7cd9b | 53 | %define with_grsecurity 1 |
171cc795 | 54 | %undefine with_pax |
dcc54002 JR |
55 | %endif |
56 | ||
8adc256a | 57 | %ifarch sparc |
9c50ed17 | 58 | # sparc32 is missing important updates from 2.5 cycle - won't build. |
7e33668c | 59 | %undefine with_smp |
8adc256a | 60 | %endif |
7e33668c | 61 | |
b7b28388 JB |
62 | %ifarch ia64 |
63 | # broken | |
64 | %undefine with_up | |
65 | %endif | |
8adc256a | 66 | |
d3c89e2e | 67 | %ifnarch %{ix86} |
68 | %undefine abi | |
69 | %endif | |
70 | ||
fbb03e0d JB |
71 | %define have_drm 1 |
72 | %define have_oss 1 | |
73 | %define have_sound 1 | |
74 | ||
7291f0f8 JB |
75 | %ifarch %{ix86} alpha ppc |
76 | %define have_isa 1 | |
77 | %else | |
78 | %define have_isa 0 | |
79 | %endif | |
80 | ||
fbb03e0d JB |
81 | %ifarch sparc sparc64 |
82 | %undefine with_pcmcia | |
83 | %define have_drm 0 | |
84 | %define have_oss 0 | |
85 | %endif | |
86 | ||
eb473ebe | 87 | ## Program required by kernel to work. |
dfc3088c | 88 | %define _binutils_ver 2.12.1 |
09172109 AM |
89 | %define _util_linux_ver 2.10o |
90 | %define _module_init_tool_ver 0.9.10 | |
eb473ebe | 91 | %define _e2fsprogs_ver 1.29 |
92 | %define _jfsutils_ver 1.1.3 | |
93 | %define _reiserfsprogs_ver 3.6.3 | |
ca5f99e2 | 94 | %define _reiser4progs_ver 1.0.0 |
a8960f0f | 95 | %define _xfsprogs_ver 2.6.0 |
09172109 | 96 | %define _pcmcia_cs_ver 3.1.21 |
69947e91 | 97 | %define _pcmciautils_ver 004 |
09172109 | 98 | %define _quota_tools_ver 3.09 |
049d4c06 | 99 | %define _ppp_ver 1:2.4.0 |
09172109 AM |
100 | %define _isdn4k_utils_ver 3.1pre1 |
101 | %define _nfs_utils_ver 1.0.5 | |
4cf99e4b | 102 | %define _procps_ver 3.2.0 |
69947e91 JB |
103 | %define _oprofile_ver 0.9 |
104 | %define _udev_ver 071 | |
5827b341 | 105 | %define _mkvmlinuz_ver 1.3 |
eb473ebe | 106 | |
c08c0c09 | 107 | %define _rel 4 |
c2921d44 | 108 | |
d212de26 | 109 | %define _old_netfilter_snap 20060504 |
708887c1 | 110 | %define _netfilter_snap 20060829 |
aacc7ebc | 111 | %define _nf_hipac_ver 0.9.1 |
d0fb8512 | 112 | |
b620d240 | 113 | %define _enable_debug_packages 0 |
a508d02c | 114 | %define no_install_post_strip 1 |
a508d02c | 115 | %define no_install_post_chrpath 1 |
01ebb9c5 | 116 | |
117 | %define pcmcia_version 3.1.22 | |
e53706d2 | 118 | %define drm_xfree_version 4.3.0 |
01ebb9c5 | 119 | |
7cbb9e08 | 120 | %define squashfs_version 3.1 |
35d39f24 | 121 | %define suspend_version 2.2.7.3 |
f0c5ac07 | 122 | |
c5fcccf8 | 123 | %define xen_version 3.0.2 |
124 | ||
601b4e87 KT |
125 | Summary: The Linux kernel (the core of the Linux operating system) |
126 | Summary(de): Der Linux-Kernel (Kern des Linux-Betriebssystems) | |
127 | Summary(fr): Le Kernel-Linux (La partie centrale du systeme) | |
906e68b7 | 128 |