summaryrefslogtreecommitdiffstats
path: root/include/common.h
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 /include/common.h
parent8875bdb34161f9fff13757161fa7d89846003d00 (diff)
downloadu-boot-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.tar.gz
u-boot-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.tar.xz
u-boot-c3eb3fe490daeb3746e5b1fe354ff1a19eb3e3a8.zip
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 'include/common.h')
-rw-r--r--include/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 2c779ed83d..3113580bf8 100644
--- a/include/common.h
+++ b/include/common.h
@@ -761,4 +761,9 @@ int cpu_release(int nr, int argc, char * const argv[]);
#define ALIGN(x,a) __ALIGN_MASK((x),(typeof(x))(a)-1)
#define __ALIGN_MASK(x,mask) (((x)+(mask))&~(mask))
+/* Pull in stuff for the build system */
+#ifdef DO_DEPS_ONLY
+# include <environment.h>
+#endif
+
#endif /* __COMMON_H_ */