forked from jawsper/motioneyeos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
toolchain-external: add Arm AArch64 toolchain 8.2-2018.08
This is the same toolchain that was previously distributed by Linaro. [1] Switch default toolchain as this toolchain supersed the Linaro AArch64 toolchain. Only x86_64 host are supported, so keep Linaro toolchain for x86 host. Tested with qemu_aarch64_virt_defconfig. [1] https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads Signed-off-by: Romain Naour <[email protected]> Signed-off-by: Thomas Petazzoni <[email protected]>
- Loading branch information
1 parent
a98f723
commit d74c133
Showing
6 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1822,6 +1822,7 @@ F: package/tk/ | |
F: package/upower/ | ||
F: package/waffle/ | ||
F: package/xenomai/ | ||
F: toolchain/toolchain-external/toolchain-external-arm-aarch64/ | ||
F: toolchain/toolchain-external/toolchain-external-arm-arm/ | ||
|
||
N: Roman Gorbenkov <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
config BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64 | ||
bool "Arm AArch64 2018.08" | ||
depends on BR2_aarch64 | ||
depends on BR2_HOSTARCH = "x86_64" | ||
depends on !BR2_STATIC_LIBS | ||
select BR2_TOOLCHAIN_EXTERNAL_GLIBC | ||
select BR2_TOOLCHAIN_HAS_SSP | ||
select BR2_INSTALL_LIBSTDCPP | ||
select BR2_TOOLCHAIN_HAS_NATIVE_RPC | ||
select BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_18 | ||
select BR2_TOOLCHAIN_GCC_AT_LEAST_8 | ||
select BR2_TOOLCHAIN_HAS_FORTRAN | ||
help | ||
Arm toolchain for the AArch64 architecture. | ||
|
||
This is the same toolchain that was previously distributed by | ||
Linaro. | ||
|
||
https://developer.arm.com/open-source/gnu-toolchain |
9 changes: 9 additions & 0 deletions
9
toolchain/toolchain-external/toolchain-external-arm-aarch64/Config.in.options
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
if BR2_TOOLCHAIN_EXTERNAL_ARM_AARCH64 | ||
|
||
config BR2_TOOLCHAIN_EXTERNAL_PREFIX | ||
default "aarch64-linux-gnu" | ||
|
||
config BR2_PACKAGE_PROVIDES_TOOLCHAIN_EXTERNAL | ||
default "toolchain-external-arm-aarch64" | ||
|
||
endif |
4 changes: 4 additions & 0 deletions
4
...ain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.hash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# From https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-2018.08/gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz.asc | ||
md5 1c47f4edc431cf19604a9f1b09975269 gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz | ||
# locally calculated | ||
sha256 3e60644846ac60693e58ad71a319d64c5f7bcf95ff34411272c8d9674f85648f gcc-arm-8.2-2018.08-x86_64-aarch64-linux-gnu.tar.xz |
12 changes: 12 additions & 0 deletions
12
...chain/toolchain-external/toolchain-external-arm-aarch64/toolchain-external-arm-aarch64.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
################################################################################ | ||
# | ||
# toolchain-external-arm-aarch64 | ||
# | ||
################################################################################ | ||
|
||
TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION = 2018.08 | ||
TOOLCHAIN_EXTERNAL_ARM_AARCH64_SITE = https://developer.arm.com/-/media/Files/downloads/gnu-a/8.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION) | ||
|
||
TOOLCHAIN_EXTERNAL_ARM_AARCH64_SOURCE = gcc-arm-8.2-$(TOOLCHAIN_EXTERNAL_ARM_AARCH64_VERSION)-x86_64-aarch64-linux-gnu.tar.xz | ||
|
||
$(eval $(toolchain-external-package)) |