[PATCH 3/4] make: Add barebox_default_env.* to targets

Sascha Hauer s.hauer at pengutronix.de
Sat May 25 09:32:20 EDT 2013


Otherwise it gets rebuilt everytime.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/Makefile b/common/Makefile
index 9460172..2f0bd34 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -102,6 +102,8 @@ $(obj)/barebox_default_env.bz2: $(obj)/barebox_default_env FORCE
 $(obj)/barebox_default_env.lzo: $(obj)/barebox_default_env FORCE
 	$(call if_changed,lzo)
 
+targets += barebox_default_env.lzo barebox_default_env.bz2 barebox_default_env.gz
+
 quiet_cmd_env_h = ENVH    $@
 cmd_env_h = cat $< | (cd $(obj) && $(objtree)/scripts/bin2c default_environment) > $@; \
 	echo "const int default_environment_uncompress_size=`stat -c%s $(obj)/barebox_default_env`;" >> $@
-- 
1.8.2.rc2




More information about the barebox mailing list