diff mbox

avr32: pass target arch to gcc

Message ID 1383767110-32444-1-git-send-email-spdawson@gmail.com
State Accepted
Commit d7ec9463e2b3e440ae13bdc86dddde459f320587
Headers show

Commit Message

Simon Dawson Nov. 6, 2013, 7:45 p.m. UTC
From: Simon Dawson <spdawson@gmail.com>

As suggested with Alexander Lukichev and Thomas Petazzoni on the mailing list,
only one of the two avr32 microarchitectures is relevant for Buildroot: avr32
Linux implies the avr32b microarchitecure, as used in the ap7000.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 arch/Config.in.avr32 | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Nov. 6, 2013, 9:37 p.m. UTC | #1
>>>>> "spdawson" == spdawson  <spdawson@gmail.com> writes:

 > From: Simon Dawson <spdawson@gmail.com>
 > As suggested with Alexander Lukichev and Thomas Petazzoni on the mailing list,
 > only one of the two avr32 microarchitectures is relevant for Buildroot: avr32
 > Linux implies the avr32b microarchitecure, as used in the ap7000.

 > Signed-off-by: Simon Dawson <spdawson@gmail.com>

Committed, thanks.
diff mbox

Patch

diff --git a/arch/Config.in.avr32 b/arch/Config.in.avr32
index 199c150..8429589 100644
--- a/arch/Config.in.avr32
+++ b/arch/Config.in.avr32
@@ -3,3 +3,6 @@  config BR2_ARCH
 
 config BR2_ENDIAN
 	default "BIG"
+
+config BR2_GCC_TARGET_ARCH
+	default "ap"