summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-11-26 18:32:08 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-11-26 18:32:08 +0100
commit56aa0790aec847607af31599443d517a61be7cd1 (patch)
tree3278716e31c01d8a530708eed396ad048f58ac6f
parentafe0eaee4323e9211c37b9a57b963dc843296980 (diff)
downloadbarebox-56aa0790aec847607af31599443d517a61be7cd1.tar.gz
barebox-56aa0790aec847607af31599443d517a61be7cd1.tar.xz
[makesystem] fix default environment handling
This patch fixes the environemnt generate broken in 7b498d9838e68eb0b58450ec54ed968e7848c8e0 Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--common/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/Makefile b/common/Makefile
index 33d302c222..d06e1a6134 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -27,5 +27,5 @@ ENV_FILES := $(shell find $(CONFIG_DEFAULT_ENVIRONMENT_PATH))
endif # ifdef CONFIG_DEFAULT_ENVIRONMENT
include/uboot_default_env.h: $(ENV_FILES)
- $(Q)scripts/ubootenv -s $(CONFIG_DEFAULT_ENVIRONMENT_PATH) | \
- scripts/bin2c default_environment > $@
+ $(Q)scripts/ubootenv -s $(CONFIG_DEFAULT_ENVIRONMENT_PATH) uboot_default_env
+ $(Q)cat uboot_default_env | scripts/bin2c default_environment > $@