summaryrefslogtreecommitdiffstats
path: root/rules/host-libselinux.make
blob: 616037439606110105f7ba9a6e6c525b5e393b00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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_LIBSELINUX) += host-libselinux

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

HOST_LIBSELINUX_CONF_TOOL := NO
HOST_LIBSELINUX_MAKE_ENV := \
	$(HOST_ENV) \
	CFLAGS="-O2 -Wall -g"
HOST_LIBSELINUX_MAKE_OPT := PREFIX=$(PTXDIST_SYSROOT_HOST)
# no ':=' here
HOST_LIBSELINUX_INSTALL_OPT = \
	PREFIX=$(HOST_LIBSELINUX_PKGDIR) \
	install

# vim: syntax=make