summaryrefslogtreecommitdiffstats
path: root/share/mk/configure/build-depends/tar
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/configure/build-depends/tar')
-rw-r--r--share/mk/configure/build-depends/tar/tar.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/share/mk/configure/build-depends/tar/tar.mk b/share/mk/configure/build-depends/tar/tar.mk
new file mode 100644
index 0000000..d9b87db
--- /dev/null
+++ b/share/mk/configure/build-depends/tar/tar.mk
@@ -0,0 +1,22 @@
+# Copyright 2021-2024, Alejandro Colomar <alx@kernel.org>
+# SPDX-License-Identifier: LGPL-3.0-only WITH LGPL-3.0-linking-exception
+
+
+ifndef MAKEFILE_CONFIGURE_BUILD_DEPENDS_TAR_TAR_INCLUDED
+MAKEFILE_CONFIGURE_BUILD_DEPENDS_TAR_TAR_INCLUDED := 1
+
+
+include $(MAKEFILEDIR)/configure/version.mk
+
+
+DEFAULT_TARFLAGS := \
+ --sort=name \
+ --owner=root:0 \
+ --group=root:0 \
+ --mtime='$(DISTDATE)'
+EXTRA_TARFLAGS :=
+TARFLAGS := $(DEFAULT_TARFLAGS) $(EXTRA_TARFLAGS)
+TAR := tar
+
+
+endif # include guard