From: Detlef Vollmann <dv@vollmann.ch>
To: openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: [2011.03-maintenance] Bogus check in kernel.bbclass
Date: Mon, 01 Aug 2011 00:29:53 +0200 [thread overview]
Message-ID: <4E35D761.1000202@vollmann.ch> (raw)
kernel.bbclass has the following in kernel_do_compile:
oe_runmake include/linux/version.h CC="${KERNEL_CC}" LD="${KERNEL_LD}"
if [ "${KERNEL_MAJOR_VERSION}" != "2.6" ]; then
oe_runmake dep CC="${KERNEL_CC}" LD="${KERNEL_LD}"
fi
The check for KERNEL_MAJOR_VERSION here is bogus, it will always
be "None", because the expansion of KERNEL_MAJOR_VERSION requires
include/linux/version.h, but that file doesn't exist when the
variable is expanded.
The problem doesn't cause any harm here, as "make dep" on newer
kernels just issues a warning, but it irritates once you look at
run.do_compile for hunting down any other errors...
If anybody cares, I'll provide a patch that just calls "make dep"
unconditionally.
Regards,
Detlef
reply other threads:[~2011-08-01 0:22 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=4E35D761.1000202@vollmann.ch \
--to=dv@vollmann.ch \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox