summaryrefslogtreecommitdiffstats
path: root/recipes-extended/lsof/lsof_selinux.inc
blob: 6691b4cd9d468a50873442e78d80b20b57c2a33a (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='
}