diff --git a/common/Makefile b/common/Makefile index 33d302c22..d06e1a613 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 > $@