lkml.org 
[lkml]   [2014]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2/2] x86: Support compiling out human-friendly processor feature names
On 02/23/2014 01:55 PM, Josh Triplett wrote:
>
> Why have the build system waste time building several things that won't
> be used? It seems like the Makefiles are exactly where we *should* have
> the ifdef machinery, rather than in source. I'd happily add another
> ifdef in the Makefile rule that builds cpustr.h, to generate a stub
> cpustr.h header, and then remove one more ifdef in the source.
>

The ifdeffery in the Makefiles really tend to be more complicated than
in the source code. The amount of code added from v2 to v3 when it
could be handled by *removing* two lines in the Makefile makes it worth it.

If it was enough build stuff to be anywhere near remotely significant it
would be one thing.

-hpa




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