config/arch/avr32.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:28 2010 +0100 (2010-11-23)
branch1.9
changeset 2198 6d909657dbdf
parent 1716 6bbf206a5b57
child 2444 896cb0d36c1a
permissions -rw-r--r--
scripts/xldd: better find sysroot with old gcc

Only starting with 4.4 does gcc have a -print-sysroot option.
For 4.3 or before, we have to play some tricks:
- ask gcc where libc.so is,
(we expect it in ${sysroot}/usr/lib/libc.so)
- trim /usr/lib/libc.so from the result

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from aa2305c5b2a57fbcda9a1b5bb5fb3a476ac49a13)
mgl@1371
     1
# AVR32 specific configuration file
mgl@1371
     2
mgl@1371
     3
config ARCH_avr32
yann@1716
     4
    select ARCH_SUPPORTS_32
yann@1716
     5
    select ARCH_DEFAULT_32
mgl@1371
     6
    select ARCH_USE_MMU
mgl@1371
     7
    select ARCH_DEFAULT_BE
mgl@1468
     8
    select ARCH_SUPPORT_ARCH
mgl@1468
     9
    select ARCH_SUPPORT_CPU
mgl@1468
    10
    select ARCH_SUPPORT_TUNE
mgl@1468
    11
    select ARCH_SUPPORT_FPU
mgl@1468
    12
     help
mgl@1371
    13
      The AVR32 architecture, as defined by:
mgl@1371
    14
        http://www.atmel.com/products/avr32