mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
multilib: Use BPN instead of PN for style like lib${PN}
When supporting multilib, ${PN} will be extended with MLPREFIX. However
if a package name contains ${PN} with styles like lib${PN}, such
extension will cause error. Use BPN in this case.
(From OE-Core rev: fbb734e5753655de30c82c0a036c9043820e02cb)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -116,8 +116,8 @@ FILES_${PN}-core += "${libdir}/python${PYTHON_MAJMIN}/sitecustomize.py"
|
||||
FILES_${PN}-core += "${bindir}/2to3"
|
||||
|
||||
# package libpython2
|
||||
PACKAGES =+ "lib${PN}2"
|
||||
FILES_lib${PN}2 = "${libdir}/libpython*.so.*"
|
||||
PACKAGES =+ "lib${BPN}2"
|
||||
FILES_lib${BPN}2 = "${libdir}/libpython*.so.*"
|
||||
|
||||
# additional stuff -dev
|
||||
|
||||
|
||||
Reference in New Issue
Block a user