Address parse errors while using getVar to calculate dependency information
This commit is contained in:
1 parent
2eafa1892d
commit
78e51cd7f4
3 files changed
+3
-3
No files matched your search
@@ -5,7 +5,7 @@ export CARGO_HOME = "${WORKDIR}/cargo_home"
|
||||
|
||||
def cargo_base_dep(d):
|
||||
deps = ""
|
||||
if not d.getVar('INHIBIT_DEFAULT_DEPS') and not d.getVar('INHIBIT_CARGO_DEP'):
|
||||
if not d.getVar('INHIBIT_DEFAULT_DEPS', True) and not d.getVar('INHIBIT_CARGO_DEP', True):
|
||||
deps += " cargo-native"
|
||||
return deps
|
||||
|
||||
|
||||
Reference in new issue
Block a user