[U-Boot] [Almost solved] M5282EVB undefined reference to `environment'

James Steward j.steward at inchipdesign.com.au
Tue Nov 29 23:58:59 CET 2011


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?

Regards,
James.


More information about the U-Boot mailing list