summaryrefslogtreecommitdiffstats
path: root/recipes-extended/lsof/lsof_selinux.inc
blob: 9021f38e43c15b77c96c358dc409cf915176d2e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
inherit selinux

DEPENDS += "${LIBSELINUX}"

do_configure:prepend () {
	export LINUX_HASSELINUX="${@target_selinux(d, 'Y', 'N')}"
	export LSOF_CFGF="${CFLAGS}"
	export LSOF_CFGL="${LDFLAGS}"
	export LSOF_CC="${BUILD_CC}"
}

do_compile () {
	oe_runmake 'CC=${CC}' 'DEBUG='
}