|
@@ -75,6 +75,8 @@ python () {
|
|
|
|
|
|
# Dummy value because the default function can't be called with blank SRC_URI
|
|
|
d.setVar('SRCPV', '999')
|
|
|
+ # sstate is never going to work for external source trees, disable it
|
|
|
+ d.setVar('SSTATE_SKIP_CREATION', '1')
|
|
|
|
|
|
if d.getVar('CONFIGUREOPT_DEPTRACK') == '--disable-dependency-tracking':
|
|
|
d.setVar('CONFIGUREOPT_DEPTRACK', '')
|
|
@@ -82,10 +84,7 @@ python () {
|
|
|
tasks = filter(lambda k: d.getVarFlag(k, "task"), d.keys())
|
|
|
|
|
|
for task in tasks:
|
|
|
- if task.endswith("_setscene"):
|
|
|
- # sstate is never going to work for external source trees, disable it
|
|
|
- bb.build.deltask(task, d)
|
|
|
- elif os.path.realpath(d.getVar('S')) == os.path.realpath(d.getVar('B')):
|
|
|
+ if os.path.realpath(d.getVar('S')) == os.path.realpath(d.getVar('B')):
|
|
|
# Since configure will likely touch ${S}, ensure only we lock so one task has access at a time
|
|
|
d.appendVarFlag(task, "lockfiles", " ${S}/singletask.lock")
|
|
|
|