qca: Modified board spcific Makefile to support CONFIG_ENV_IS_NOWHERE.

Modified board Makefile to avoid compilation of env.c when
"CONFIG_ENV_IS_NOWHERE" is enabled.

Change-Id: Ie694276c9071ad17f378a9926d78aa5a6e39a449
Signed-off-by: Aditya Kumar Patra S <apatr@codeaurora.org>
This commit is contained in:
Aditya Kumar Patra S 2016-09-20 19:06:41 +05:30 committed by Gerrit - the friendly Code Review server
parent 9bbb0820f4
commit 84d2f385fb
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,8 @@
obj-y := cmd_bootqca.o
obj-y += fdt_info.o
obj-y += board_init.o
ifndef CONFIG_ENV_IS_NOWHERE
obj-y += env.o
endif
obj-y += fdt_fixup.o
obj-y += ethaddr.o

View file

@ -15,7 +15,7 @@
DECLARE_GLOBAL_DATA_PTR;
env_t *env_ptr;
extern env_t *env_ptr;
void env_relocate_spec(void)
{