Re: Recompile kernel without SMP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 14 Aug 2009 12:37:10 -0400
"Paul Grinberg" <pgrinberg@xxxxxxxxxxxx> wrote:

> Hi there,
> 
> I am trying to recompile kernel without SMP. So far I've been
> unsuccessful. Meaning I am able to compile, but it was still SMP..
> 
> Can someone tell me what I am doing wrong?


> cp .config ~/rpmbuild/SOURCES/config-i686-generic
> cp .config ~/rpmbuild/SOURCES/config-i686

The only valid target for i686 is config-i686-PAE.
Look in the ~/rpmbuild/SPECS/kernel.spec file (search
for Source32), or ls ~/rpmbuild/SOURCE/config* before 
you copy anything to it to see the list of valid values.

Because the two config names you are using aren't valid in the spec
file, they are being ignored and the generic Fedora kernel is being
built.

> # Create RPM package
> rpmbuild -bb --with firmware --target=i686 kernel.spec
 
See the link 
http://fedoraproject.org/wiki/Building_a_custom_kernel
for a better command.

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

This should build headers for you.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux