Tools: fixed SITL build
This commit is contained in:
parent
c5c171b359
commit
a349a2f956
@ -62,6 +62,8 @@ _depends_on_vehicle_cache = {}
|
||||
def _depends_on_vehicle(bld, source_node):
|
||||
path = source_node.srcpath()
|
||||
|
||||
if not bld.env.BUILDROOT:
|
||||
bld.env.BUILDROOT = bld.bldnode.make_node('').abspath()
|
||||
if path.startswith(bld.env.BUILDROOT) or path.startswith("build/"):
|
||||
_depends_on_vehicle_cache[path] = False
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user