From: Wolfgang Denk Date: Sat, 30 Jul 2011 14:01:08 +0000 (+0000) Subject: environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=33a6b9e90bfd56ed389f37470534eede0773cdd7;p=u-boot.git environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined Signed-off-by: Wolfgang Denk Cc: Stefan Roese --- diff --git a/include/environment.h b/include/environment.h index e8b6e45c33..6394a96c35 100644 --- a/include/environment.h +++ b/include/environment.h @@ -124,7 +124,9 @@ extern unsigned long nand_env_oob_offset; /* The build system likes to know if the env is embedded */ #ifdef DO_DEPS_ONLY # ifdef ENV_IS_EMBEDDED -# define CONFIG_ENV_IS_EMBEDDED +# ifndef CONFIG_ENV_IS_EMBEDDED +# define CONFIG_ENV_IS_EMBEDDED +# endif # endif #endif