initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
comment "lzip needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
|
||||
config BR2_PACKAGE_LZIP
|
||||
bool "lzip"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
Lzip is a lossless data compressor with a user interface
|
||||
similar to the one of gzip or bzip2.
|
||||
Lzip is about as fast as gzip, compresses most files more than
|
||||
bzip2, and is better than both from a data recovery
|
||||
perspective. Lzip is a clean implementation of the LZMA
|
||||
algorithm.
|
||||
|
||||
https://www.nongnu.org/lzip/lzip.html
|
||||
@@ -0,0 +1,4 @@
|
||||
# From https://lists.nongnu.org/archive/html/lzip-bug/2021-01/msg00008.html
|
||||
sha256 c3342d42e67139c165b8b128d033b5c96893a13ac5f25933190315214e87a948 lzip-1.22.tar.gz
|
||||
# Locally calculated
|
||||
sha256 3d77c1a58fbde5ddba612d1fe09965e20a3804953eca12e8c1892298bb8a5eef COPYING
|
||||
@@ -0,0 +1,40 @@
|
||||
################################################################################
|
||||
#
|
||||
# lzip
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZIP_VERSION = 1.22
|
||||
LZIP_SITE = http://download.savannah.gnu.org/releases/lzip
|
||||
LZIP_LICENSE = GPL-2.0+
|
||||
LZIP_LICENSE_FILES = COPYING
|
||||
|
||||
define LZIP_CONFIGURE_CMDS
|
||||
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr \
|
||||
$(TARGET_CONFIGURE_OPTS) )
|
||||
endef
|
||||
|
||||
define HOST_LZIP_CONFIGURE_CMDS
|
||||
(cd $(@D); $(HOST_MAKE_ENV) ./configure --prefix=$(HOST_DIR) \
|
||||
$(HOST_CONFIGURE_OPTS) CC="$(HOSTCC_NOCCACHE)" CXX="$(HOSTCXX_NOCCACHE)")
|
||||
endef
|
||||
|
||||
define LZIP_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_LZIP_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D)
|
||||
endef
|
||||
|
||||
define LZIP_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
define HOST_LZIP_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
|
||||
endef
|
||||
|
||||
# It's not autotools-based
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user