9
0
Fork 0

uboot_default_env: fix out of tree build

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2009-09-19 13:41:05 +02:00
parent 420a3173f0
commit 998f9ee2f3
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ ifdef CONFIG_DEFAULT_ENVIRONMENT
$(obj)/startup.o: include/uboot_default_env.h
$(obj)/env.o: include/uboot_default_env.h
ENV_FILES := $(shell find $(CONFIG_DEFAULT_ENVIRONMENT_PATH))
ENV_FILES := $(shell find $(srctree)/$(CONFIG_DEFAULT_ENVIRONMENT_PATH))
endif # ifdef CONFIG_DEFAULT_ENVIRONMENT
include/uboot_default_env.h: $(ENV_FILES)
$(Q)scripts/ubootenv -s $(CONFIG_DEFAULT_ENVIRONMENT_PATH) uboot_default_env
$(Q)scripts/ubootenv -s $(srctree)/$(CONFIG_DEFAULT_ENVIRONMENT_PATH) uboot_default_env
$(Q)cat uboot_default_env | scripts/bin2c default_environment > $@