config/arch/avr32.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 28 22:06:49 2011 +0100 (2011-01-28)
changeset 2284 7ede374110e5
parent 1716 6bbf206a5b57
child 2444 896cb0d36c1a
permissions -rw-r--r--
config: add an option not to remove the destination directory

In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.

This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).

Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.

Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
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