summaryrefslogtreecommitdiffstats
path: root/rules/host-checkpolicy.make
blob: aeacaba779e12bc8407d39edd97684c6469f5ca3 (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_CHECKPOLICY) += host-checkpolicy

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

HOST_CHECKPOLICY_CONF_TOOL := NO
HOST_CHECKPOLICY_MAKE_ENV := \
	$(HOST_ENV) \
	CFLAGS="-O2 -Wall -g"
HOST_CHECKPOLICY_MAKE_OPT := LIBDIR=$(PTXDIST_SYSROOT_HOST)/lib
# no ":=" here
HOST_CHECKPOLICY_INSTALL_OPT = \
	PREFIX=$(HOST_CHECKPOLICY_PKGDIR) \
	install

# vim: syntax=make