update buildroot to 2017.02.11
This commit is contained in:
10
bsp/buildroot-2017.02.11/package/lz4/Config.in
Normal file
10
bsp/buildroot-2017.02.11/package/lz4/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_LZ4
|
||||
bool "lz4"
|
||||
help
|
||||
LZ4 is a very fast lossless compression algorithm, providing
|
||||
compression speed at 400 MB/s per core, scalable with multi-cores
|
||||
CPU. It also features an extremely fast decoder, with speed
|
||||
in multiple GB/s per core, typically reaching RAM speed limits
|
||||
on multi-core systems.
|
||||
|
||||
http://www.lz4.org/
|
||||
2
bsp/buildroot-2017.02.11/package/lz4/lz4.hash
Normal file
2
bsp/buildroot-2017.02.11/package/lz4/lz4.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# sha256 locally computed
|
||||
sha256 0190cacd63022ccb86f44fa5041dc6c3804407ad61550ca21c382827319e7e7e lz4-v1.7.5.tar.gz
|
||||
44
bsp/buildroot-2017.02.11/package/lz4/lz4.mk
Normal file
44
bsp/buildroot-2017.02.11/package/lz4/lz4.mk
Normal file
@@ -0,0 +1,44 @@
|
||||
################################################################################
|
||||
#
|
||||
# lz4
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZ4_VERSION = v1.7.5
|
||||
LZ4_SITE = $(call github,lz4,lz4,$(LZ4_VERSION))
|
||||
LZ4_INSTALL_STAGING = YES
|
||||
LZ4_LICENSE = BSD-2c (library), GPLv2+ (programs)
|
||||
LZ4_LICENSE_FILES = lib/LICENSE programs/COPYING
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
define LZ4_DISABLE_SHARED
|
||||
$(SED) '/SHARED/d' $(@D)/lib/Makefile
|
||||
endef
|
||||
LZ4_POST_PATCH_HOOKS += LZ4_DISABLE_SHARED
|
||||
endif
|
||||
|
||||
define HOST_LZ4_BUILD_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define HOST_LZ4_INSTALL_CMDS
|
||||
$(HOST_MAKE_ENV) $(HOST_CONFIGURE_OPTS) $(MAKE) PREFIX=$(HOST_DIR)/usr \
|
||||
install -C $(@D)
|
||||
endef
|
||||
|
||||
define LZ4_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) all
|
||||
endef
|
||||
|
||||
define LZ4_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(STAGING_DIR) \
|
||||
PREFIX=/usr install -C $(@D)
|
||||
endef
|
||||
|
||||
define LZ4_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) DESTDIR=$(TARGET_DIR) \
|
||||
PREFIX=/usr install -C $(@D)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
Reference in New Issue
Block a user