Skip to contentSkip to conversation

environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined

PATCH New Wolfgang Denk 1 participant 2 messages Jul 31, 2011 – Aug 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined

---
 include/environment.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
include/environment.h +3 -1
index e8b6e45..6394a96 100644
@@ -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
 
Signature · 1 line
1.7.6
author Applied
#1 lore raw

PATCH 1/1 environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined

Dear Wolfgang Denk,

Quoted 5 lines · In message <[email protected]> you wrote:
---
 include/environment.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The management question ... is not _whether_ to build a pilot  system
and  throw  it away. You _will_ do that. The only question is whether
to plan in advance to build a throwaway, or to promise to deliver the
throwaway to customers.       - Fred Brooks, "The Mythical Man Month"