[PATCH] fixup! defaultenv: generate force-built-in (zero) environment file

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Feb 3 01:45:39 PST 2015


---

Without this, out-of-tree build (O=option) fails.

Sascha,
Please squash this before you merge the next branches into the mainline.



 defaultenv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaultenv/Makefile b/defaultenv/Makefile
index 8a001ec..33e0ece 100644
--- a/defaultenv/Makefile
+++ b/defaultenv/Makefile
@@ -24,7 +24,7 @@ $(obj)/barebox_default_env.h: $(obj)/barebox_default_env$(DEFAULT_COMPRESSION_SU
 	$(call if_changed,env_h)
 
 quiet_cmd_env_zero = ENVZ    $@
-cmd_env_zero = ($(srctree)/scripts/bareboxenv -z $(CONFIG_DEFAULT_ENVIRONMENT_PATH) $@)
+cmd_env_zero = ($(objtree)/scripts/bareboxenv -z $(CONFIG_DEFAULT_ENVIRONMENT_PATH) $@)
 
 $(obj)/barebox_zero_env: FORCE
 	$(call cmd,env_zero)
-- 
1.9.1




More information about the barebox mailing list