summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2013-01-28 22:45:18 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2013-02-05 18:54:17 +0100
commit45cb2f82c45645681321ec3f310bdac6888d5c05 (patch)
tree30cb03ea65380f062a31aae2376ba240f05b29a3
parentfe26bd0dd52c93eba1fe7867fd765cd4be3486e6 (diff)
downloadptxdist-45cb2f82c45645681321ec3f310bdac6888d5c05.tar.gz
ptxdist-45cb2f82c45645681321ec3f310bdac6888d5c05.tar.xz
host-policycoreutils: add package
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--rules/host-policycoreutils.in8
-rw-r--r--rules/host-policycoreutils.make30
2 files changed, 38 insertions, 0 deletions
diff --git a/rules/host-policycoreutils.in b/rules/host-policycoreutils.in
new file mode 100644
index 000000000..f7950b61e
--- /dev/null
+++ b/rules/host-policycoreutils.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+
+config HOST_POLICYCOREUTILS
+ tristate
+ default ALLYES
+ select HOST_LIBSELINUX
+ select HOST_LIBSEMANAGE
+ select HOST_LIBSEPOL
diff --git a/rules/host-policycoreutils.make b/rules/host-policycoreutils.make
new file mode 100644
index 000000000..7380e4e87
--- /dev/null
+++ b/rules/host-policycoreutils.make
@@ -0,0 +1,30 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2013 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_POLICYCOREUTILS) += host-policycoreutils
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_POLICYCOREUTILS_CONF_TOOL := NO
+HOST_POLICYCOREUTILS_MAKE_ENV := $(HOST_ENV)
+HOST_POLICYCOREUTILS_MAKE_OPT := \
+ SUBDIRS="setfiles semodule semodule_package"
+# no ":=" here
+HOST_POLICYCOREUTILS_INSTALL_OPT = \
+ $(HOST_POLICYCOREUTILS_MAKE_OPT) \
+ PREFIX=$(HOST_POLICYCOREUTILS_PKGDIR) \
+ install
+
+# vim: syntax=make