On Wed, 2004-06-02 at 13:29, Chris Chabot wrote:
rpmbuild --rebuild --clean --target=i386,i686 kernel-x.y.z.src.rpm
(you could add ,athlon to the target to if your interested in that
version of the kernel)
Chris Kloiber wrote:
>Is there a new magic rpmbuild option to make the kernel-sourcecode
>and/or kernel-doc in the same run as making kernel-smp and kernel?
>Perhaps some combination of --target= ? If built at different times,
>will the kernel-sourcecode be useful for building additional modules if
>needed, or have the kernel headers necessary been added into the kernel
>and kernel-smp rpms?
Seems the magic (for me at least, as I make x86-64 kernels for the
eMachines m680x) is:
# cd /usr/src/redhat/SPECS
# rpmbuild -ba --target=x86-64,noarch kernel-2.6.spec
Which reminds me to announce that I'm uploading
kernel-2.6.6-1.406.0.m680x to my website now for the eMachine m680x
crowd now. It's accidentally transferring the kernel-debuginfo that was
made as well (huge!), so it could take a while (I'm no longer at my
hotel to stop it).
http://www.ckloiber.com/
--
Chris Kloiber <ckloiber(a)ckloiber.com>