environment.h: fix warning: "CONFIG_ENV_IS_EMBEDDED" redefined
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
e6a857da74
commit
33a6b9e90b
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue