diff options
-rw-r--r-- | rules/host-libselinux.in | 7 | ||||
-rw-r--r-- | rules/host-libselinux.make | 28 |
2 files changed, 35 insertions, 0 deletions
diff --git a/rules/host-libselinux.in b/rules/host-libselinux.in new file mode 100644 index 000000000..8962ad8c6 --- /dev/null +++ b/rules/host-libselinux.in @@ -0,0 +1,7 @@ +## SECTION=hosttools_noprompt + +config HOST_LIBSELINUX + tristate + default ALLYES + select HOST_LIBPCRE + select HOST_LIBSEPOL diff --git a/rules/host-libselinux.make b/rules/host-libselinux.make new file mode 100644 index 000000000..6be809167 --- /dev/null +++ b/rules/host-libselinux.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_LIBSELINUX) += host-libselinux + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_LIBSELINUX_CONF_TOOL := NO +HOST_LIBSELINUX_MAKE_ENV := $(HOST_ENV) +HOST_LIBSELINUX_MAKE_OPT := PREFIX=$(PTXDIST_SYSROOT_HOST) +# no ':=' here +HOST_LIBSELINUX_INSTALL_OPT = \ + PREFIX=$(HOST_LIBSELINUX_PKGDIR) \ + install + +# vim: syntax=make |