* [Buildroot] [PATCH 1/5] toolchain/external: commonalise comments about Linaro toolchains
2015-09-20 21:45 [Buildroot] [PATCH 0/5] toolchain/external: bump the Linaro toolchains (branch yem/toolchain-linaro-2015.02-2) Yann E. MORIN
@ 2015-09-20 21:45 ` Yann E. MORIN
2015-10-04 17:34 ` Thomas Petazzoni
2015-09-20 21:45 ` [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options Yann E. MORIN
` (3 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-20 21:45 UTC (permalink / raw)
To: buildroot
Those two comments:
- are exactly the same
- have the same dependencies (except for arm/armeb)
So, make it a common comment. It will be useful to have that comment
when we introduce new Linaro toolchain versions.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
toolchain/toolchain-external/Config.in | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 18bf98c..0897192 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -6,6 +6,11 @@ choice
comment "(e)glibc toolchains only available with shared lib support"
depends on BR2_STATIC_LIBS
+comment "Linaro toolchains available for Cortex-A + EABIhf"
+ depends on BR2_arm || BR2_armeb
+ depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
+ depends on !BR2_STATIC_LIBS
+
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
bool "Linaro ARM 2014.09"
depends on BR2_arm
@@ -28,11 +33,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
-comment "Linaro toolchains available for Cortex-A + EABIhf"
- depends on BR2_arm
- depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
- depends on !BR2_STATIC_LIBS
-
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
bool "Linaro armeb 2014.09"
depends on BR2_armeb
@@ -55,11 +55,6 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
generated is Thumb 2, with the hard floating point calling
convention, and uses the VFPv3-D16 FPU instructions.
-comment "Linaro toolchains available for Cortex-A + EABIhf"
- depends on BR2_armeb
- depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
- depends on !BR2_STATIC_LIBS
-
config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
bool "Sourcery CodeBench ARM 2014.05"
depends on BR2_arm
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 1/5] toolchain/external: commonalise comments about Linaro toolchains
2015-09-20 21:45 ` [Buildroot] [PATCH 1/5] toolchain/external: commonalise comments about Linaro toolchains Yann E. MORIN
@ 2015-10-04 17:34 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2015-10-04 17:34 UTC (permalink / raw)
To: buildroot
Dear Yann E. MORIN,
On Sun, 20 Sep 2015 23:45:49 +0200, Yann E. MORIN wrote:
> Those two comments:
> - are exactly the same
> - have the same dependencies (except for arm/armeb)
>
> So, make it a common comment. It will be useful to have that comment
> when we introduce new Linaro toolchain versions.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> toolchain/toolchain-external/Config.in | 15 +++++----------
> 1 file changed, 5 insertions(+), 10 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options
2015-09-20 21:45 [Buildroot] [PATCH 0/5] toolchain/external: bump the Linaro toolchains (branch yem/toolchain-linaro-2015.02-2) Yann E. MORIN
2015-09-20 21:45 ` [Buildroot] [PATCH 1/5] toolchain/external: commonalise comments about Linaro toolchains Yann E. MORIN
@ 2015-09-20 21:45 ` Yann E. MORIN
2015-09-21 17:17 ` Arnout Vandecappelle
2015-09-20 21:45 ` [Buildroot] [PATCH 3/5] toolchain/external: bump Linaro to 2015.12 for ARM (LE) Yann E. MORIN
` (2 subsequent siblings)
4 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-20 21:45 UTC (permalink / raw)
To: buildroot
We're going to add a new Linaro version (2015.02) for those toolchains,
so we want to differentiate them.
Even though we could simply keep the current options as-is and just
introduce the new ones suffixed with the version, it is better to rename
the existing options for consistency with the new ones and wiith other
multi-versions toolchains (like the CS CodeBench).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Config.in.legacy | 30 ++++++++++++++++++++++
toolchain/toolchain-external/Config.in | 12 ++++-----
toolchain/toolchain-external/toolchain-external.mk | 6 ++---
3 files changed, 39 insertions(+), 9 deletions(-)
diff --git a/Config.in.legacy b/Config.in.legacy
index 18231fd..fbe70fb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -107,6 +107,36 @@ endif
###############################################################################
comment "Legacy options removed in 2015.11"
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
+ bool "External Linaro arm 2014.09 toolchain option renamed"
+ select BR2_LEGACY
+ help
+ The external Linaro ARM 2014.09 toolchain option has been
+ renamed to BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09.
+
+ Please review the toolchain version used in the toolchain
+ choice, located in the Toolchain sub-menu.
+
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
+ bool "External Linaro armeb 2014.09 toolchain option renamed"
+ select BR2_LEGACY
+ help
+ The external Linaro ARM 2014.09 toolchain option has been
+ renamed to BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09.
+
+ Please review the toolchain version used in the toolchain
+ choice, located in the Toolchain sub-menu.
+
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
+ bool "External Linaro AArch64 14.09 toolchain option renamed"
+ select BR2_LEGACY
+ help
+ The external Linaro AArch64 14.09 toolchain option has been
+ renamed to BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09.
+
+ Please review the toolchain version used in the toolchain
+ choice, located in the Toolchain sub-menu.
+
config BR2_PACKAGE_BLACKBOX
bool "blackbox package has been removed"
select BR2_LEGACY
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 0897192..941ab0e 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -11,7 +11,7 @@ comment "Linaro toolchains available for Cortex-A + EABIhf"
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
depends on !BR2_STATIC_LIBS
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
bool "Linaro ARM 2014.09"
depends on BR2_arm
depends on BR2_ARM_CPU_ARMV7A
@@ -33,7 +33,7 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09
bool "Linaro armeb 2014.09"
depends on BR2_armeb
depends on BR2_ARM_CPU_ARMV7A
@@ -804,7 +804,7 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
Toolchain for the Blackfin architecture, from
http://blackfin.uclinux.org.
-config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09
bool "Linaro AArch64 14.09"
depends on BR2_aarch64
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
@@ -929,14 +929,14 @@ config BR2_TOOLCHAIN_EXTERNAL_PREFIX
string
default "arc-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arcle
default "arceb-linux" if BR2_TOOLCHAIN_EXTERNAL_SYNOPSYS_ARC_2014_12 && BR2_arceb
- default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM
- default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB
+ default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
+ default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201305
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201311
default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201405
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV7A_201109
default "arm-arago-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_ARAGO_ARMV5TE_201109
- default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64
+ default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09
default "aarch64-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_AARCH64
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201405
default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201411
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index 61a5dba..fd9b68a 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -307,11 +307,11 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
mv $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/armv5te/* $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/
rm -rf $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/
endef
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM),y)
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB),y)
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
@@ -374,7 +374,7 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1),y)
TOOLCHAIN_EXTERNAL_SITE = http://downloads.sourceforge.net/project/adi-toolchain/2014R1/2014R1-RC2/i386
TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2014R1-RC2.i386.tar.bz2
TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2014R1-RC2.i386.tar.bz2
-else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64),y)
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_AARCH64_SYMLINK
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options
2015-09-20 21:45 ` [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options Yann E. MORIN
@ 2015-09-21 17:17 ` Arnout Vandecappelle
2015-09-21 20:45 ` Yann E. MORIN
0 siblings, 1 reply; 11+ messages in thread
From: Arnout Vandecappelle @ 2015-09-21 17:17 UTC (permalink / raw)
To: buildroot
On 20-09-15 23:45, Yann E. MORIN wrote:
> We're going to add a new Linaro version (2015.02) for those toolchains,
> so we want to differentiate them.
>
> Even though we could simply keep the current options as-is and just
> introduce the new ones suffixed with the version, it is better to rename
> the existing options for consistency with the new ones and wiith other
> multi-versions toolchains (like the CS CodeBench).
Sorry to revisit the discussion on IRC, but in be2abf23 Thomas Petazzoni wrote:
Linaro toolchains are released so frequently (every month) that it
doesn't make much sense to support 3 consecutive versions. So, like we
do for ARM big-endian, let's support only one version at a time.
Are we in agreement that this has changed because it seems they now have stable
releases? Or let me put this differently: are we sure now that the 2015.02
version is really considered more stable than 2015.08, or is it just that
they're too lazy to update their website?
Regards,
Arnout
[snip]
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
^ permalink raw reply [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options
2015-09-21 17:17 ` Arnout Vandecappelle
@ 2015-09-21 20:45 ` Yann E. MORIN
0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-21 20:45 UTC (permalink / raw)
To: buildroot
Arnout, All,
On 2015-09-21 19:17 +0200, Arnout Vandecappelle spake thusly:
> On 20-09-15 23:45, Yann E. MORIN wrote:
> > We're going to add a new Linaro version (2015.02) for those toolchains,
> > so we want to differentiate them.
> >
> > Even though we could simply keep the current options as-is and just
> > introduce the new ones suffixed with the version, it is better to rename
> > the existing options for consistency with the new ones and wiith other
> > multi-versions toolchains (like the CS CodeBench).
>
> Sorry to revisit the discussion on IRC, but in be2abf23 Thomas Petazzoni wrote:
>
> Linaro toolchains are released so frequently (every month) that it
> doesn't make much sense to support 3 consecutive versions. So, like we
> do for ARM big-endian, let's support only one version at a time.
>
> Are we in agreement that this has changed because it seems they now have stable
> releases? Or let me put this differently: are we sure now that the 2015.02
> version is really considered more stable than 2015.08, or is it just that
> they're too lazy to update their website?
Well, I would not put the "stableness" as the main reason, but rather
that the new toolchains are only for x86_64, hence people stuck with a
32-bit host would be left out. So, we keep the 2014.09 for those in
32-bit land, and add 2015.02 for those in 64-bit land.
Also, I had a look at the latest toolchain, and it seems they've
switched it to a gcc-4.8.:
http://releases.linaro.org/15.06/components/toolchain/binaries/
which gives:
$ ./gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Linaro GCC 4.8-2015.06) 4.8.5
[...]
while the previous is still using a gcc-4.9:
http://releases.linaro.org/15.05/components/toolchain/binaries/
which gives:
$ ./gcc-linaro-4.9-2015.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc --version
arm-linux-gnueabihf-gcc (Linaro GCC 4.9-2015.05) 4.9.3 20150413 (prerelease)
[...]
So, it seems that they are not completely "stable" with their latest
toolchain releases anyway... :-/
However, I'm open to discussion. Hence adding the topic on the list for
the DevDays. If we agree on keeping the old version, the series is
ready. If not, it's easy to chop it down and just do the replacement
with the new version.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 3/5] toolchain/external: bump Linaro to 2015.12 for ARM (LE)
2015-09-20 21:45 [Buildroot] [PATCH 0/5] toolchain/external: bump the Linaro toolchains (branch yem/toolchain-linaro-2015.02-2) Yann E. MORIN
2015-09-20 21:45 ` [Buildroot] [PATCH 1/5] toolchain/external: commonalise comments about Linaro toolchains Yann E. MORIN
2015-09-20 21:45 ` [Buildroot] [PATCH 2/5] toolchain/external: rename Linaro arm and AArch64 options Yann E. MORIN
@ 2015-09-20 21:45 ` Yann E. MORIN
2015-09-20 21:45 ` [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE) Yann E. MORIN
2015-09-20 21:45 ` [Buildroot] [PATCH 5/5] toolchain/external: bump Linaro to 2015.12 for AArch64 (LE) Yann E. MORIN
4 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-20 21:45 UTC (permalink / raw)
To: buildroot
That toolchain is only available for x86_64 hosts, so hide it when the
host is not an x86_64.
Add a comment explaining the above.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
toolchain/toolchain-external/Config.in | 27 ++++++++++++++++++++++
.../toolchain-external/toolchain-external.hash | 1 +
toolchain/toolchain-external/toolchain-external.mk | 4 ++++
3 files changed, 32 insertions(+)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 941ab0e..ce3a5f1 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -6,11 +6,38 @@ choice
comment "(e)glibc toolchains only available with shared lib support"
depends on BR2_STATIC_LIBS
+comment "Linaro 2015.02 toolchains need an x86_64 build machine"
+ depends on BR2_arm
+ depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) \
+ || !BR2_HOSTARCH = "x86_64"
+ depends on !BR2_STATIC_LIBS
+
comment "Linaro toolchains available for Cortex-A + EABIhf"
depends on BR2_arm || BR2_armeb
depends on !BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF
depends on !BR2_STATIC_LIBS
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2015_02
+ bool "Linaro ARM 2015.02"
+ depends on BR2_arm
+ depends on BR2_ARM_CPU_ARMV7A
+ depends on BR2_HOSTARCH = "x86_64"
+ depends on BR2_ARM_EABIHF
+ depends on !BR2_STATIC_LIBS
+ select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+ select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ help
+ Linaro toolchain for the ARM architecture. It uses Linaro
+ GCC 2015.01 (based on gcc 4.9), Linaro GDB 2015.02 (based on
+ GDB 7.8), eglibc 2.19, Binutils 2014.11 (based on 2.24) and
+ kernel headers 3.17. It generates code that runs on all
+ Cortex-A profile devices, but tuned for the Cortex-A9. The
+ code generated is Thumb 2, with the hard floating point
+ calling convention, and uses the VFPv3-D16 FPU instructions.
+
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
bool "Linaro ARM 2014.09"
depends on BR2_arm
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index 8424dca..7eafe82 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -50,6 +50,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
# ARM and Aarch64 toolchains from Linaro
sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
+sha256 94fca98cb436228a40e8c9b77eec91beee87be170055aea99a6cb1be3d83ee50 gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index fd9b68a..be9568e 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -307,6 +307,10 @@ define TOOLCHAIN_EXTERNAL_FIXUP_CMDS
mv $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/armv5te/* $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/
rm -rf $(TOOLCHAIN_EXTERNAL_INSTALL_DIR)/arago-2011.09/
endef
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2015_02),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE)
2015-09-20 21:45 [Buildroot] [PATCH 0/5] toolchain/external: bump the Linaro toolchains (branch yem/toolchain-linaro-2015.02-2) Yann E. MORIN
` (2 preceding siblings ...)
2015-09-20 21:45 ` [Buildroot] [PATCH 3/5] toolchain/external: bump Linaro to 2015.12 for ARM (LE) Yann E. MORIN
@ 2015-09-20 21:45 ` Yann E. MORIN
2015-09-21 12:28 ` Romain Naour
2015-09-20 21:45 ` [Buildroot] [PATCH 5/5] toolchain/external: bump Linaro to 2015.12 for AArch64 (LE) Yann E. MORIN
4 siblings, 1 reply; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-20 21:45 UTC (permalink / raw)
To: buildroot
That toolchain is only available for x86_64 hosts, so hide it when the
host is not an x86_64.
Re-use the comment previously added for the ARM toolchain.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
toolchain/toolchain-external/Config.in | 24 +++++++++++++++++++++-
.../toolchain-external/toolchain-external.hash | 1 +
toolchain/toolchain-external/toolchain-external.mk | 4 ++++
3 files changed, 28 insertions(+), 1 deletion(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index ce3a5f1..3863c3d 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -7,7 +7,7 @@ comment "(e)glibc toolchains only available with shared lib support"
depends on BR2_STATIC_LIBS
comment "Linaro 2015.02 toolchains need an x86_64 build machine"
- depends on BR2_arm
+ depends on BR2_arm || BR2_armeb
depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) \
|| !BR2_HOSTARCH = "x86_64"
depends on !BR2_STATIC_LIBS
@@ -60,6 +60,28 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
with the hard floating point calling convention, and uses
the VFPv3-D16 FPU instructions.
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02
+ bool "Linaro armeb 2015.02"
+ depends on BR2_armeb
+ depends on BR2_ARM_CPU_ARMV7A
+ depends on BR2_HOSTARCH = "x86_64"
+ depends on BR2_ARM_EABIHF
+ depends on !BR2_STATIC_LIBS
+ select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+ select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ help
+ Linaro toolchain for the ARM big endian architecture. It
+ uses Linaro GCC 2015.01 (based on gcc 4.9), Linaro GDB
+ 2015.02 (based on GDB 7.8), eglibc 2.19, Binutils 2014.11
+ (based on 2.24) and kernel headers 3.17. It generates code
+ that runs on all Cortex-A profile devices, but tuned for
+ the Cortex-A9. The code generated is Thumb 2, with the hard
+ floating point calling convention, and uses the VFPv3-D16
+ FPU instructions.
+
config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09
bool "Linaro armeb 2014.09"
depends on BR2_armeb
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index 7eafe82..8c9e153 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -52,6 +52,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
sha256 94fca98cb436228a40e8c9b77eec91beee87be170055aea99a6cb1be3d83ee50 gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
+sha256 3f4b80a3eec1c28f92b17417b123d7f24ec9ed6d82be4929fa6cd4a8c17a1e74 gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
# Synopsys DesignWare ARC toolchains
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index be9568e..d3a0e8a 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -315,6 +315,10 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/15.02/components/toolchain/binaries/armeb-linux-gnueabihf
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread* [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE)
2015-09-20 21:45 ` [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE) Yann E. MORIN
@ 2015-09-21 12:28 ` Romain Naour
2015-09-21 17:29 ` Yann E. MORIN
0 siblings, 1 reply; 11+ messages in thread
From: Romain Naour @ 2015-09-21 12:28 UTC (permalink / raw)
To: buildroot
Hi Yann, All,
Le 20/09/2015 23:45, Yann E. MORIN a ?crit :
> That toolchain is only available for x86_64 hosts, so hide it when the
> host is not an x86_64.
>
> Re-use the comment previously added for the ARM toolchain.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> toolchain/toolchain-external/Config.in | 24 +++++++++++++++++++++-
> .../toolchain-external/toolchain-external.hash | 1 +
> toolchain/toolchain-external/toolchain-external.mk | 4 ++++
> 3 files changed, 28 insertions(+), 1 deletion(-)
>
> diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> index ce3a5f1..3863c3d 100644
> --- a/toolchain/toolchain-external/Config.in
> +++ b/toolchain/toolchain-external/Config.in
> @@ -7,7 +7,7 @@ comment "(e)glibc toolchains only available with shared lib support"
> depends on BR2_STATIC_LIBS
>
> comment "Linaro 2015.02 toolchains need an x86_64 build machine"
> - depends on BR2_arm
> + depends on BR2_arm || BR2_armeb
> depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) \
> || !BR2_HOSTARCH = "x86_64"
> depends on !BR2_STATIC_LIBS
> @@ -60,6 +60,28 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
> with the hard floating point calling convention, and uses
> the VFPv3-D16 FPU instructions.
>
> +config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02
> + bool "Linaro armeb 2015.02"
> + depends on BR2_armeb
> + depends on BR2_ARM_CPU_ARMV7A
> + depends on BR2_HOSTARCH = "x86_64"
> + depends on BR2_ARM_EABIHF
> + depends on !BR2_STATIC_LIBS
> + select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> + select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> + select BR2_INSTALL_LIBSTDCPP
> + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
> + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> + help
> + Linaro toolchain for the ARM big endian architecture. It
> + uses Linaro GCC 2015.01 (based on gcc 4.9), Linaro GDB
> + 2015.02 (based on GDB 7.8), eglibc 2.19, Binutils 2014.11
> + (based on 2.24) and kernel headers 3.17. It generates code
> + that runs on all Cortex-A profile devices, but tuned for
> + the Cortex-A9. The code generated is Thumb 2, with the hard
> + floating point calling convention, and uses the VFPv3-D16
> + FPU instructions.
> +
> config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09
> bool "Linaro armeb 2014.09"
> depends on BR2_armeb
Something is missing in this file ;-)
You forgot to define default value for the toolchain prefix when this
toolchain is used.
config BR2_TOOLCHAIN_EXTERNAL_PREFIX
[...]
+ default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2015_02
+ default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02
I haven't reviewed entirely your patch series yet, tests are underway.
Best regards,
Romain
> diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
> index 7eafe82..8c9e153 100644
> --- a/toolchain/toolchain-external/toolchain-external.hash
> +++ b/toolchain/toolchain-external/toolchain-external.hash
> @@ -52,6 +52,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
> sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> sha256 94fca98cb436228a40e8c9b77eec91beee87be170055aea99a6cb1be3d83ee50 gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
> sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> +sha256 3f4b80a3eec1c28f92b17417b123d7f24ec9ed6d82be4929fa6cd4a8c17a1e74 gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
> sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
>
> # Synopsys DesignWare ARC toolchains
> diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> index be9568e..d3a0e8a 100644
> --- a/toolchain/toolchain-external/toolchain-external.mk
> +++ b/toolchain/toolchain-external/toolchain-external.mk
> @@ -315,6 +315,10 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09),y)
> TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
> TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
> +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02),y)
> +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/15.02/components/toolchain/binaries/armeb-linux-gnueabihf
> +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
> +TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
> else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09),y)
> TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
> TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE)
2015-09-21 12:28 ` Romain Naour
@ 2015-09-21 17:29 ` Yann E. MORIN
0 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-21 17:29 UTC (permalink / raw)
To: buildroot
Romain, All,
On 2015-09-21 14:28 +0200, Romain Naour spake thusly:
> Le 20/09/2015 23:45, Yann E. MORIN a ?crit :
> > That toolchain is only available for x86_64 hosts, so hide it when the
> > host is not an x86_64.
> >
> > Re-use the comment previously added for the ARM toolchain.
> >
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > ---
> > toolchain/toolchain-external/Config.in | 24 +++++++++++++++++++++-
> > .../toolchain-external/toolchain-external.hash | 1 +
> > toolchain/toolchain-external/toolchain-external.mk | 4 ++++
> > 3 files changed, 28 insertions(+), 1 deletion(-)
> >
> > diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
> > index ce3a5f1..3863c3d 100644
> > --- a/toolchain/toolchain-external/Config.in
> > +++ b/toolchain/toolchain-external/Config.in
> > @@ -7,7 +7,7 @@ comment "(e)glibc toolchains only available with shared lib support"
> > depends on BR2_STATIC_LIBS
> >
> > comment "Linaro 2015.02 toolchains need an x86_64 build machine"
> > - depends on BR2_arm
> > + depends on BR2_arm || BR2_armeb
> > depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) \
> > || !BR2_HOSTARCH = "x86_64"
> > depends on !BR2_STATIC_LIBS
> > @@ -60,6 +60,28 @@ config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09
> > with the hard floating point calling convention, and uses
> > the VFPv3-D16 FPU instructions.
> >
> > +config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02
> > + bool "Linaro armeb 2015.02"
> > + depends on BR2_armeb
> > + depends on BR2_ARM_CPU_ARMV7A
> > + depends on BR2_HOSTARCH = "x86_64"
> > + depends on BR2_ARM_EABIHF
> > + depends on !BR2_STATIC_LIBS
> > + select BR2_TOOLCHAIN_EXTERNAL_GLIBC
> > + select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> > + select BR2_INSTALL_LIBSTDCPP
> > + select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
> > + select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
> > + help
> > + Linaro toolchain for the ARM big endian architecture. It
> > + uses Linaro GCC 2015.01 (based on gcc 4.9), Linaro GDB
> > + 2015.02 (based on GDB 7.8), eglibc 2.19, Binutils 2014.11
> > + (based on 2.24) and kernel headers 3.17. It generates code
> > + that runs on all Cortex-A profile devices, but tuned for
> > + the Cortex-A9. The code generated is Thumb 2, with the hard
> > + floating point calling convention, and uses the VFPv3-D16
> > + FPU instructions.
> > +
> > config BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09
> > bool "Linaro armeb 2014.09"
> > depends on BR2_armeb
>
> Something is missing in this file ;-)
>
> You forgot to define default value for the toolchain prefix when this
> toolchain is used.
>
> config BR2_TOOLCHAIN_EXTERNAL_PREFIX
> [...]
> + default "arm-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2015_02
> + default "armeb-linux-gnueabihf" if BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02
Damned.
I initially did a series that replaced the existing toolchains with the
new ones. That one was working as expected.
However, since the new toolchains are only available for x86_64 hosts, I
did a new series that _added_ the new toolchains and kept the old ones.
So, I just copy-pasted the new options from the old series, and forgot
to add the new tuples in the list (even though I did update the entries
when renaming the old options). Sigh...
Good catch, I'll fix (but will wait for more reviews before I respin).
Thanks! :-)
Regards,
Yann E. MORIN.
> I haven't reviewed entirely your patch series yet, tests are underway.
>
> Best regards,
> Romain
>
> > diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
> > index 7eafe82..8c9e153 100644
> > --- a/toolchain/toolchain-external/toolchain-external.hash
> > +++ b/toolchain/toolchain-external/toolchain-external.hash
> > @@ -52,6 +52,7 @@ sha256 254af7d02eb3bcc8345c78e131700bc995d65b68232caaed21150a5fd1456070 arago-2
> > sha256 0cffac0caea0eb3c8bdddfa14be011ce366680f40aeddbefc7cf23cb6d4f1891 gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> > sha256 94fca98cb436228a40e8c9b77eec91beee87be170055aea99a6cb1be3d83ee50 gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz
> > sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> > +sha256 3f4b80a3eec1c28f92b17417b123d7f24ec9ed6d82be4929fa6cd4a8c17a1e74 gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
> > sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
> >
> > # Synopsys DesignWare ARC toolchains
> > diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
> > index be9568e..d3a0e8a 100644
> > --- a/toolchain/toolchain-external/toolchain-external.mk
> > +++ b/toolchain/toolchain-external/toolchain-external.mk
> > @@ -315,6 +315,10 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARM_2014_09),y)
> > TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
> > TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> > TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMHF_SYMLINK
> > +else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2015_02),y)
> > +TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/15.02/components/toolchain/binaries/armeb-linux-gnueabihf
> > +TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
> > +TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_ARMEBHF_SYMLINK
> > else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_ARMEB_2014_09),y)
> > TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
> > TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
> >
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 5/5] toolchain/external: bump Linaro to 2015.12 for AArch64 (LE)
2015-09-20 21:45 [Buildroot] [PATCH 0/5] toolchain/external: bump the Linaro toolchains (branch yem/toolchain-linaro-2015.02-2) Yann E. MORIN
` (3 preceding siblings ...)
2015-09-20 21:45 ` [Buildroot] [PATCH 4/5] toolchain/external: bump Linaro to 2015.12 for ARM (BE) Yann E. MORIN
@ 2015-09-20 21:45 ` Yann E. MORIN
4 siblings, 0 replies; 11+ messages in thread
From: Yann E. MORIN @ 2015-09-20 21:45 UTC (permalink / raw)
To: buildroot
That toolchain is only available for x86_64 hosts, so hide it when the
host is not an x86_64.
Re-use and adapt the comment for the two ARM/ARMEB toolchains about the
need for an x86_64 build machine.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
toolchain/toolchain-external/Config.in | 19 +++++++++++++++++--
toolchain/toolchain-external/toolchain-external.hash | 1 +
toolchain/toolchain-external/toolchain-external.mk | 4 ++++
3 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/toolchain/toolchain-external/Config.in b/toolchain/toolchain-external/Config.in
index 3863c3d..5599767 100644
--- a/toolchain/toolchain-external/Config.in
+++ b/toolchain/toolchain-external/Config.in
@@ -6,9 +6,10 @@ choice
comment "(e)glibc toolchains only available with shared lib support"
depends on BR2_STATIC_LIBS
+# Need to replicate the BR2_aarch64 a second time
comment "Linaro 2015.02 toolchains need an x86_64 build machine"
- depends on BR2_arm || BR2_armeb
- depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) \
+ depends on BR2_arm || BR2_armeb || BR2_aarch64
+ depends on (!BR2_ARM_CPU_ARMV7A || !BR2_ARM_EABIHF) || BR2_aarch64 \
|| !BR2_HOSTARCH = "x86_64"
depends on !BR2_STATIC_LIBS
@@ -853,6 +854,20 @@ config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2012R2
Toolchain for the Blackfin architecture, from
http://blackfin.uclinux.org.
+config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2015_02
+ bool "Linaro AArch64 15.02"
+ depends on BR2_aarch64
+ depends on BR2_HOSTARCH = "x86_64"
+ depends on !BR2_STATIC_LIBS
+ select BR2_TOOLCHAIN_EXTERNAL_GLIBC
+ select BR2_INSTALL_LIBSTDCPP
+ select BR2_TOOLCHAIN_HAS_NATIVE_RPC
+ select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
+ select BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
+ help
+ Toolchain for the AArch64 architecture, from
+ http://www.linaro.org/engineering/armv8/
+
config BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09
bool "Linaro AArch64 14.09"
depends on BR2_aarch64
diff --git a/toolchain/toolchain-external/toolchain-external.hash b/toolchain/toolchain-external/toolchain-external.hash
index 8c9e153..d8d1fdb 100644
--- a/toolchain/toolchain-external/toolchain-external.hash
+++ b/toolchain/toolchain-external/toolchain-external.hash
@@ -54,6 +54,7 @@ sha256 94fca98cb436228a40e8c9b77eec91beee87be170055aea99a6cb1be3d83ee50 gcc-lin
sha256 4bc9d86390f8fa67a693ba4768ba5b12faaf7dd37c706c05ccd9321e765226e4 gcc-linaro-armeb-linux-gnueabihf-4.9-2014.09_linux.tar.xz
sha256 3f4b80a3eec1c28f92b17417b123d7f24ec9ed6d82be4929fa6cd4a8c17a1e74 gcc-linaro-4.9-2015.02-3-x86_64_armeb-linux-gnueabihf.tar.xz
sha256 3954f496ab01de67241109e82abfaa9b7625fdab4f05e79e7902e9814a07b832 gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
+sha256 010bc180b42da770bcdfdb61e3d6237d13c3cf76d7b62c11d0c25a2218ade130 gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz
# Synopsys DesignWare ARC toolchains
sha256 1fa4ea2c8616623205f1c7beca02ea31b019099528a7433e5b020b0876b93bf3 arc_gnu_2014.12_prebuilt_uclibc_le_arc700_linux_install.tar.gz
diff --git a/toolchain/toolchain-external/toolchain-external.mk b/toolchain/toolchain-external/toolchain-external.mk
index d3a0e8a..00dba73 100644
--- a/toolchain/toolchain-external/toolchain-external.mk
+++ b/toolchain/toolchain-external/toolchain-external.mk
@@ -382,6 +382,10 @@ else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2014R1),y)
TOOLCHAIN_EXTERNAL_SITE = http://downloads.sourceforge.net/project/adi-toolchain/2014R1/2014R1-RC2/i386
TOOLCHAIN_EXTERNAL_SOURCE = blackfin-toolchain-2014R1-RC2.i386.tar.bz2
TOOLCHAIN_EXTERNAL_EXTRA_DOWNLOADS = blackfin-toolchain-uclibc-full-2014R1-RC2.i386.tar.bz2
+else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2015_02),y)
+TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/15.02/components/toolchain/binaries/aarch64-linux-gnu
+TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu.tar.xz
+TOOLCHAIN_EXTERNAL_POST_INSTALL_STAGING_HOOKS += TOOLCHAIN_EXTERNAL_LINARO_AARCH64_SYMLINK
else ifeq ($(BR2_TOOLCHAIN_EXTERNAL_LINARO_AARCH64_2014_09),y)
TOOLCHAIN_EXTERNAL_SITE = http://releases.linaro.org/14.09/components/toolchain/binaries
TOOLCHAIN_EXTERNAL_SOURCE = gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux.tar.xz
--
1.9.1
^ permalink raw reply related [flat|nested] 11+ messages in thread