Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.

[YOCTO #1486]
Added MLPREFIX to the final package names of library packages in case of
DEBIAN_NAMES.

(From OE-Core rev: 1162b78d6f99da52cd7d122e4295c618184e41cd)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Lianhao Lu
2011-09-16 20:32:50 +08:00
committed by Richard Purdie
parent 27f8868509
commit aab71071d7
6 changed files with 10 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ export LDFLAGS += "-ldl"
python populate_packages_prepend () {
# autonamer would call this libxml2-2, but we don't want that
if bb.data.getVar('DEBIAN_NAMES', d, 1):
bb.data.setVar('PKG_libxml2', 'libxml2', d)
bb.data.setVar('PKG_libxml2', '${MLPREFIX}libxml2', d)
}
PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"