From: Wolfgang Denk Date: Sun, 31 Jul 2011 02:01:08 +0200 Subject: [U-Boot] [PATCH] environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined Message-ID: <1312070468-17261-1-git-send-email-wd@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: Wolfgang Denk Cc: Stefan Roese --- include/environment.h | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/environment.h b/include/environment.h index e8b6e45..6394a96 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 -- 1.7.6