This is going to make builds _much_ slower :( 

Koen Vandeputte <koen.vandepu...@ncentric.com> wrote:
> Switch to xz compression instead of bz2
> This reduces the output size here from 41M to 29M
> 
> Signed-off-by: Koen Vandeputte <koen.vandepu...@ncentric.com>
> ---
>  target/toolchain/Makefile | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/target/toolchain/Makefile
> b/target/toolchain/Makefile index ef2dc68..da1a6d2 100644
> --- a/target/toolchain/Makefile
> +++ b/target/toolchain/Makefile
> @@ -26,7 +26,7 @@ all: compile
>  
>  
> TOOLCHAIN_PREFIX:=$(TOOLCHAIN_BUILD_DIR)/toolchain-$(ARCH)$(ARCH_SUFFIX)_gcc-$(GCCV)$(DIR_SUFFIX)
>  
> -$(BIN_DIR)/$(TOOLCHAIN_NAME).tar.bz2: clean
> +$(BIN_DIR)/$(TOOLCHAIN_NAME).tar.xz: clean
>       mkdir -p $(TOOLCHAIN_BUILD_DIR)
>       $(TAR) -cf - -C $(TOPDIR)/staging_dir/  \
>              $(foreach exclude,$(EXCLUDE_DIRS),--exclude="$(exclude)") \
> @@ -59,13 +59,13 @@ $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.bz2: clean
>       find $(TOOLCHAIN_BUILD_DIR) -name CVS | $(XARGS) rm -rf
>       mkdir -p $(BIN_DIR)
>       (cd $(BUILD_DIR); \
> -             tar cfj $@ $(TOOLCHAIN_NAME); \
> +             tar cfJ $@ $(TOOLCHAIN_NAME); \
>       )
>  
>  download:
>  prepare:
> -compile: $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.bz2
> +compile: $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.xz
>  install: compile
>  
>  clean:
> -     rm -rf $(TOOLCHAIN_BUILD_DIR) $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.bz2
> +     rm -rf $(TOOLCHAIN_BUILD_DIR) $(BIN_DIR)/$(TOOLCHAIN_NAME).tar.xz
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> Lede-dev mailing list
> Lede-dev@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/lede-dev

Attachment: signature.html
Description: OpenPGP Digital Signature

_______________________________________________
Lede-dev mailing list
Lede-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to