lkml.org 
[lkml]   [2014]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Clarify CONFIG_DEBUG_INFO's bloaty nature

* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> On Tue, Feb 4, 2014 at 1:08 AM, Ingo Molnar <mingo@kernel.org> wrote:
> >
> > config SAVE_TIME_AND_DISK_SPACE
> > bool "Faster and leaner build object files: compile without debug info"
> > default y
>
> Thinking about it, we already have this. It's called "CONFIG_COMPILE_TEST".
>
> It very much gets set by all{yes,mod}config, and it also says "we're
> interested in testing the compile, not so much running the result".
>
> So let's just make the DEBUG_INFO depend on !COMPILE_TEST.
>
> Trivial oneliner patch (independent of the discussion about improving
> the documentation), so I'll just apply it.
>
> I can't imagine that this would be controversial:
>
> config DEBUG_INFO
> bool "Compile the kernel with debug info"
> - depends on DEBUG_KERNEL
> + depends on DEBUG_KERNEL && !COMPILE_TEST
> help
>
> Hm?

Fully agreed.

Thanks,

Ingo


\
 
 \ /
  Last update: 2014-02-05 07:01    [W:1.408 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site