Re: [PATCH] env: make file-scope env_ptr variables static

2020-04-21 Thread Tom Rini
On Tue, Feb 18, 2020 at 08:54:09AM +, Rasmus Villemoes wrote: > The combination ENV_IS_IN_NVRAM=y, ENV_IS_IN_REMOTE=y fails to build: > > env/remote.o:/mnt/ext4/devel/u-boot/env/remote.c:17: multiple definition of > `env_ptr' > env/nvram.o:/mnt/ext4/devel/u-boot/env/nvram.c:41: first

[PATCH] env: make file-scope env_ptr variables static

2020-02-18 Thread Rasmus Villemoes
The combination ENV_IS_IN_NVRAM=y, ENV_IS_IN_REMOTE=y fails to build: env/remote.o:/mnt/ext4/devel/u-boot/env/remote.c:17: multiple definition of `env_ptr' env/nvram.o:/mnt/ext4/devel/u-boot/env/nvram.c:41: first defined here It's not necessarily a meaningful combination, but for build-testing