summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2020-07-24 10:51:45 +0200
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-07-24 10:51:45 +0200
commit170791abd2756d92d03e87382a20628cb39d6af0 (patch)
treed502757c71ebb59b1eefa036e6f08dd512d9e2cb /rules
parent6df29f409421f94dc48b14b93d63441cee40a0fa (diff)
downloadDistroKit-170791abd2756d92d03e87382a20628cb39d6af0.tar.gz
DistroKit-170791abd2756d92d03e87382a20628cb39d6af0.tar.xz
host-libcap: add version from ptxdist-2020.07.0
In preparation of a patch for systems with Go toolchains, add the unmodified version from upstream. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/host-libcap.make22
1 files changed, 22 insertions, 0 deletions
diff --git a/rules/host-libcap.make b/rules/host-libcap.make
new file mode 100644
index 0000000..61df847
--- /dev/null
+++ b/rules/host-libcap.make
@@ -0,0 +1,22 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Marc Kleine-Budde <mkl@pengutronix.de>
+# Copyright (C) 2010 by Robert Schwebel <r.schwebel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_LIBCAP) += host-libcap
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_LIBCAP_MAKE_OPT := prefix= BUILD_GPERF=no PAM_CAP=no LIBATTR=no DYNAMIC=yes lib=lib
+HOST_LIBCAP_INSTALL_OPT := $(HOST_LIBCAP_MAKE_OPT) RAISE_SETFCAP=no install
+
+# vim: syntax=make