diff options
-rw-r--r-- | rules/host-checkpolicy.in | 8 | ||||
-rw-r--r-- | rules/host-checkpolicy.make | 28 |
2 files changed, 36 insertions, 0 deletions
diff --git a/rules/host-checkpolicy.in b/rules/host-checkpolicy.in new file mode 100644 index 000000000..c5f54c084 --- /dev/null +++ b/rules/host-checkpolicy.in @@ -0,0 +1,8 @@ +## SECTION=hosttools_noprompt + +config HOST_CHECKPOLICY + tristate + default ALLYES + select HOST_LIBSELINUX + select HOST_LIBSEPOL + select HOST_FLEX diff --git a/rules/host-checkpolicy.make b/rules/host-checkpolicy.make new file mode 100644 index 000000000..9f34d2871 --- /dev/null +++ b/rules/host-checkpolicy.make @@ -0,0 +1,28 @@ +# -*-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_CHECKPOLICY) += host-checkpolicy + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_CHECKPOLICY_CONF_TOOL := NO +HOST_CHECKPOLICY_MAKE_ENV := $(HOST_ENV) +HOST_CHECKPOLICY_MAKE_OPT := LIBDIR=$(PTXDIST_SYSROOT_HOST)/lib +# no ":=" here +HOST_CHECKPOLICY_INSTALL_OPT = \ + PREFIX=$(HOST_CHECKPOLICY_PKGDIR) \ + install + +# vim: syntax=make |