update buildroot to 2017.02.11
This commit is contained in:
14
bsp/buildroot-2017.02.11/package/tar/Config.in
Normal file
14
bsp/buildroot-2017.02.11/package/tar/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_TAR
|
||||
bool "tar"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
A program that saves many files together into a single tape or disk
|
||||
archive, and can restore individual files from the archive.
|
||||
|
||||
http://www.gnu.org/software/tar/
|
||||
|
||||
comment "tar needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
3
bsp/buildroot-2017.02.11/package/tar/tar.hash
Normal file
3
bsp/buildroot-2017.02.11/package/tar/tar.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated after checking signature
|
||||
sha256 402dcfd0022fd7a1f2c5611f5c61af1cd84910a760a44a688e18ddbff4e9f024 tar-1.29.tar.xz
|
||||
sha256 9173f222464dd3676118408840da5990527062b5c7daf6487bed7c396c45bfb1 tar-1.29.cpio.gz
|
||||
50
bsp/buildroot-2017.02.11/package/tar/tar.mk
Normal file
50
bsp/buildroot-2017.02.11/package/tar/tar.mk
Normal file
@@ -0,0 +1,50 @@
|
||||
################################################################################
|
||||
#
|
||||
# tar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TAR_VERSION = 1.29
|
||||
TAR_SOURCE = tar-$(TAR_VERSION).tar.xz
|
||||
TAR_SITE = $(BR2_GNU_MIRROR)/tar
|
||||
# busybox installs in /bin, so we need tar to install as well in /bin
|
||||
# so that it overrides the Busybox symlinks.
|
||||
TAR_CONF_OPTS = --exec-prefix=/
|
||||
TAR_LICENSE = GPLv3+
|
||||
TAR_LICENSE_FILES = COPYING
|
||||
|
||||
# Prefer full-blown tar over buybox's version
|
||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||
TAR_DEPENDENCIES += busybox
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
TAR_DEPENDENCIES += acl
|
||||
TAR_CONF_OPTS += --with-posix-acls
|
||||
else
|
||||
TAR_CONF_OPTS += --without-posix-acls
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ATTR),y)
|
||||
TAR_DEPENDENCIES += attr
|
||||
TAR_CONF_OPTS += --with-xattrs
|
||||
else
|
||||
TAR_CONF_OPTS += --without-xattrs
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
# host-tar: use cpio.gz instead of tar.gz to prevent chicken-egg problem
|
||||
# of needing tar to build tar.
|
||||
HOST_TAR_SOURCE = tar-$(TAR_VERSION).cpio.gz
|
||||
define HOST_TAR_EXTRACT_CMDS
|
||||
mkdir -p $(@D)
|
||||
cd $(@D) && \
|
||||
$(call suitable-extractor,$(HOST_TAR_SOURCE)) $(DL_DIR)/$(HOST_TAR_SOURCE) | cpio -i --preserve-modification-time
|
||||
mv $(@D)/tar-$(TAR_VERSION)/* $(@D)
|
||||
rmdir $(@D)/tar-$(TAR_VERSION)
|
||||
endef
|
||||
|
||||
HOST_TAR_CONF_OPTS = --without-selinux
|
||||
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user