blob: 645420580fe98c8558b4658ef5bf395cae7dd67f (
plain)
1
2
3
4
5
6
7
8
9
10
|
inherit enable-selinux
PACKAGECONFIG[selinux] = ",,libselinux"
do_configure:append() {
if ${@bb.utils.contains('PACKAGECONFIG', 'selinux', 'true', 'false', d)} ; then
echo "#define HAVE_SELINUX 1" >> ${S}/config.h
echo "HAVE_SELINUX=1" >> ${S}/config.make
fi
}
|