aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tar/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-09-11 18:38:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-09-11 18:38:02 +0000
commitcaddbf5431dbed6d1acc574a9a411e94a5824845 (patch)
tree7c8e275219d705ba67243552de3f3d49d7863c3f /tools/tar/Makefile
parentaccc5e369343b9389081dc7ede7197e55d52d74f (diff)
downloadupstream-caddbf5431dbed6d1acc574a9a411e94a5824845.tar.gz
upstream-caddbf5431dbed6d1acc574a9a411e94a5824845.tar.bz2
upstream-caddbf5431dbed6d1acc574a9a411e94a5824845.zip
tools: add tar host build, required for --sort=name which was only added in the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 46876
Diffstat (limited to 'tools/tar/Makefile')
-rw-r--r--tools/tar/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/tools/tar/Makefile b/tools/tar/Makefile
new file mode 100644
index 0000000000..975e7835ef
--- /dev/null
+++ b/tools/tar/Makefile
@@ -0,0 +1,30 @@
+#
+# Copyright (C) 2015 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=tar
+PKG_VERSION:=1.28
+
+PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
+PKG_SOURCE_URL:=@GNU/tar
+PKG_MD5SUM:=49b6306167724fe48f419a33a5beb857
+
+HOST_BUILD_PARALLEL := 1
+
+include $(INCLUDE_DIR)/host-build.mk
+
+HOSTCC := $(HOSTCC_NOCACHE)
+HOSTCXX := $(HOSTCXX_NOCACHE)
+
+HOST_CONFIGURE_ARGS += \
+ --without-posix-acls \
+ --without-selinux \
+ --without-xattrs \
+ --disable-acl \
+ --disable-nls
+
+$(eval $(call HostBuild))