summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-08 10:44:25 +0000
committerWolfgang Denk <wd@denx.de>2011-07-26 16:33:49 +0200
commitc3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8 (patch)
tree8b7079a1f5d958f6806b952f92f8d1640bcff27b /common
parent8875bdb34161f9fff13757161fa7d89846003d00 (diff)
downloadu-boot-imx-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.zip
u-boot-imx-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.tar.gz
u-boot-imx-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.tar.bz2
env: allow people to force envcrc building
For people who want to manually extract the embedded environment so that it can be manually packed into the final u-boot image, add a config opt to force building of the envcrc tool. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r--common/env_embedded.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/env_embedded.c b/common/env_embedded.c
index ae6cac4..e438575 100644
--- a/common/env_embedded.c
+++ b/common/env_embedded.c
@@ -44,7 +44,7 @@
* Generate embedded environment table
* inside U-Boot image, if needed.
*/
-#if defined(ENV_IS_EMBEDDED)
+#if defined(ENV_IS_EMBEDDED) || defined(CONFIG_BUILD_ENVCRC)
/*
* Only put the environment in it's own section when we are building
* U-Boot proper. The host based program "tools/envcrc" does not need