meta-selinux/recipes-security/selinux/selinux_common.inc
Scott Murray 05178ce178 Adapt to UNPACKDIR changes
Remove or update S definitions as required to work with oe-core
S/UNPACKDIR changes.  A default definition of S has been added to
selinux_common.inc to avoid duplication in the set of recipes that
use it to build packages from different subdirectories of the selinux
repo.  The three packagegroups test build successfully with these
changes.

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2025-06-30 13:38:18 +08:00

24 lines
537 B
PHP

HOMEPAGE = "https://github.com/SELinuxProject"
SRC_URI = "git://github.com/SELinuxProject/selinux.git;branch=main;protocol=https"
SRCREV = "8e9157bbeea1899b7b8b257e7eaa71efef3fffed"
S = "${UNPACKDIR}/${BP}/${BPN}"
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+)"
do_compile() {
oe_runmake all
}
do_install() {
oe_runmake install \
DESTDIR="${D}" \
PREFIX="${prefix}" \
INCLUDEDIR="${includedir}" \
LIBDIR="${libdir}" \
SHLIBDIR="${base_libdir}"
}
CVE_PRODUCT ?= "kernel:selinux"