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

@ -39,7 +39,7 @@ def generate(args, pkgname):
replace_functions = {
"build": """
_target="$(arch_to_hostspec armhf)"
_target="$(arch_to_hostspec """ + arch + """)"
cd "$builddir"
"$builddir"/configure \\
--build="$CBUILD" \\