Update sysroot to Debian Stretch
This commit is contained in:
parent
0ec2eba2a3
commit
da7fc54e37
4 changed files with 41 additions and 63 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -28,14 +28,11 @@
|
||||||
/external_binaries/
|
/external_binaries/
|
||||||
/out/
|
/out/
|
||||||
/vendor/.gclient
|
/vendor/.gclient
|
||||||
/vendor/debian_jessie_amd64-sysroot/
|
|
||||||
/vendor/debian_jessie_arm-sysroot/
|
|
||||||
/vendor/debian_jessie_arm64-sysroot/
|
|
||||||
/vendor/debian_jessie_i386-sysroot/
|
|
||||||
/vendor/debian_jessie_mips64-sysroot/
|
/vendor/debian_jessie_mips64-sysroot/
|
||||||
/vendor/debian_wheezy_amd64-sysroot/
|
/vendor/debian_stretch_amd64-sysroot/
|
||||||
/vendor/debian_wheezy_arm-sysroot/
|
/vendor/debian_stretch_arm-sysroot/
|
||||||
/vendor/debian_wheezy_i386-sysroot/
|
/vendor/debian_stretch_arm64-sysroot/
|
||||||
|
/vendor/debian_stretch_i386-sysroot/
|
||||||
/vendor/gcc-4.8.3-d197-n64-loongson/
|
/vendor/gcc-4.8.3-d197-n64-loongson/
|
||||||
/vendor/readme-gcc483-loongson.txt
|
/vendor/readme-gcc483-loongson.txt
|
||||||
/vendor/download/
|
/vendor/download/
|
||||||
|
|
|
@ -85,11 +85,12 @@ def main(args):
|
||||||
def InstallDefaultSysrootForArch(target_arch):
|
def InstallDefaultSysrootForArch(target_arch):
|
||||||
if target_arch not in VALID_ARCHS:
|
if target_arch not in VALID_ARCHS:
|
||||||
raise Error('Unknown architecture: %s' % target_arch)
|
raise Error('Unknown architecture: %s' % target_arch)
|
||||||
InstallSysroot('Jessie', target_arch)
|
InstallSysroot('Stretch', target_arch)
|
||||||
|
|
||||||
|
|
||||||
def InstallSysroot(target_platform, target_arch):
|
def InstallSysroot(target_platform, target_arch):
|
||||||
# The sysroot directory should match the one specified in build/common.gypi.
|
# The sysroot directory should match the one specified in
|
||||||
|
# build/config/sysroot.gni.
|
||||||
# TODO(thestig) Consider putting this elsewhere to avoid having to recreate
|
# TODO(thestig) Consider putting this elsewhere to avoid having to recreate
|
||||||
# it on every build.
|
# it on every build.
|
||||||
linux_dir = os.path.dirname(SCRIPT_DIR)
|
linux_dir = os.path.dirname(SCRIPT_DIR)
|
||||||
|
@ -111,8 +112,6 @@ def InstallSysroot(target_platform, target_arch):
|
||||||
if os.path.exists(stamp):
|
if os.path.exists(stamp):
|
||||||
with open(stamp) as s:
|
with open(stamp) as s:
|
||||||
if s.read() == url:
|
if s.read() == url:
|
||||||
print '%s %s sysroot image already up to date: %s' % \
|
|
||||||
(target_platform, target_arch, sysroot)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
print 'Installing Debian %s %s root image: %s' % \
|
print 'Installing Debian %s %s root image: %s' % \
|
||||||
|
|
|
@ -1,56 +1,38 @@
|
||||||
{
|
{
|
||||||
"jessie_amd64": {
|
"stretch_amd64": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "8b2167b36f3cd85ebbec5c2a39a1842ef613f6a2",
|
"Sha1Sum": "c748f6e2de1f392bed9b69f8b5a0aaa12a2bea7d",
|
||||||
"SysrootDir": "debian_jessie_amd64-sysroot",
|
"SysrootDir": "debian_stretch_amd64-sysroot",
|
||||||
"Tarball": "debian_jessie_amd64_sysroot.tgz"
|
"Tarball": "debian_stretch_amd64_sysroot.tar.xz"
|
||||||
},
|
},
|
||||||
"jessie_arm": {
|
"stretch_arm": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "3fa13635be0c6d8ed461715ad51cdb3809a19422",
|
"Sha1Sum": "72cd0dae301971c69422f7290e608c1298571bd2",
|
||||||
"SysrootDir": "debian_jessie_arm-sysroot",
|
"SysrootDir": "debian_stretch_arm-sysroot",
|
||||||
"Tarball": "debian_jessie_arm_sysroot.tgz"
|
"Tarball": "debian_stretch_arm_sysroot.tar.xz"
|
||||||
},
|
},
|
||||||
"jessie_arm64": {
|
"stretch_arm64": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "bcf92ed2a033b4b2d1032df3b53eac4910c78fde",
|
"Sha1Sum": "06b19055e17c4f99c494e17f7422f0aaa2d62af6",
|
||||||
"SysrootDir": "debian_jessie_arm64-sysroot",
|
"SysrootDir": "debian_stretch_arm64-sysroot",
|
||||||
"Tarball": "debian_jessie_arm64_sysroot.tgz"
|
"Tarball": "debian_stretch_arm64_sysroot.tar.xz"
|
||||||
},
|
},
|
||||||
"jessie_i386": {
|
"stretch_i386": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "4e83ed9a1b457a1ca59512c3d4823e87e950deb4",
|
"Sha1Sum": "de4f82ec6400fd2e2e9a455f29155e7763de26c2",
|
||||||
"SysrootDir": "debian_jessie_i386-sysroot",
|
"SysrootDir": "debian_stretch_i386-sysroot",
|
||||||
"Tarball": "debian_jessie_i386_sysroot.tgz"
|
"Tarball": "debian_stretch_i386_sysroot.tar.xz"
|
||||||
},
|
},
|
||||||
"jessie_mips": {
|
"stretch_mips": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "0f550cd150f077a6e749a629e2fda0f0a4348eae",
|
"Sha1Sum": "256d581b85fb752f94da0b81004d2af878465cd6",
|
||||||
"SysrootDir": "debian_jessie_mips-sysroot",
|
"SysrootDir": "debian_stretch_mips-sysroot",
|
||||||
"Tarball": "debian_jessie_mips_sysroot.tgz"
|
"Tarball": "debian_stretch_mips_sysroot.tar.xz"
|
||||||
},
|
},
|
||||||
"wheezy_amd64": {
|
"stretch_mips64el": {
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
"Revision": "961ad7bca2518fd9495e9d9676a8228ec8c54335",
|
||||||
"Sha1Sum": "fe372c4394ece7fd1d853a205de8c13b46e2f45a",
|
"Sha1Sum": "6405f537c9ecee3a021749712fbca36ff7304bee",
|
||||||
"SysrootDir": "debian_wheezy_amd64-sysroot",
|
"SysrootDir": "debian_stretch_mips64el-sysroot",
|
||||||
"Tarball": "debian_wheezy_amd64_sysroot.tgz"
|
"Tarball": "debian_stretch_mips64el_sysroot.tar.xz"
|
||||||
},
|
|
||||||
"wheezy_arm": {
|
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
|
||||||
"Sha1Sum": "73323fae0b5597398a38f0d7e64f48309da112fa",
|
|
||||||
"SysrootDir": "debian_wheezy_arm-sysroot",
|
|
||||||
"Tarball": "debian_wheezy_arm_sysroot.tgz"
|
|
||||||
},
|
|
||||||
"wheezy_i386": {
|
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
|
||||||
"Sha1Sum": "7e96584297a5c9916b3bed4b88abe332fc79a247",
|
|
||||||
"SysrootDir": "debian_wheezy_i386-sysroot",
|
|
||||||
"Tarball": "debian_wheezy_i386_sysroot.tgz"
|
|
||||||
},
|
|
||||||
"wheezy_mips": {
|
|
||||||
"Revision": "d65c31e063bab0486665e087a1b4c5bb7bc7423c",
|
|
||||||
"Sha1Sum": "b2f173905a41ec9f23c329fe529508b4bdc76230",
|
|
||||||
"SysrootDir": "debian_wheezy_mips-sysroot",
|
|
||||||
"Tarball": "debian_wheezy_mips_sysroot.tgz"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,16 +53,16 @@
|
||||||
['target_arch=="arm"', {
|
['target_arch=="arm"', {
|
||||||
# sysroot needs to be an absolute path otherwise it generates
|
# sysroot needs to be an absolute path otherwise it generates
|
||||||
# incorrect results when passed to pkg-config
|
# incorrect results when passed to pkg-config
|
||||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm-sysroot',
|
'sysroot%': '<(source_root)/vendor/debian_stretch_arm-sysroot',
|
||||||
}],
|
}],
|
||||||
['target_arch=="arm64"', {
|
['target_arch=="arm64"', {
|
||||||
'sysroot%': '<(source_root)/vendor/debian_jessie_arm64-sysroot',
|
'sysroot%': '<(source_root)/vendor/debian_stretch_arm64-sysroot',
|
||||||
}],
|
}],
|
||||||
['target_arch=="ia32"', {
|
['target_arch=="ia32"', {
|
||||||
'sysroot%': '<(source_root)/vendor/debian_jessie_i386-sysroot',
|
'sysroot%': '<(source_root)/vendor/debian_stretch_i386-sysroot',
|
||||||
}],
|
}],
|
||||||
['target_arch=="x64"', {
|
['target_arch=="x64"', {
|
||||||
'sysroot%': '<(source_root)/vendor/debian_jessie_amd64-sysroot',
|
'sysroot%': '<(source_root)/vendor/debian_stretch_amd64-sysroot',
|
||||||
}],
|
}],
|
||||||
['target_arch=="mips64el"', {
|
['target_arch=="mips64el"', {
|
||||||
'sysroot%': '<(source_root)/vendor/debian_jessie_mips64-sysroot',
|
'sysroot%': '<(source_root)/vendor/debian_jessie_mips64-sysroot',
|
||||||
|
|
Loading…
Reference in a new issue