uboot_default_env: fix out of tree build
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
420a3173f0
commit
998f9ee2f3
|
@ -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 > $@
|
||||
|
|
Loading…
Reference in New Issue