mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
By using the python3targetconfig class we can drop the existing python patch and the extra make parameters. (From OE-Core rev: 3bbebc39235f50af4d66e3284b67c1491d2c93f2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
619 B
BlitzBasic
29 lines
619 B
BlitzBasic
require libcap-ng.inc
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:"
|
|
|
|
SUMMARY .= " - python"
|
|
|
|
inherit lib_package autotools python3targetconfig
|
|
|
|
DEPENDS += "libcap-ng python3 swig-native"
|
|
|
|
S = "${WORKDIR}/libcap-ng-${PV}"
|
|
|
|
EXTRA_OECONF += "--with-python --with-python3"
|
|
|
|
do_install_append() {
|
|
rm -rf ${D}${bindir}
|
|
rm -rf ${D}${libdir}/.debug
|
|
rm -f ${D}${libdir}/lib*
|
|
rm -rf ${D}${libdir}/pkgconfig
|
|
rm -rf ${D}${datadir}
|
|
rm -rf ${D}${includedir}
|
|
}
|
|
|
|
# PACKAGES = "${PN}"
|
|
|
|
FILES_${PN} = "${libdir}/python${PYTHON_BASEVERSION}"
|
|
FILES_${PN}-dbg =+ "${PYTHON_SITEPACKAGES_DIR}/.debug/_capng.so"
|
|
|