Official support for aarch64 (#84)

* Fix hardcoded `armhf` in pmb/aportgen/binutils.py
* Generate aports: `binutils-aarch64`, `musl-aarch64`, `gcc-aarch64`
* Distccd: Remember the cross-compiler architecture (currently armhf
  or aarch64), that the current distccd is running as, and restart
  distccd with the correct architecture, in case a different arch
  is needed than what it is currently running as. (Depending on the
  cross-compiler arch, the PATH variable gets adjusted before
  starting distccd)
* Testcases: add aport generation for aarch64, add cross-compiling
  to aarch64
* pmb/parse/arch.py: Add aarch64 to the mapping
This commit is contained in:
Oliver Smith 2017-06-14 19:10:21 +02:00
parent 1274b8c26b
commit 7543ae540b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
49 changed files with 3015 additions and 20 deletions

View file

@ -41,7 +41,7 @@ def binfmt_info(args, arch_debian):
for type in ["mask", "magic"]:
key = arch_debian + "_" + type
if key not in full:
raise RuntimeError("Could not find key " + key + " in binfmt info file:" +
raise RuntimeError("Could not find key " + key + " in binfmt info file: " +
info)
ret[type] = full[key]
logging.debug("=> " + str(ret))