lkml.org 
[lkml]   [2008]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Configure out DMI scanning code v2 (Linux Tiny)
From
Date

On Tue, 2008-02-12 at 10:04 +0100, Thomas Petazzoni wrote:

> Turn CONFIG_DMI into a selectable option if EMBEDDED is defined, in
> order to be able to remove the DMI table scanning code if it's not
> needed, and then reduce the kernel code size.
>
> With CONFIG_DMI (i.e before) :
>
> text data bss dec hex filename
> 1076076 128656 98304 1303036 13e1fc vmlinux
>
> Without CONFIG_DMI (i.e after) :
>
> text data bss dec hex filename
> 1068092 126308 98304 1292704 13b9a0 vmlinux
>
> Result:
>
> text data bss dec hex filename
> -7984 -2348 0 -10332 -285c vmlinux
>
> The new option appears in "Processor type and features", only when
> CONFIG_EMBEDDED is defined.
>
> This patch is part of the Linux Tiny project, and is based on previous
> work done by Matt Mackall <mpm@selenic.com>.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Thanks for working on this.

Acked-by: Matt Mackall <mpm@selenic.com>

--
Mathematics is the supreme nostalgia of our time.



\
 
 \ /
  Last update: 2008-02-12 20:05    [from the cache]
©2003-2011 Jasper Spaans