config/arch/m68k.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Nov 23 21:35:28 2010 +0100 (2010-11-23)
changeset 2188 aa2305c5b2a5
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>
linux@1754
     1
# m68k specific configuration file
linux@1754
     2
# depends on EXPERIMENTAL
linux@1754
     3
linux@1754
     4
config ARCH_m68k
linux@1754
     5
    select ARCH_SUPPORTS_32
linux@1754
     6
    select ARCH_DEFAULT_32
linux@1754
     7
    select ARCH_DEFAULT_BE
linux@1754
     8
    select ARCH_SUPPORT_CPU
linux@1754
     9
     help
linux@1754
    10
      The m68k architecture