-# $Revision: 1.43.2.11.2.121 $, $Date: 2010/10/04 15:47:07 $
-#
# Conditional build:
%bcond_without source # don't build kernel-vanilla-source package
%bcond_without pcmcia # don't build pcmcia
%define _kernelsrcdir /usr/src/linux-%{version}-%{alt_kernel}
%if "%{_target_base_arch}" != "%{_arch}"
- %define CrossOpts ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-pld-linux-
+ %define CrossOpts ARCH=%{_target_base_arch} CROSS_COMPILE=%{_target_cpu}-tld-linux-
%define DepMod /bin/true
%if "%{_arch}" == "x86_64" && "%{_target_base_arch}" == "i386"
ln -sf initrd-%{kernel_release}.gz %{initrd_dir}/initrd-%{alt_kernel}
if [ -x /sbin/new-kernel-pkg ]; then
- if [ -f /etc/pld-release ]; then
- title=$(sed 's/^[0-9.]\+ //' < /etc/pld-release)
+ if [ -f /etc/tld-release ]; then
+ title=$(sed 's/^[0-9.]\+ //' < /etc/tld-release)
else
- title='PLD Linux'
+ title='TLD Linux'
fi
title="$title %{alt_kernel}"
%{_kernelsrcdir}/REPORTING-BUGS
%{_kernelsrcdir}/.mailmap
%endif
-
-%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
-%changelog
-* %{date} PLD Team <feedback@pld-linux.org>
-All persons listed below can be reached at <cvs_login>@pld-linux.org
-
-$Log: kernel-vanilla.spec,v $
-Revision 1.43.2.11.2.121 2010/10/04 15:47:07 hawk
-- updated to 2.6.32.24
-
-Revision 1.43.2.11.2.120 2010/08/28 12:21:03 hawk
-- don't mess with NoSource (won't work), we will handle it at source builder
-
-Revision 1.43.2.11.2.119 2010/08/27 11:03:40 hawk
-- NoSource for Source 1 if needed too
-
-Revision 1.43.2.11.2.118 2010/08/27 08:49:13 hawk
-- don't duplicate sources for pae builds to save ftp space
-
-Revision 1.43.2.11.2.117 2010/08/27 07:54:24 hawk
-- updated to 2.6.32.21
-
-Revision 1.43.2.11.2.116 2010/06/01 19:35:43 hawk
-- updated to 2.6.32.15
-
-Revision 1.43.2.11.2.115 2010/04/30 08:45:53 hawk
-- updated to 2.6.32.12
-
-Revision 1.43.2.11.2.114 2010/04/15 08:17:50 hawk
-- updated to 2.6.32.11
-
-Revision 1.43.2.11.2.113 2010/03/22 07:59:33 hawk
-- updated to 2.6.32.10
-
-Revision 1.43.2.11.2.112 2010/02/25 12:06:19 hawk
-- fixed module-build for 2.6.32.x, release 1
-
-Revision 1.43.2.11.2.111 2010/02/25 10:25:24 hawk
-- kernel/mm only on x86_64
-
-Revision 1.43.2.11.2.110 2010/02/24 19:42:55 hawk
-- updated for 2.6.32.9, not tested yet
-
-Revision 1.43.2.11.2.109 2009/12/20 22:28:31 hawk
-- updated to 2.6.31.9
-
-Revision 1.43.2.11.2.108 2009/12/11 15:36:35 hawk
-- updated to 2.6.31.7
-
-Revision 1.43.2.11.2.107 2009/10/23 17:23:44 hawk
-- updated to 2.6.31.5
-
-Revision 1.43.2.11.2.106 2009/10/15 15:47:52 hawk
-- updated to 2.6.31.4
-
-Revision 1.43.2.11.2.105 2009/10/12 12:33:28 hawk
-- updated to 2.6.31.3
-
-Revision 1.43.2.11.2.104 2009/09/26 10:19:01 hawk
-- added tools directory to source package
-
-Revision 1.43.2.11.2.103 2009/09/24 20:53:29 hawk
-- updated to 2.6.31.1
-- killed firmware subpackage (merged into main package)
-- fixed /lib/firmware path
-
-Revision 1.43.2.11.2.102 2009/09/13 22:42:02 hawk
-- seems ready, release 1
-
-Revision 1.43.2.11.2.101 2009/09/13 22:00:26 hawk
-- updated %files
-
-Revision 1.43.2.11.2.100 2009/09/12 17:37:55 hawk
-- started work with 2.6.31
-
-Revision 1.43.2.11.2.99 2009/08/16 22:24:40 hawk
-- updated to 2.6.30.5
-
-Revision 1.43.2.11.2.98 2009/08/01 20:48:09 hawk
-- updated to 2.6.30.4
-
-Revision 1.43.2.11.2.97 2009/07/21 08:06:30 shadzik
-- rel 3
-
-Revision 1.43.2.11.2.96 2009/07/20 22:35:18 hawk
-- release 2
-
-Revision 1.43.2.11.2.95 2009/07/20 15:10:26 hawk
-- updated to 2.6.30.2
-
-Revision 1.43.2.11.2.94 2009/07/14 17:54:15 hawk
-- update module-build and headers %files so external modules can be build
-
-Revision 1.43.2.11.2.93 2009/07/14 14:22:54 hawk
-- one more %files update
-
-Revision 1.43.2.11.2.92 2009/07/14 12:30:15 hawk
-- updated %files
-
-Revision 1.43.2.11.2.91 2009/07/14 10:45:44 hawk
-- started work on 2.6.30.1
-
-Revision 1.43.2.11.2.90 2009/07/12 14:23:40 hawk
-- fix for drivers/md/dm.c patch in 2.6.27.26
-
-Revision 1.43.2.11.2.89 2009/07/10 17:16:24 hawk
-- updated to 2.6.27.26
-
-Revision 1.43.2.11.2.88 2009/06/20 15:27:54 hawk
-- updated to 2.6.27.25
-
-Revision 1.43.2.11.2.87 2009/04/06 21:49:18 charles
-- updated to 2.6.27.21
-
-Revision 1.43.2.11.2.86 2009/03/17 13:37:18 hawk
-- updated to 2.6.27.20
-
-Revision 1.43.2.11.2.85 2009/02/20 23:54:46 hawk
-- updated to 2.6.27.19
-
-Revision 1.43.2.11.2.84 2009/02/17 23:18:34 hawk
-- updated to 2.6.27.18
-
-Revision 1.43.2.11.2.83 2009/02/13 12:36:28 hawk
-- updated to 2.6.27.17
-
-Revision 1.43.2.11.2.82 2009/02/07 17:31:42 hawk
-- updated to 2.6.27.15
-
-Revision 1.43.2.11.2.81 2009/02/04 22:52:36 hawk
-- updated to 2.6.27.14
-
-Revision 1.43.2.11.2.80 2009/01/15 13:16:58 hawk
-- updated to 2.6.27.11
-
-Revision 1.43.2.11.2.79 2008/12/20 11:37:47 hawk
-- updated to 2.6.27.10
-
-Revision 1.43.2.11.2.78 2008/12/16 09:06:45 hawk
-- updated to 2.6.27.9
-
-Revision 1.43.2.11.2.77 2008/12/05 23:28:39 hawk
-- updated to 2.6.27.8
-
-Revision 1.43.2.11.2.76 2008/11/21 22:07:41 hawk
-- updated to 2.6.27.7
-
-Revision 1.43.2.11.2.75 2008/11/14 18:13:39 hawk
-- blah, updated configs for 2.6.27.6
-- release 2
-
-Revision 1.43.2.11.2.74 2008/11/14 16:27:20 hawk
-- updated BRs and Os from kernel.spec:LINUX_2_6
-
-Revision 1.43.2.11.2.73 2008/11/14 16:18:47 hawk
-- updated to 2.6.27.6
-
-Revision 1.43.2.11.2.72 2008/11/12 22:03:07 hawk
-- updated md5
-
-Revision 1.43.2.11.2.71 2008/11/08 13:37:22 hawk
-- updated to 2.6.27.5
-
-Revision 1.43.2.11.2.70 2008/10/31 19:30:03 twittner
-- omitted /lib/firmware/yamaha directory added to %files
-
-Revision 1.43.2.11.2.69 2008/10/27 09:34:20 hawk
-- updated to 2.6.27.4
-
-Revision 1.43.2.11.2.68 2008/10/25 22:16:15 hawk
-- release 2
-
-Revision 1.43.2.11.2.67 2008/10/25 15:33:17 hawk
-- more %files fixes
-
-Revision 1.43.2.11.2.66 2008/10/25 13:57:52 hawk
-- updated %files for 2.6.27, added firmware subpackage
-
-Revision 1.43.2.11.2.65 2008/10/24 12:05:20 hawk
-- updated to 2.6.27.3
-
-Revision 1.43.2.11.2.64 2008/10/09 13:13:33 hawk
-- updated to 2.6.26.6
-
-Revision 1.43.2.11.2.63 2008/09/09 06:32:48 hawk
-- updated to 2.6.26.5
-
-Revision 1.43.2.11.2.62 2008/09/08 13:04:14 hawk
-- updated to 2.6.26.4
-
-Revision 1.43.2.11.2.61 2008/08/29 11:50:41 hawk
-- updated to 2.6.26.3
-
-Revision 1.43.2.11.2.60 2008/08/06 19:55:13 hawk
-- updated to 2.6.26.2
-
-Revision 1.43.2.11.2.59 2008/08/04 13:41:48 hawk
-- updated to 2.6.26.1
-
-Revision 1.43.2.11.2.58 2008/07/28 09:57:04 hawk
-- blah, really fixed 'make prepare scripts'
-
-Revision 1.43.2.11.2.57 2008/07/26 13:28:46 hawk
-- kernel/bounds.c is required by 'make prepare scripts'
-- drop KABI
-
-Revision 1.43.2.11.2.56 2008/07/22 15:52:11 hawk
-- updated to 2.6.26
-
-Revision 1.43.2.11.2.55 2008/06/25 12:37:27 hawk
-- updated to 2.6.25.9
-
-Revision 1.43.2.11.2.54 2008/06/23 06:17:53 hawk
-- updated to 2.6.25.8
-
-Revision 1.43.2.11.2.53 2008/06/17 08:10:55 hawk
-- updated to 2.6.25.7, dropped unused libs package
-
-Revision 1.43.2.11.2.52 2008/06/09 20:27:55 hawk
-- updated to 2.6.25.6
-
-Revision 1.43.2.11.2.51 2008-06-09 19:27:21 hawk
-- use proper kernel config, release 3
-
-Revision 1.43.2.11.2.50 2008-06-09 17:15:36 hawk
-- seems to work, release 2
-
-Revision 1.43.2.11.2.49 2008-06-09 16:51:21 hawk
-- reworked from current kernel.spec:LINUX_2_6
-
-Revision 1.43.2.11.2.48 2008-06-07 13:00:43 hawk
-- updated to 2.6.25.5
-
-Revision 1.43.2.11.2.47 2008-05-23 15:45:18 hawk
-- no PAE for i{3,4,5}86
-
-Revision 1.43.2.11.2.46 2008-05-19 07:07:32 hawk
-- release 2
-
-Revision 1.43.2.11.2.45 2008-05-18 20:13:23 hawk
-- EA: %{ix86} if with pae
-
-Revision 1.43.2.11.2.44 2008-05-15 21:23:11 hawk
-- 2.6.25.4
-
-Revision 1.43.2.11.2.43 2008-05-10 15:51:50 hawk
-- updated to 2.6.25.3
-
-Revision 1.43.2.11.2.42 2008-05-07 10:58:09 hawk
-- updated to 2.6.25.2
-
-Revision 1.43.2.11.2.41 2008-05-06 07:53:08 hawk
-- suffix -pae to alt_kernel if with_pae
-
-Revision 1.43.2.11.2.40 2008-05-04 19:15:15 hawk
-- .old /boot symlinks are back
-
-Revision 1.43.2.11.2.39 2008-05-04 15:13:10 hawk
-- updated to 2.6.25.1
-
-Revision 1.43.2.11.2.38 2008-04-30 20:38:27 hawk
-- make sure that CONFIG_LOCALVERSION gets replaced
-
-Revision 1.43.2.11.2.37 2008-04-21 18:56:41 hawk
-- use 'make archclean' instead of hacking Makefile with sed
-
-Revision 1.43.2.11.2.36 2008-04-21 09:06:14 hawk
-- lets go with release 1
-
-Revision 1.43.2.11.2.35 2008-04-20 20:13:14 hawk
-- back to linux-%{version}-%{alt_kernel}, darn it, stupid versioning
- scheme, now it builds, not tested yet
-
-Revision 1.43.2.11.2.34 2008-04-20 18:38:10 hawk
-- fixed sed for killing obsolete arch/{i386,x86_64}/boot directories
-
-Revision 1.43.2.11.2.33 2008-04-20 14:14:33 hawk
-- /boot symlinks fix, dropped creating *.old files
-- use linux-%{alt_kernel}-%{version} instead of linux-%{version}_%{alt_kernel}
-- cleanup
-
-Revision 1.43.2.11.2.32 2008-04-19 15:15:27 hawk
-- killed version macros
-
-Revision 1.43.2.11.2.31 2008-04-19 15:14:04 hawk
-- started update to 2.6.25, NFY
-
-Revision 1.43.2.11.2.30 2008-04-12 21:17:08 hawk
-- allow PAE on ix86
-
-Revision 1.43.2.11.2.29 2008-03-27 14:48:44 hawk
-- updated to 2.6.24.4
-
-Revision 1.43.2.11.2.28 2008-02-28 20:39:41 hawk
-- release 2
-
-Revision 1.43.2.11.2.27 2008-02-28 09:59:34 hawk
-- updated to 2.6.24.3
-
-Revision 1.43.2.11.2.26 2008-02-11 11:23:08 hawk
-- uppdated to 2.6.24.2, official fix for local root hole
-
-Revision 1.43.2.11.2.25 2008-02-10 23:30:34 hawk
-- fix for local root hole, release 2
-
-Revision 1.43.2.11.2.24 2008-02-08 22:14:40 hawk
-- updated to 2.6.24.1
-
-Revision 1.43.2.11.2.23 2008-02-03 14:17:42 hawk
-- removed %ghost %{_kernelsrcdir} from %files, breaks %releq_kernel rpm macro
-
-Revision 1.43.2.11.2.22 2008-02-02 17:07:35 hawk
-- fixed kernel release
-- %ghost %{_kernelsrcdir} in %files
-
-Revision 1.43.2.11.2.21 2008-01-29 19:42:43 hawk
-- fixed broken deps in *-source subpackage
-- include samples in source
-- release 3
-
-Revision 1.43.2.11.2.20 2008-01-29 10:21:58 hawk
-- fixed files, release 2
-
-Revision 1.43.2.11.2.19 2008-01-28 21:06:36 hawk
-- fixed typo, now it should build ok, lets go with release 1
-
-Revision 1.43.2.11.2.18 2008-01-28 19:51:25 hawk
-- more s/i386/x86/ fixes
-
-Revision 1.43.2.11.2.17 2008-01-28 19:18:13 hawk
-- updated x86 config source name
-
-Revision 1.43.2.11.2.16 2008-01-28 18:42:51 hawk
-- fixed arch dir (x86 and x86_64 were merged)
-
-Revision 1.43.2.11.2.15 2008-01-28 15:51:21 hawk
-- 2.6.24, fetch sources only, NFY
-
-Revision 1.43.2.11.2.14 2008-01-20 15:39:37 hawk
-- updated to 2.6.23.14
-
-Revision 1.43.2.11.2.13 2008-01-01 12:41:23 hawk
-- updated to 2.6.23.12
-
-Revision 1.43.2.11.2.12 2007-11-16 19:58:34 hawk
-- blah, release down to 1
-
-Revision 1.43.2.11.2.11 2007-11-16 19:57:23 hawk
-- updated to 2.6.23.8
-
-Revision 1.43.2.11.2.10 2007-11-11 22:21:11 hawk
-- adapterized a bit
-
-Revision 1.43.2.11.2.9 2007-11-11 11:32:30 hawk
-- release 3
-
-Revision 1.43.2.11.2.8 2007-11-10 21:18:04 hawk
-- fixed preempt build
-- fixed kernel localversion
-
-Revision 1.43.2.11.2.7 2007/11/10 19:32:31 hawk
-- more up/smp cleanups
-- release 2
-
-Revision 1.43.2.11.2.6 2007/11/10 17:54:13 hawk
-- fixed one more up/smp leftover
-
-Revision 1.43.2.11.2.5 2007/11/10 16:39:12 hawk
-- seems ready, release 1
-
-Revision 1.43.2.11.2.4 2007/11/10 15:32:33 hawk
-- killed additional .config files, keep everything in one config for
- easier updates
-
-Revision 1.43.2.11.2.3 2007/11/10 14:34:39 hawk
-- fixed %define Features
-
-Revision 1.43.2.11.2.2 2007/11/10 14:27:55 hawk
-- killed up/smp, Titanium kernel will be smp by default
-
-Revision 1.43.2.11.2.1 2007/11/10 14:05:22 hawk
-- killed kernel-common.config for easier updates
-- killed archs not supported by Titanium
-- updated to 2.6.23.1
-
-Revision 1.43.2.11 2007/08/24 18:29:49 shadzik
-- linux-2.6.21.7
-
-Revision 1.43.2.10 2007/08/18 09:59:16 glen
-- -source is not needed to compile C programs
-
-Revision 1.43.2.9 2007/06/23 22:20:19 hawk
-- removed ppc compilation fix, let it be vanilla kernel
-
-Revision 1.43.2.8 2007/06/14 07:05:17 hawk
-- oops! copy paste error
-
-Revision 1.43.2.7 2007/06/14 06:58:44 hawk
-- fix for PPC failing when compiling Intel network drivers
-
-Revision 1.43.2.6 2007/06/12 06:53:03 hawk
-- updated to 2.6.21.5
-
-Revision 1.43.2.5 2007/06/09 07:39:12 hawk
-- updated to 2.6.21.4
-
-Revision 1.43.2.4 2007/05/25 08:08:40 hawk
-- 2.6.21.3
-
-Revision 1.43.2.3 2007/04/28 16:00:56 hawk
-- updated to 2.6.21.1
-
-Revision 1.43.2.2 2007/04/26 11:13:47 hawk
-- updated to 2.6.21
-
-Revision 1.43.2.1 2007/03/27 10:44:18 hawk
-- AC-branch
-
-Revision 1.43 2007/03/25 02:08:42 shadzik
-- rel 1
-
-Revision 1.42 2007/03/25 00:31:18 shadzik
-- linux-2.6.20.4
-- it's still old-style, till now I will try to adapt it to new-style macros
- so it's rather your last chance to build this on AC
-
-Revision 1.41 2007/03/25 00:23:22 shadzik
-- linux-2.6.20.3
-
-Revision 1.40 2007/03/25 00:12:56 shadzik
-- linux-2.6.20.2
-
-Revision 1.39 2007/02/22 08:06:37 shadzik
-- Source1 you friggin bastard... be DF friendly !
-
-Revision 1.38 2007/02/22 05:31:01 shadzik
-- more informative commitlog for rev. 1.37
-
-Revision 1.37 2007/02/22 05:18:15 shadzik
-- linux-2.6.20.1 (resolves CVE-2007-0772)
-- configs stay the same
-
-Revision 1.36 2007/02/22 05:16:50 shadzik
-- md5 for Source10 (testing patch)
-
-Revision 1.35 2007/02/22 05:13:39 shadzik
-- hopefully fixed patch applying for both testing and stable versions
-
-Revision 1.34 2007/02/19 07:29:26 shadzik
-- fix versioning (version-.release issue <- the dot shouldn't be there)
-
-Revision 1.33 2007/02/14 18:28:00 shadzik
-- make TuneUpConfigForIX86 always return 0, fixes build on i386
-
-Revision 1.32 2007/02/14 18:23:06 shadzik
-- start playing with linux-2.6.20
-- fixed versioning (after those _rc releses messed it up)
-- definitely NFY - configs need to be adapted
-
-Revision 1.31 2007/02/13 08:06:37 glen
-- tabs in preamble
-
-Revision 1.30 2007/02/12 00:49:00 baggins
-- converted to UTF-8
-
-Revision 1.29 2007/01/08 16:46:57 glen
-- 2.6.20-rc4 (LINUX_2_6_19 branch created for 2.6.19)
-
-Revision 1.28 2006/12/18 22:22:57 glen
-- skip stripping sourcedir
-
-Revision 1.27 2006/12/16 23:44:27 shadzik
-- add config.h
-- rel 2
-
-Revision 1.26 2006/12/15 19:02:58 glen
-- use macros for same location to be able to merge different kernel specs
-
-Revision 1.25 2006/12/15 18:21:13 glen
-- unify /usr/src/linux paths (/usr vs %{_prefix})
-
-Revision 1.24 2006/12/15 17:38:22 glen
-- hardlink over copy speedup from kernel.spec
-- partial adapter
-
-Revision 1.23 2006/12/15 08:56:36 shadzik
-- rel 1; seems stable
-
-Revision 1.22 2006/12/14 01:23:04 darekr
-- BR: sed4. shadzik bijacz
-
-Revision 1.21 2006/12/14 00:56:55 shadzik
-- fix smp build if passed --without up (try not to BuildConfig for an UP mashine when you just want the SMP one and vice versa)
-
-Revision 1.20 2006/12/11 23:16:27 shadzik
-- 2.6.19.1, not tested yet
-
-Revision 1.19 2006/12/08 00:40:15 shadzik
-- rel 2
-- re-add vmlinux.aout for smp on sparc(64)
-
-Revision 1.18 2006/12/06 03:57:06 shadzik
-- no, it's %endif not %else - fixed
-- also fixed smp (there's no vmlinux.aout for it)
-
-Revision 1.17 2006/12/06 03:48:14 shadzik
-- merged from LINUX_2_6_18
-- endif -> else
-
-Revision 1.16 2006/12/04 15:50:30 shadzik
-- make it build on sparc (abram says it doesn't work anyway on sparc64, I guess on sparc too - so fix it !)
-
-Revision 1.15 2006/12/04 00:17:32 shadzik
-- start playing with linux-2.6.19
-
-Revision 1.14 2006/12/04 00:00:39 shadzik
-- BR goes for sparc32 too
-
-Revision 1.13 2006/12/04 00:00:00 shadzik
-- add sparc32 support
-
-Revision 1.12 2006/12/02 18:15:44 shadzik
-- add sparc64 BR
-- cosmetics
-
-Revision 1.11 2006/12/02 17:39:50 shadzik
-- sparc64 smp %files fixes
-
-Revision 1.10 2006/12/02 17:31:00 shadzik
-- sparc64 support (hope I didn't break other archs)
-
-Revision 1.9 2006/11/30 00:03:19 shadzik
-- linux-2.6.18.4
-
-Revision 1.8 2006/11/29 00:27:34 shadzik
-- ugly workaround to fix smp build on alpha; works !
-
-Revision 1.7 2006/11/22 12:03:13 shadzik
-- alpha support (fix smp config, up builds with has_isa 0)
-
-Revision 1.6 2006/11/22 01:34:45 shadzik
-- ups, now you can really disable preemption
-
-Revision 1.5 2006/11/21 16:47:47 shadzik
-- bcond prempt-nort kernel build
-
-Revision 1.4 2006/11/21 11:44:00 paszczus
-- adaptarized
-
-Revision 1.3 2006/11/21 01:26:53 shadzik
-- linux-2.6.18.3
-- remove features description we don't have anyway
-
-Revision 1.2 2006/11/20 19:33:55 shadzik
-- kill some bogus C: and P:
-
-Revision 1.1 2006/11/20 15:33:01 shadzik
-- new
-- inspired by kernel-desktop.spec
-- vanilla kernel without any patches ! why ? to fill the hole, should be useful
-- there still may be lots of bugs
-- Linux version 2.6.18.2