Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Steven J. Hill <sjhill@realitydiluted.com>
To: buildroot@busybox.net
Subject: [Buildroot] Building debug version of kernel
Date: Fri, 13 Jul 2007 12:48:44 -0500	[thread overview]
Message-ID: <20070713174844.GA16025@real.realitydiluted.com> (raw)
In-Reply-To: <000601c7c567$2bbcdf10$2c48a8c0@greyhawk.tonecommander.com>

> Is editing the top-level Linux Makefile the standard method for my host
> machine to build a debug version (i.e. with "-g -O0" CFLAGS) of the Linux
> 2.6 kernel?  If so, should I make these flag changes to CFLAGS_KERNEL or
> HOSTCFLAGS or both?
> 
There is a configuration option under 'Kernel hacking' in the Linux
configuration system to turn on debugging symbols. Was there some
reason this does not work?

> The build output only shows the format "CC <object-file-name>" without
> flags, so I can't see what it's actually doing.
> 
If you add 'V=1' to your 'make vmlinux' target area in the makefile, you
can see the verbose output of the compiling, linking, etc.

-Steve

  reply	other threads:[~2007-07-13 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 16:02 [Buildroot] Building debug version of kernel Jerry Richards
2007-07-13 17:48 ` Steven J. Hill [this message]
2007-07-16 16:36   ` Jerry Richards

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070713174844.GA16025@real.realitydiluted.com \
    --to=sjhill@realitydiluted.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox