Fix AMBuildScript compatibility issue with older objdirs.
This commit is contained in:
parent
49380620e0
commit
a7342f3fa2
@ -73,7 +73,9 @@ class SMConfig(object):
|
||||
self.versionlib = None
|
||||
|
||||
def use_auto_versioning(self):
|
||||
return builder.backend == 'amb2' and not builder.options.disable_auto_versioning
|
||||
if builder.backend != 'amb2':
|
||||
return False
|
||||
return not getattr(builder.options, 'disable_auto_versioning', False)
|
||||
|
||||
@property
|
||||
def tag(self):
|
||||
|
Loading…
Reference in New Issue
Block a user