Re: compiling kernel-2.4.20-28.7 for smp

Blair Lowe <[email protected]> Sun, 01 May 2005 20:38:37 -0600
Newsgroups gmane.linux.redhat.release.valhalla
Message-ID <[email protected]>
On Mon, 2004-12-27 at 14:25, Blair Lowe wrote:
> When I try to compile an rpm (rpmbuild -ba) for kernel-2.4.20-28.7 for rh7.3, the rpm doesn't
> create the smp.
> 
[snip]
> Please advise as to how to create the smp kernel (do I need smp arch on
> the machine that compiles the kernel?).

The appropriate answer to this one is:

rpmbuild -ba --target=i686 kernel-2.4.spec

you need the i686 in order to build the smp stuff, otherwise it will not
build it.

Rebuilding the kernel using make menuconfig etc. is OK for a one off
purpose, but not for multiple machine deployment (the whole purpose of
rpm).

TTYL,
Blair.

-- 
.ca DOMAINS:    https://www.domainsunder.ca     Computer Engineering Inc.
Tel 780 450 8494 or TOLL FREE 1 877 968 7626 (9-5 Mountain Time)