Build with jessie sysroot on ARM
This commit is contained in:
parent
adaec2d32b
commit
152d573fbd
2 changed files with 2 additions and 5 deletions
|
@ -85,10 +85,7 @@ def main(args):
|
|||
def InstallDefaultSysrootForArch(target_arch):
|
||||
if target_arch not in VALID_ARCHS:
|
||||
raise Error('Unknown architecture: %s' % target_arch)
|
||||
if target_arch in ['amd64', 'arm64', 'i386']:
|
||||
InstallSysroot('Jessie', target_arch)
|
||||
else:
|
||||
InstallSysroot('Wheezy', target_arch)
|
||||
InstallSysroot('Jessie', target_arch)
|
||||
|
||||
|
||||
def InstallSysroot(target_platform, target_arch):
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
['target_arch=="arm"', {
|
||||
# sysroot needs to be an absolute path otherwise it generates
|
||||
# incorrect results when passed to pkg-config
|
||||
'sysroot%': '<(source_root)/vendor/debian_wheezy_arm-sysroot',
|
||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm-sysroot',
|
||||
}],
|
||||
['target_arch=="arm64"', {
|
||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm64-sysroot',
|
||||
|
|
Loading…
Reference in a new issue