meta-selinux/recipes-extended/lsof/lsof_selinux.inc
Yi Zhao 654201e25d meta-selinux: convert to new override syntax
This is the result of automated script conversion:
poky/scripts/contrib/convert-overrides.py meta-selinux

Converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
2021-08-04 16:18:39 -04:00

15 lines
274 B
C++

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='
}