On Tue, Aug 17, 2010 at 03:11:39PM -0400, Jarod Wilson wrote:
On Tue, Aug 17, 2010 at 3:06 PM, Dave Jones <davej(a)redhat.com>
wrote:
> On Tue, Aug 17, 2010 at 02:00:01PM -0500, John Hartgraves wrote:
> > I'm trying to rebuild my kernel without debugging, I set the %define
> > debugbuildsenabled to 1 and in the kernel.spec file before building
> > with rpmbuild but I am still getting CONFIG_LOCKDEP=y in my kernel
> > config file in my /boot directory after I install the built kernel.
> > How do I fully disable this?
> >
> > -John Hartgraves
>
> PROVE_LOCKING is probably turning it back on.
>
> just do 'make release', and it'll do it all for you.
Assuming that you're working from a fedora kernel git scm checkout, if
I'm thinking clearly. But the key here is that you actually edit the
kernel config files (either by 'make release' or by hand), as simply
editing a flag in the kernel spec file isn't enough (maybe that's not
what was done, but it sure sounded like it).
See also:
http://fedoraproject.org/wiki/Building_a_custom_kernel
--
Jarod Wilson
jarod(a)redhat.com