initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_PIGZ
|
||||
bool "pigz"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
pigz, which stands for parallel implementation of gzip, is a
|
||||
fully functional replacement for gzip that exploits multiple
|
||||
processors and multiple cores to the hilt when compressing
|
||||
data.
|
||||
|
||||
http://www.zlib.net/pigz/
|
||||
|
||||
comment "pigz needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,9 @@
|
||||
config BR2_PACKAGE_HOST_PIGZ
|
||||
bool "host pigz"
|
||||
help
|
||||
pigz, which stands for parallel implementation of gzip, is a
|
||||
fully functional replacement for gzip that exploits multiple
|
||||
processors and multiple cores to the hilt when compressing
|
||||
data.
|
||||
|
||||
http://www.zlib.net/pigz/
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 577673676cd5c7219f94b236075451220bae3e1ca451cf849947a2998fbf5820 pigz-2.6.tar.gz
|
||||
sha256 830b3e1b05cc20f443d89d7d8703a3c63fd64c57ab716f5e81fd178517df1e11 README
|
||||
@@ -0,0 +1,32 @@
|
||||
################################################################################
|
||||
#
|
||||
# pigz
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PIGZ_VERSION = 2.6
|
||||
PIGZ_SITE = $(call github,madler,pigz,v$(PIGZ_VERSION))
|
||||
PIGZ_DEPENDENCIES = zlib
|
||||
HOST_PIGZ_DEPENDENCIES = host-zlib
|
||||
PIGZ_LICENSE = Zlib
|
||||
PIGZ_LICENSE_FILES = README
|
||||
PIGZ_CPE_ID_VENDOR = zlib
|
||||
|
||||
define PIGZ_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define HOST_PIGZ_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define PIGZ_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigz $(TARGET_DIR)/usr/bin/pigz
|
||||
endef
|
||||
|
||||
define HOST_PIGZ_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 0755 $(@D)/pigz $(HOST_DIR)/bin/pigz
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user