setools: Add native support

Enable using setools native for analyzing
the built SELinux policy during the build.

Signed-off-by: Poonam Jadhav <poonam.jadhav@kpit.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
This commit is contained in:
Poonam Jadhav 2025-07-09 20:07:37 +05:30 committed by Yi Zhao
parent c4b0592620
commit 66496127e3

View File

@ -36,3 +36,5 @@ do_install:append() {
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/__pycache__
rm -rf ${D}${libdir}/${PYTHON_DIR}/site-packages/setools/*/__pycache__
}
BBCLASSEXTEND += "native"