config/arch/arm.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue May 08 18:31:10 2012 +0200 (2012-05-08)
changeset 2964 d48c03998dc1
parent 2788 b6faa28e76e0
child 3262 87ad9e82546d
permissions -rw-r--r--
scripts: fix catching failures

POSIX 1003.1-2008 does not say whether "set -e" should catch a sub-shell
that exits with !0 (it has a list of conditions to catch, but no list of
conditions not to catch, and this situation is not listed).

bash-3 does not catch such a failure, but bash-4 does. That why, on my
Squeeze system I did not see the issue, while Thomas did on is Lenny chroot.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
     1 # ARM specific configuration file
     2 
     3 ## select ARCH_SUPPORTS_32
     4 ## select ARCH_DEFAULT_32
     5 ## select ARCH_SUPPORTS_BOTH_MMU
     6 ## select ARCH_DEFAULT_HAS_MMU
     7 ## select ARCH_SUPPORTS_BOTH_ENDIAN
     8 ## select ARCH_DEFAULT_LE
     9 ## select ARCH_SUPPORTS_WITH_ARCH
    10 ## select ARCH_SUPPORTS_WITH_CPU
    11 ## select ARCH_SUPPORTS_WITH_TUNE
    12 ## select ARCH_SUPPORTS_WITH_FLOAT
    13 ## select ARCH_SUPPORTS_WITH_FPU
    14 ## select ARCH_SUPPORTS_SOFTFP
    15 ##
    16 ## help The ARM architecture, as defined by:
    17 ## help     http://www.arm.com/