summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-10-10 11:24:33 +0000
committerRichard Purdie <richard@openedhand.com>2008-10-10 11:24:33 +0000
commitfe795de8f54b4270bc3fcf7b87c06ccf6d837665 (patch)
tree87d1268f7465e6440ed72bccb63e8a47a45f38c4
parente3609610471809a8890b2dd4bb5fa88688e02977 (diff)
downloadopenembedded-core-fe795de8f54b4270bc3fcf7b87c06ccf6d837665.tar.gz
openembedded-core-fe795de8f54b4270bc3fcf7b87c06ccf6d837665.tar.bz2
openembedded-core-fe795de8f54b4270bc3fcf7b87c06ccf6d837665.tar.xz
openembedded-core-fe795de8f54b4270bc3fcf7b87c06ccf6d837665.zip
package_ipk.bbclass: Simplify variable expansion
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/classes/package_ipk.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 3db863757..c4f53046f 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -166,10 +166,9 @@ python do_package_ipk () {
pkgname = pkg
bb.data.setVar('PKG', pkgname, localdata)
- overrides = bb.data.getVar('OVERRIDES', localdata)
+ overrides = bb.data.getVar('OVERRIDES', localdata, True)
if not overrides:
raise bb.build.FuncFailed('OVERRIDES not defined')
- overrides = bb.data.expand(overrides, localdata)
bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)
bb.data.update_data(localdata)