summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_ipk.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r--meta/classes/package_ipk.bbclass5
1 files changed, 1 insertions, 4 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index da195a99e1..11b60b1563 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -179,10 +179,7 @@ python do_package_ipk () {
179 pkgname = pkg 179 pkgname = pkg
180 bb.data.setVar('PKG', pkgname, localdata) 180 bb.data.setVar('PKG', pkgname, localdata)
181 181
182 overrides = bb.data.getVar('OVERRIDES', localdata, True) 182 bb.data.setVar('OVERRIDES', pkg, localdata)
183 if not overrides:
184 raise bb.build.FuncFailed('OVERRIDES not defined')
185 bb.data.setVar('OVERRIDES', overrides + ':' + pkg, localdata)
186 183
187 bb.data.update_data(localdata) 184 bb.data.update_data(localdata)
188 basedir = os.path.join(os.path.dirname(root)) 185 basedir = os.path.join(os.path.dirname(root))