summaryrefslogtreecommitdiffstats
path: root/common/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-17 19:04:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-18 10:42:20 +0100
commit925e5b4b94ed498be87322f7164d2f34373433b6 (patch)
tree0c6c6fb3b25a5584b6c01f4543d770425e6b93dc /common/Makefile
parent9f6a42ac54968b703c5aa0e00360f3fb72b07a10 (diff)
downloadbarebox-925e5b4b94ed498be87322f7164d2f34373433b6.tar.gz
defaultenv: use wildcard compression rules
Now that we have wildcard rules for compresed files use them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/Makefile')
-rw-r--r--common/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/Makefile b/common/Makefile
index 0429336..60b0356 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -87,17 +87,6 @@ ifeq ($(CONFIG_DEFAULT_ENVIRONMENT_COMPRESSED_LZO),y)
barebox_default_env_comp = .lzo
endif
-$(obj)/barebox_default_env.gz: $(obj)/barebox_default_env FORCE
- $(call if_changed,gzip)
-
-$(obj)/barebox_default_env.bz2: $(obj)/barebox_default_env FORCE
- $(call if_changed,bzip2)
-
-$(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 "static const int default_environment_uncompress_size=`stat -c%s $(obj)/barebox_default_env`;" >> $@