From: Brice Goglin <Brice.Goglin@ens-lyon.org>
To: k8 s <uint32@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compiling Kernel Modules with debugging information enabled
Date: Sat, 16 Jul 2005 19:26:57 +0200 [thread overview]
Message-ID: <42D94361.7050609@ens-lyon.org> (raw)
In-Reply-To: <699a19ea05071610115fcc827f@mail.gmail.com>
Le 16.07.2005 19:11, k8 s a écrit :
> To be more clear, say I have selected CONFIG_XFRM=y in .config file
> I want to make a change such that net/xfrm/Makefile has an entry
> CFLAGS += -g so that it generates debugging information for all the
> modules in that directory
Look at Documentation/kbuild/makefiles.txt:
You can add some CFLAGS for a single object file with:
CFLAGS_foo.o += -g
For all objects defined in a Makefile:
EXTRA_CFLAGS = +g
Brice
prev parent reply other threads:[~2005-07-16 17:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-16 17:11 compiling Kernel Modules with debugging information enabled k8 s
2005-07-16 17:26 ` Brice Goglin [this message]
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=42D94361.7050609@ens-lyon.org \
--to=brice.goglin@ens-lyon.org \
--cc=linux-kernel@vger.kernel.org \
--cc=uint32@gmail.com \
/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