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