Only build against Jessie for arm64 arch

This commit is contained in:
Cheng Zhao 2017-05-23 16:09:35 +09:00
parent b5b2df8e6c
commit ff08c36478
3 changed files with 41 additions and 11 deletions

View file

@ -85,7 +85,10 @@ def main(args):
def InstallDefaultSysrootForArch(target_arch):
if target_arch not in VALID_ARCHS:
raise Error('Unknown architecture: %s' % target_arch)
InstallSysroot('Jessie', target_arch)
if target_arch == 'arm64':
InstallSysroot('Jessie', target_arch)
else:
InstallSysroot('Wheezy', target_arch)
def InstallSysroot(target_platform, target_arch):