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

James Steward
2011-11-29T22:58:59Z

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.