Introduce aarch64 target.
In opposition to 32 bits, it is adapted to all PI (as long as they are in 64 bits).
This commit is contained in:
parent
4e88c6eb10
commit
ab2cbdbe5b
|
@ -7,6 +7,9 @@ base_url = 'https://master.dl.sourceforge.net/project/raspberry-pi-cross-compile
|
||||||
# This is Gcc 10.3.0 and Raspberry Pi 2 and 3 only !
|
# This is Gcc 10.3.0 and Raspberry Pi 2 and 3 only !
|
||||||
armhf_base_url = base_url + 'Raspberry%20Pi%20GCC%20Cross-Compiler%20Toolchains/Stretch/GCC%2010.3.0/Raspberry%20Pi%202%2C%203/'
|
armhf_base_url = base_url + 'Raspberry%20Pi%20GCC%20Cross-Compiler%20Toolchains/Stretch/GCC%2010.3.0/Raspberry%20Pi%202%2C%203/'
|
||||||
|
|
||||||
|
# This is Gcc 10.3.0 and ALL rapsberry Pi arch64
|
||||||
|
aarch_base_url = base_url + 'Bonus%20Raspberry%20Pi%20GCC%2064-Bit%20Toolchains/Raspberry%20Pi%20GCC%2064-Bit%20Cross-Compiler%20Toolchains/Stretch/GCC%2010.3.0/'
|
||||||
|
|
||||||
class armhf_toolchain(Dependency):
|
class armhf_toolchain(Dependency):
|
||||||
dont_skip = True
|
dont_skip = True
|
||||||
neutral = True
|
neutral = True
|
||||||
|
@ -18,3 +21,16 @@ class armhf_toolchain(Dependency):
|
||||||
armhf_base_url + 'cross-gcc-10.3.0-pi_2-3.tar.gz')
|
armhf_base_url + 'cross-gcc-10.3.0-pi_2-3.tar.gz')
|
||||||
|
|
||||||
Builder = NoopBuilder
|
Builder = NoopBuilder
|
||||||
|
|
||||||
|
|
||||||
|
class aarch64_toolchain(Dependency):
|
||||||
|
dont_skip = True
|
||||||
|
neutral = True
|
||||||
|
name = "aarch64"
|
||||||
|
|
||||||
|
class Source(ReleaseDownload):
|
||||||
|
archive = Remotefile('cross-gcc-10.3.0-pi_64.tar.gz',
|
||||||
|
'5b3fdb7ee8c496c377ab8b11d7ffd404b4d3041f4fdcfeebcbcb734d45a5f3e9',
|
||||||
|
aarch_base_url + 'cross-gcc-10.3.0-pi_64.tar.gz')
|
||||||
|
|
||||||
|
Builder = NoopBuilder
|
||||||
|
|
|
@ -106,3 +106,17 @@ class ArmhfDyn(ArmhfPlatformInfo):
|
||||||
class ArmhfStatic(ArmhfPlatformInfo):
|
class ArmhfStatic(ArmhfPlatformInfo):
|
||||||
name = 'armhf_static'
|
name = 'armhf_static'
|
||||||
static = True
|
static = True
|
||||||
|
|
||||||
|
|
||||||
|
class Aarch64(ArmhfPlatformInfo):
|
||||||
|
build = 'aarch64'
|
||||||
|
arch_full = 'aarch64-linux-gnu'
|
||||||
|
toolchain_names = ['aarch64']
|
||||||
|
|
||||||
|
class Aarch64Dyn(Aarch64):
|
||||||
|
name = 'aarch64_dyn'
|
||||||
|
static = False
|
||||||
|
|
||||||
|
class Aarch64Static(Aarch64):
|
||||||
|
name = 'aarch64_static'
|
||||||
|
static = True
|
||||||
|
|
Loading…
Reference in New Issue