summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'common/Makefile')
-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 > $@