diff --git a/configs/arm_toolchain_defconfig b/configs/arm_toolchain_defconfig index 1c59ae5dee..6c903d0875 100644 --- a/configs/arm_toolchain_defconfig +++ b/configs/arm_toolchain_defconfig @@ -680,7 +680,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91rm9200df_defconfig b/configs/at91rm9200df_defconfig index 81ebc8ebd4..aba4d0d066 100644 --- a/configs/at91rm9200df_defconfig +++ b/configs/at91rm9200df_defconfig @@ -788,7 +788,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91rm9200df_ext_bare_defconfig b/configs/at91rm9200df_ext_bare_defconfig index 48b7eb5ad2..463f5565e9 100644 --- a/configs/at91rm9200df_ext_bare_defconfig +++ b/configs/at91rm9200df_ext_bare_defconfig @@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91rm9200df_ext_defconfig b/configs/at91rm9200df_ext_defconfig index 078956f15f..4c8d50dd9f 100644 --- a/configs/at91rm9200df_ext_defconfig +++ b/configs/at91rm9200df_ext_defconfig @@ -713,7 +713,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9260dfc_defconfig b/configs/at91sam9260dfc_defconfig index 4eb59fe3dc..056a661d67 100644 --- a/configs/at91sam9260dfc_defconfig +++ b/configs/at91sam9260dfc_defconfig @@ -802,7 +802,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9260dfc_ext_bare_defconfig b/configs/at91sam9260dfc_ext_bare_defconfig index 6620faf0e5..1048d9c8b5 100644 --- a/configs/at91sam9260dfc_ext_bare_defconfig +++ b/configs/at91sam9260dfc_ext_bare_defconfig @@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91sam9260dfc_ext_defconfig b/configs/at91sam9260dfc_ext_defconfig index 6d1a28167d..343684984e 100644 --- a/configs/at91sam9260dfc_ext_defconfig +++ b/configs/at91sam9260dfc_ext_defconfig @@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9260pf_defconfig b/configs/at91sam9260pf_defconfig index 3cf632405d..2cdabd08ac 100644 --- a/configs/at91sam9260pf_defconfig +++ b/configs/at91sam9260pf_defconfig @@ -533,8 +533,8 @@ BR2_PACKAGE_TSLIB=y BR2_COMPRESSOR_SUPPORT=y BR2_PACKAGE_GZIP=y BR2_PACKAGE_LZO=y -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set BR2_PACKAGE_LZMA_HOST=y BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9261ek_defconfig b/configs/at91sam9261ek_defconfig index eb0732fcee..2af89ac35a 100644 --- a/configs/at91sam9261ek_defconfig +++ b/configs/at91sam9261ek_defconfig @@ -817,8 +817,8 @@ BR2_PACKAGE_TSLIB=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set BR2_PACKAGE_LZMA_HOST=y BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9261ek_ext_bare_defconfig b/configs/at91sam9261ek_ext_bare_defconfig index 03c2acbe64..7c11189854 100644 --- a/configs/at91sam9261ek_ext_bare_defconfig +++ b/configs/at91sam9261ek_ext_bare_defconfig @@ -603,7 +603,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91sam9261ek_ext_defconfig b/configs/at91sam9261ek_ext_defconfig index 6cdd8e9e5e..e233b94094 100644 --- a/configs/at91sam9261ek_ext_defconfig +++ b/configs/at91sam9261ek_ext_defconfig @@ -773,8 +773,8 @@ BR2_PACKAGE_TSLIB=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set BR2_PACKAGE_LZMA_HOST=y BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9263ek_defconfig b/configs/at91sam9263ek_defconfig index 62a2698fc7..d7645d970f 100644 --- a/configs/at91sam9263ek_defconfig +++ b/configs/at91sam9263ek_defconfig @@ -814,8 +814,8 @@ BR2_PACKAGE_TSLIB=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set BR2_PACKAGE_LZMA_HOST=y BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9263ek_ext_bare_defconfig b/configs/at91sam9263ek_ext_bare_defconfig index 7ba1eed7e3..d31b8de698 100644 --- a/configs/at91sam9263ek_ext_bare_defconfig +++ b/configs/at91sam9263ek_ext_bare_defconfig @@ -602,7 +602,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91sam9263ek_ext_defconfig b/configs/at91sam9263ek_ext_defconfig index 99cf3c5157..bda21490b4 100644 --- a/configs/at91sam9263ek_ext_defconfig +++ b/configs/at91sam9263ek_ext_defconfig @@ -735,8 +735,8 @@ BR2_PACKAGE_TSLIB=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set BR2_PACKAGE_LZMA_HOST=y BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9g20dfc_defconfig b/configs/at91sam9g20dfc_defconfig index 51e2b834d4..ed271d820e 100644 --- a/configs/at91sam9g20dfc_defconfig +++ b/configs/at91sam9g20dfc_defconfig @@ -736,7 +736,7 @@ BR2_PACKAGE_XSERVER_none=y # Compressors / decompressors # # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/at91sam9g20dfc_ext_bare_defconfig b/configs/at91sam9g20dfc_ext_bare_defconfig index 63e166db38..0b778ebce3 100644 --- a/configs/at91sam9g20dfc_ext_bare_defconfig +++ b/configs/at91sam9g20dfc_ext_bare_defconfig @@ -600,7 +600,7 @@ BR2_PACKAGE_XSERVER_none=y # # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set diff --git a/configs/at91sam9g20dfc_ext_defconfig b/configs/at91sam9g20dfc_ext_defconfig index d674160035..5f5dbe23ac 100644 --- a/configs/at91sam9g20dfc_ext_defconfig +++ b/configs/at91sam9g20dfc_ext_defconfig @@ -721,7 +721,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/atngw100_defconfig b/configs/atngw100_defconfig index 952028d109..5f0500915a 100644 --- a/configs/atngw100_defconfig +++ b/configs/atngw100_defconfig @@ -665,7 +665,7 @@ BR2_PACKAGE_LIBGLIB2=y # BR2_PACKAGE_LZO=y # BR2_PACKAGE_LZOP is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/atstk1005_defconfig b/configs/atstk1005_defconfig index 55e23f6972..5241859cb1 100644 --- a/configs/atstk1005_defconfig +++ b/configs/atstk1005_defconfig @@ -707,7 +707,7 @@ BR2_PACKAGE_LIBGLIB2=y # Compressors / decompressors # BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/atstk100x_defconfig b/configs/atstk100x_defconfig index 4a47d0df65..c8fb4e4fe8 100644 --- a/configs/atstk100x_defconfig +++ b/configs/atstk100x_defconfig @@ -810,7 +810,7 @@ BR2_PACKAGE_LIBGLIB2=y # BR2_PACKAGE_GZIP is not set BR2_PACKAGE_LZO=y # BR2_PACKAGE_LZOP is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/i386_defconfig b/configs/i386_defconfig index afc10752ca..0dec12e3d7 100644 --- a/configs/i386_defconfig +++ b/configs/i386_defconfig @@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y # BR2_PACKAGE_LZO=y # BR2_PACKAGE_LZOP is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/i686_defconfig b/configs/i686_defconfig index 1e1da2172a..90dce72237 100644 --- a/configs/i686_defconfig +++ b/configs/i686_defconfig @@ -642,7 +642,7 @@ BR2_PACKAGE_XSERVER_none=y # BR2_PACKAGE_LZO=y # BR2_PACKAGE_LZOP is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/integrator926_defconfig b/configs/integrator926_defconfig index a53d8c3324..68b0ff6ae1 100644 --- a/configs/integrator926_defconfig +++ b/configs/integrator926_defconfig @@ -640,7 +640,7 @@ BR2_PACKAGE_XSERVER_none=y # Compressors / decompressors # # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/integrator926_huge_defconfig b/configs/integrator926_huge_defconfig index b379e9fe3d..69f16defea 100644 --- a/configs/integrator926_huge_defconfig +++ b/configs/integrator926_huge_defconfig @@ -616,8 +616,8 @@ BR2_PACKAGE_XSERVER_none=y # Compressors / decompressors # # BR2_PACKAGE_LZO is not set -BR2_PACKAGE_LZMA_TARGET=y -# BR2_PACKAGE_LZMA_TARGET_HEADERS is not set +BR2_PACKAGE_LZMA=y +# BR2_PACKAGE_LZMA_HEADERS is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/configs/kb9202_defconfig b/configs/kb9202_defconfig index b8ca087cf9..d41b30b8bc 100644 --- a/configs/kb9202_defconfig +++ b/configs/kb9202_defconfig @@ -632,7 +632,7 @@ BR2_X11_PREFIX="/usr" BR2_COMPRESSOR_SUPPORT=y # BR2_PACKAGE_GZIP is not set # BR2_PACKAGE_LZO is not set -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set # BR2_PACKAGE_ZLIB is not set BR2_SCRIPTING_SUPPORT=y diff --git a/configs/v100sc2_defconfig b/configs/v100sc2_defconfig index 61e4c8ad88..e198353356 100644 --- a/configs/v100sc2_defconfig +++ b/configs/v100sc2_defconfig @@ -653,7 +653,7 @@ BR2_PACKAGE_LIBGLIB2=y BR2_COMPRESSOR_SUPPORT=y # BR2_PACKAGE_GZIP is not set BR2_PACKAGE_LZO=y -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set # BR2_PACKAGE_LZMA_HOST is not set BR2_PACKAGE_ZLIB=y # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set diff --git a/package/lzma/Config.in b/package/lzma/Config.in index 76c95afa72..ab1ea598f0 100644 --- a/package/lzma/Config.in +++ b/package/lzma/Config.in @@ -1,8 +1,9 @@ -config BR2_PACKAGE_LZMA_TARGET - bool "Install lzma for the target system" +config BR2_PACKAGE_LZMA + bool "lzma" depends on BR2_GCC_CROSS_CXX help - lzma utils on the target + Lempel Ziv compression method (LZMA) is a compression + algorithm with high compression ratio. http://tukaani.org/lzma/ diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk index ff516fee2f..7cb432b4aa 100644 --- a/package/lzma/lzma.mk +++ b/package/lzma/lzma.mk @@ -113,7 +113,7 @@ $(TARGET_DIR)/$(LZMA_TARGET_BINARY): $(LZMA_TARGET_DIR)/src/lzma/lzma -$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@ touch -c $@ -lzma-target: $(TARGET_DIR)/$(LZMA_TARGET_BINARY) +lzma: $(TARGET_DIR)/$(LZMA_TARGET_BINARY) lzma-source: $(DL_DIR)/$(LZMA_SOURCE) @@ -129,6 +129,6 @@ lzma-dirclean: # Toplevel Makefile options # ############################################################# -ifeq ($(BR2_PACKAGE_LZMA_TARGET),y) -TARGETS+=lzma-target +ifeq ($(BR2_PACKAGE_LZMA),y) +TARGETS+=lzma endif diff --git a/scripts/buildall.sh b/scripts/buildall.sh index 47322c7e21..e06ee3878d 100755 --- a/scripts/buildall.sh +++ b/scripts/buildall.sh @@ -325,7 +325,7 @@ EXE mk xvkbd RESTART comment Compressors / decompressors EXE mk lzo OK -EXE mk lzma-target OK +EXE mk lzma OK EXE mk zlib OK comment Package managers EXE mk ipkg OK diff --git a/scripts/test/Config.in.test.buildall b/scripts/test/Config.in.test.buildall index cc9f6a4ab2..84c4de1871 100644 --- a/scripts/test/Config.in.test.buildall +++ b/scripts/test/Config.in.test.buildall @@ -599,7 +599,7 @@ config BR2_TARGET_TEST_PACKAGES # Compressors / decompressors # select BR2_PACKAGE_LZO -# BR2_PACKAGE_LZMA_TARGET is not set +# BR2_PACKAGE_LZMA is not set select BR2_PACKAGE_LZMA_HOST select BR2_PACKAGE_ZLIB # BR2_PACKAGE_ZLIB_TARGET_HEADERS is not set