From: "Eric Bénard" <eric@eukrea.com>
To: Patrick Turley <PatrickTurley@gamestop.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: SDK environment LDFLAGS problem?
Date: Tue, 15 Jan 2013 18:21:07 +0100 [thread overview]
Message-ID: <20130115182107.2d466d89@e6520eb> (raw)
In-Reply-To: <5BEFD653CA8A8D47AA194ED30AB5968C35D457@GV1HQPEX03.babgsetc.pvt>
Hi Patrick,
Le Tue, 15 Jan 2013 16:52:14 +0000,
Patrick Turley <PatrickTurley@gamestop.com> a écrit :
> 1) Has anyone else run into this before?
>
> 2) If so, how did you resolve it?
>
> 3) Since the Yocto kernel build is *not* failing, I infer that it is *not* using the ld options the SDK gives me. So, the Yocto kernel build has its own pathway through which it computes its value for LDFLAGS. Why would Yocto use its own SDK in a way that no user is expected to?
>
to build a kernel using the SDK (so outside Yocto) you need to unset
LDFLAGS like :
LDFLAGS="" CROSS_COMPILE=arm-oe-linux-gnueabi- ARCH=arm make
When building the kernel inside oe-core that's done in
kernel.bbclass :
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
Eric
next prev parent reply other threads:[~2013-01-15 17:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-15 16:52 SDK environment LDFLAGS problem? Patrick Turley
2013-01-15 17:21 ` Eric Bénard [this message]
2013-01-15 17:38 ` Brian Lloyd
2013-01-15 17:59 ` Patrick Turley
2013-01-15 18:06 ` Bruce Ashfield
2013-01-16 6:37 ` Wolfgang Denk
2013-01-15 18:21 ` Eric Bénard
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=20130115182107.2d466d89@e6520eb \
--to=eric@eukrea.com \
--cc=PatrickTurley@gamestop.com \
--cc=yocto@yoctoproject.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.