generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
18
package/lzma-alone/Config.in.host
Normal file
18
package/lzma-alone/Config.in.host
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_HOST_LZMA_ALONE
|
||||
bool "host lzma-alone"
|
||||
help
|
||||
LZMA has two well-known command-line tools:
|
||||
1. lzma from LZMA SDK
|
||||
2. lzma from XZ Utils (previously LZMA Utils)
|
||||
|
||||
This package provides the former one which:
|
||||
1. Gives more control over compression parameters
|
||||
2. Gets named lzma_alone to allow coexistence
|
||||
|
||||
This tool may be used to prepare firmwares for bootloaders
|
||||
with limited LZMA support.
|
||||
E.g. Broadcom's CFE bootloader for MIPS BCM47xx devices is
|
||||
known to fail to boot images using LZMA compression with
|
||||
dictionary.
|
||||
|
||||
https://www.7-zip.org/sdk.html
|
||||
5
package/lzma-alone/lzma-alone.hash
Normal file
5
package/lzma-alone/lzma-alone.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# From https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/
|
||||
sha1 fbe4d6c02202d65fae75c2db0e3cdc542ca41e6d lzma922.tar.bz2
|
||||
# Locally computed
|
||||
sha256 9aade84f229fb25f7aef39d8866b375fe6d35a9e18098d7cd86a99e294902944 lzma922.tar.bz2
|
||||
sha256 65cd2f7b76266889cbdcec55ab8ce6e845beabb5f450d58287439b25666e3b6a lzma.txt
|
||||
27
package/lzma-alone/lzma-alone.mk
Normal file
27
package/lzma-alone/lzma-alone.mk
Normal file
@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# lzma-alone
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZMA_ALONE_VERSION = 9.22
|
||||
LZMA_ALONE_SITE = https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK
|
||||
LZMA_ALONE_SOURCE = lzma922.tar.bz2
|
||||
LZMA_ALONE_STRIP_COMPONENTS = 0
|
||||
LZMA_ALONE_LICENSE = Public Domain
|
||||
LZMA_ALONE_LICENSE_FILES = lzma.txt
|
||||
|
||||
define HOST_LZMA_ALONE_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
|
||||
-C $(@D)/C/Util/Lzma -f makefile.gcc
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) \
|
||||
-C $(@D)/CPP/7zip/Bundles/LzmaCon -f makefile.gcc
|
||||
endef
|
||||
|
||||
define HOST_LZMA_ALONE_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 \
|
||||
$(@D)/CPP/7zip/Bundles/LzmaCon/lzma \
|
||||
$(HOST_DIR)/bin/lzma_alone
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user