avr32: pass target arch to gcc
authorSimon Dawson <spdawson@gmail.com>
Wed, 6 Nov 2013 19:45:10 +0000 (19:45 +0000)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 6 Nov 2013 21:37:42 +0000 (22:37 +0100)
As suggested by 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>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
arch/Config.in.avr32

index 199c150781efa28fe9b49fb266777279e580dceb..842958957fe4533ac15379bab46dd43d8585e994 100644 (file)
@@ -3,3 +3,6 @@ config BR2_ARCH
 
 config BR2_ENDIAN
        default "BIG"
+
+config BR2_GCC_TARGET_ARCH
+       default "ap"