From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] undefined reference to `environment'
Date: Tue, 29 Aug 2017 22:50:02 +0200 [thread overview]
Message-ID: <20170829225002.610fb0c0@windsurf.lan> (raw)
In-Reply-To: <CAPnjgZ1bx7kxsarOKQTTfvCHd34rpV7y+-S2TrWsJ=mjLu4t+Q@mail.gmail.com>
Hello,
On Wed, 30 Aug 2017 04:16:39 +0800, Simon Glass wrote:
> A bisect shows this came in with:
>
> f40ad66f (refs/bisect/bad) arch/sh: don't bring common/env_embedded.o
> into the link
>
> Thomas, could you please take a look?
env/embedded.o is missing in the link. It is added to extra-y by:
extra-$(CONFIG_ENV_IS_IN_FLASH) += embedded.o
I dumped extra-y right after this line, and it does contain embedded.o.
However, it does not get added to the link stage.
Why is this an extra-$() rather than an obj-$() ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-08-29 20:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 22:59 [U-Boot] undefined reference to `environment' Joe Hershberger
2017-08-29 20:16 ` Simon Glass
2017-08-29 20:20 ` Thomas Petazzoni
2017-08-29 20:50 ` Thomas Petazzoni [this message]
2017-08-29 21:18 ` Tom Rini
2017-08-29 22:07 ` Thomas Petazzoni
2017-08-30 1:50 ` Bin Meng
2017-09-13 22:29 ` Thomas Petazzoni
2017-09-14 2:42 ` Tom Rini
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=20170829225002.610fb0c0@windsurf.lan \
--to=thomas.petazzoni@free-electrons.com \
--cc=u-boot@lists.denx.de \
/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