9
0
Fork 0

[makesystem] fix default environment handling

This patch fixes the environemnt generate broken in
7b498d9838

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2007-11-26 18:32:08 +01:00
parent afe0eaee43
commit 56aa0790ae
1 changed files with 2 additions and 2 deletions

View File

@ -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 > $@