From: James Steward <j.steward@inchipdesign.com.au>
To: u-boot@lists.denx.de
Subject: [U-Boot] [Almost solved] M5282EVB undefined reference to `environment'
Date: Thu, 01 Dec 2011 08:10:21 +1100 [thread overview]
Message-ID: <4ED69BBD.8010904@inchipdesign.com.au> (raw)
In-Reply-To: <4ED5D416.1070709@compulab.co.il>
On 30/11/11 17:58, Igor Grinberg wrote:
> On 11/30/11 00:58, James Steward wrote:
>> On 25/11/11 14:52, James Steward wrote:
>>
>>> So it compiles env_embedded.c, but doesn't include it in libcommon.o?
>>>
>>> <hack>
>>> vim common/Makefile
>>>
>>> XCOBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o
>>>
>>> becomes
>>>
>>> COBJS-$(CONFIG_ENV_IS_IN_FLASH) += env_embedded.o
>>>
>>> :q
>>> </hack>
>>>
>>> make all
>>>
>>> Hey, presto, build now completes!
>>>
>>> So how should this be corrected properly?
>>
>> Can anyone suggest how the build process should be fixed?
>
> I don't fully understand the logic behind what's done
> to have ENV_IS_EMBEDDED, as it is used mostly on architectures
> I haven't worked with (at least till now).
> So, probably, I will not be the right person to ask...
>
> My suggestion would be to look into those linker scripts,
> Wolfgang mentioned in one of the previous emails and if you think
> it should be done in some different way, send a patch and start
> a discussion. But, really, I'm not the right person to ask...
>
>
Thanks for your help so far, Igor. I'm going to unsubscribe from this
list as the volume of email is huge and mostly not interesting to me.
If I come up with a possible solution, I'll subscribe and send a patch.
Regards,
James.
prev parent reply other threads:[~2011-11-30 21:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-21 22:00 [U-Boot] M5282EVB undefined reference to `environment' James Steward
2011-11-22 4:51 ` Marek Vasut
2011-11-22 5:22 ` James Steward
2011-11-23 12:19 ` Igor Grinberg
2011-11-23 23:58 ` James Steward
2011-11-24 6:36 ` Igor Grinberg
2011-11-24 23:27 ` James Steward
2011-11-25 5:42 ` Wolfgang Denk
2011-11-25 3:52 ` [U-Boot] [Almost solved] " James Steward
2011-11-29 22:58 ` James Steward
2011-11-30 6:58 ` Igor Grinberg
2011-11-30 21:10 ` James Steward [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=4ED69BBD.8010904@inchipdesign.com.au \
--to=j.steward@inchipdesign.com.au \
--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 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.