public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* video (VGA) object-files unconditionally built/included?
@ 2009-04-10 11:30 Dag Bakke
  2009-04-11  3:43 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Dag Bakke @ 2009-04-10 11:30 UTC (permalink / raw)
  To: linux-kernel

Hi.

I am putting together a tiny kernel for an embedded x86 target. Space is
tight, so I try to shave every kB I can get rid of.
I don't have anything resembling VGA or graphics, and my .config
reflects that. (Serial console.)

Yet, when building the kernel I see:

  LZMA    arch/x86/boot/compressed/vmlinux.bin.lzma
  CC      arch/x86/boot/video.o
  CC      arch/x86/boot/video-mode.o
  CC      arch/x86/boot/version.o
  CC      arch/x86/boot/video-vga.o
  CC      arch/x86/boot/video-vesa.o
  CC      arch/x86/boot/video-bios.o

# strings arch/x86/boot/bzImage | egrep -i 'vesa|vga|bios|mode'
+VESA
0123456789ABCDEFPress <ENTER> to see video modes available, <SPACE> to
continue, or wait 30 sec
Mode: Resolution:  Type:
Enter a video mode or "scan" to scan for additional modes:
Undefined video mode number: %x
VESA
BIOS


The video* objects sums up to 87kB. Can I get rid of that somehow? I am
using current git.

This is my .config:
http://tapas.homeip.net/~dagb/tiny.config

Cc: is appreciated.



Thanks,

Dag B


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-04-12 23:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-10 11:30 video (VGA) object-files unconditionally built/included? Dag Bakke
2009-04-11  3:43 ` Andrew Morton
2009-04-11  4:04   ` H. Peter Anvin
2009-04-11 11:51     ` Dag Bakke
2009-04-11 20:49       ` H. Peter Anvin
2009-04-12 11:53         ` Dag Bakke
2009-04-12 23:06           ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox