mirror of
https://git.yoctoproject.org/poky
synced 2026-02-27 11:59:40 +01:00
I'm not sure what's going on but having this symlink present is causing git problems rebasing just by being present; deleting it and checking it out again does not fix it. In any event this is not the standard way of sharing files between recipes in the same directory - extending FILESEXTRAPATHS is, so use that method instead. (From OE-Core rev: 9ddf0597b4ea40b4c2be2eb0f01f833b5ec23030) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
721 B
BlitzBasic
30 lines
721 B
BlitzBasic
require libcap-ng.inc
|
|
|
|
FILESEXTRAPATHS_prepend := "${THISDIR}/libcap-ng:"
|
|
|
|
SUMMARY .= " - python"
|
|
|
|
inherit lib_package autotools python3native
|
|
|
|
DEPENDS += "libcap-ng python3 swig-native"
|
|
|
|
S = "${WORKDIR}/libcap-ng-${PV}"
|
|
|
|
EXTRA_OECONF += "--with-python --with-python3"
|
|
EXTRA_OEMAKE += "PYLIBVER='python${PYTHON_BASEVERSION}${PYTHON_ABI}' PYINC='${STAGING_INCDIR}/${PYLIBVER}'"
|
|
|
|
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"
|
|
|