Bitbake classes updates from OE

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@294 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2006-02-27 13:18:52 +00:00
parent e6c95ae259
commit 3ddfbc7719
7 changed files with 363 additions and 120 deletions

View File

@@ -1,3 +1,11 @@
STAGING_PKGMAPS_DIR = "${STAGING_DIR}/pkgmaps/debian"
# Debain package renaming only occurs when a package is built
# We therefore have to make sure we build all runtime packages
# before building the current package to make the packages runtime
# depends are correct
BUILD_ALL_DEPS = "1"
python debian_package_name_hook () {
import glob, copy, stat, errno, re
@@ -74,7 +82,7 @@ python debian_package_name_hook () {
if soname_result:
(pkgname, devname) = soname_result
for pkg in packages.split():
if (bb.data.getVar('PKG_' + pkg, d)):
if (bb.data.getVar('PKG_' + pkg, d) or bb.data.getVar('DEBIAN_NOAUTONAME_' + pkg, d)):
continue
if pkg == orig_pkg:
newpkg = pkgname