diff options
author | Richard Purdie <richard@openedhand.com> | 2008-10-10 11:24:33 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-10-10 11:24:33 +0000 |
commit | fe795de8f54b4270bc3fcf7b87c06ccf6d837665 (patch) | |
tree | 87d1268f7465e6440ed72bccb63e8a47a45f38c4 /meta | |
parent | e3609610471809a8890b2dd4bb5fa88688e02977 (diff) | |
download | poky-fe795de8f54b4270bc3fcf7b87c06ccf6d837665.tar.gz |
package_ipk.bbclass: Simplify variable expansion
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5476 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 3db8637570..c4f53046f5 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -166,10 +166,9 @@ python do_package_ipk () { | |||
166 | pkgname = pkg | 166 | pkgname = pkg |
167 | bb.data.setVar('PKG', pkgname, localdata) | 167 | bb.data.setVar('PKG', pkgname, localdata) |
168 | 168 | ||
169 | overrides = bb.data.getVar('OVERRIDES', localdata) | 169 | overrides = bb.data.getVar('OVERRIDES', localdata, True) |
170 | if not overrides: | 170 | if not overrides: |
171 | raise bb.build.FuncFailed('OVERRIDES not defined') | 171 | raise bb.build.FuncFailed('OVERRIDES not defined') |
172 | overrides = bb.data.expand(overrides, localdata) | ||
173 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) | 172 | bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata) |
174 | 173 | ||
175 | bb.data.update_data(localdata) | 174 | bb.data.update_data(localdata) |