From: Nick Lee <nick.lee@nortechonline.co.uk>
To: "openembedded-devel@lists.openembedded.org"
<openembedded-devel@lists.openembedded.org>
Subject: Kernel Module Compilation
Date: Mon, 28 Feb 2011 18:01:49 +0000 [thread overview]
Message-ID: <4D6BE30D.6080602@nortechonline.co.uk> (raw)
In-Reply-To: <AANLkTin2WuKF=f_aOzi=28FmVTaxFVJa0uNb9TjfL2SB@mail.gmail.com>
I'm compiling a kernel module under openembedded, and it inherits from
module and update-rc.d. I want to pass a preprocessor directive,
TESTFLAG, to my module source code. I've tried setting -DTESTFLAG in
CFLAGS, KERNEL_CFLAGS and EXTRA_CFLAGS in my recipe and in the Makefile
for my module. In none of these cases do I get TESTFLAG defined in my
module code. The best I can get is a helpful suggestion to use
EXTRA_CFLAGS, which doesn't work.
What on earth am I doing wrong? It doesn't seem like a particularly
unusual thing to want to do! I've spent most of a day trawling the
internet and openembedded archives for a solution to this problem, and
have found nothing. Maybe it shows a lack of google skills on my part...
Nick
next prev parent reply other threads:[~2011-02-28 18:04 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-25 19:03 Missing GLIBC_<version> tags on binaries Otavio Salvador
2011-02-25 20:00 ` Phil Blundell
2011-02-25 20:14 ` Otavio Salvador
2011-02-25 20:40 ` Phil Blundell
2011-02-25 20:58 ` Otavio Salvador
2011-02-25 21:34 ` Phil Blundell
2011-02-26 13:43 ` Otavio Salvador
2011-02-28 15:08 ` Phil Blundell
2011-02-28 16:49 ` Otavio Salvador
2011-02-28 17:17 ` Phil Blundell
2011-02-28 19:33 ` Otavio Salvador
2011-02-28 22:19 ` Khem Raj
2011-02-28 22:27 ` Otavio Salvador
2011-02-28 22:43 ` Khem Raj
2011-02-28 22:47 ` Otavio Salvador
2011-03-01 11:35 ` Phil Blundell
2011-03-01 11:47 ` Otavio Salvador
2011-03-02 15:41 ` Phil Blundell
2011-03-03 4:18 ` Khem Raj
2011-03-04 16:09 ` Phil Blundell
2011-03-04 16:54 ` Khem Raj
2011-03-04 21:47 ` Phil Blundell
2011-03-04 23:48 ` Khem Raj
2011-02-28 18:01 ` Nick Lee [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-29 11:54 Kernel module compilation David Pilger
2007-04-04 16:11 ` David Pilger
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=4D6BE30D.6080602@nortechonline.co.uk \
--to=nick.lee@nortechonline.co.uk \
--cc=openembedded-devel@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.