mirror of
https://git.yoctoproject.org/poky
synced 2026-02-05 16:28:43 +01:00
nativesdk: Switch to using nativesdk as a prefix, not a suffix
As discussed on the mailing lists, using a suffix to package names is hard and has lead to many recipes having to do PKGSUFFIX games. Its looking extremely hard to scale nativesdk much further without hacking many recipes. By comparison, using a prefix like multilib does works much better and doesn't involve "hacking" as many recipes. This change converts nativesdk to use a prefix using the existing multilib infrastructure. (From OE-Core rev: 81813c0e322dc04ce4b069117188d8a54dfddb8c) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -148,11 +148,11 @@ require python-${PYTHON_MAJMIN}-manifest.inc
|
||||
RPROVIDES_${PN}-core = "${PN}"
|
||||
RRECOMMENDS_${PN}-core = "${PN}-readline"
|
||||
RRECOMMENDS_${PN}-crypt = "openssl"
|
||||
RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "openssl-nativesdk"
|
||||
RRECOMMENDS_${PN}-crypt_virtclass-nativesdk = "nativesdk-openssl"
|
||||
|
||||
# package libpython2
|
||||
PACKAGES =+ "lib${BPN}2${PKGSUFFIX}"
|
||||
FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*"
|
||||
PACKAGES =+ "lib${BPN}2"
|
||||
FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
|
||||
|
||||
# catch debug extensions (isn't that already in python-core-dbg?)
|
||||
FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug"
|
||||
@@ -166,6 +166,3 @@ PACKAGES += "${PN}-man"
|
||||
FILES_${PN}-man = "${datadir}/man"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
PKGSUFFIX = ""
|
||||
PKGSUFFIX_virtclass-nativesdk = "-nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user