patches/uClibc/0.9.32/140-ARM-reorder-Use-BX-option.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 commit d64b91a6d4fa1a3ac1d01fa7593d67c5e5ed5101
     2 Author: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     3 Date:   Sun Jan 9 01:45:04 2011 +0100
     4 
     5     ARM: reorder "Use BX" option
     6     
     7     "Use BX" is not available on all CPUs, so the option depends on
     8     a correct CPU to be chosen . It is weird that e BX" then appears
     9     _above_ the CPU selection, not below.
    10     
    11     Move the "Use BX" after the CPU selection.
    12     
    13     Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
    14     Cc: Khem Raj <raj.khem@gmail.com>
    15     Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    16     Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
    17     Signed-off-by: Khem Raj <raj.khem@gmail.com>
    18     Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    19 
    20 diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
    21 index eb27a33..dd63b80 100644
    22 --- a/extra/Configs/Config.arm
    23 +++ b/extra/Configs/Config.arm
    24 @@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
    25  
    26  endchoice
    27  
    28 -config USE_BX
    29 -	bool "Use BX in function return"
    30 -	default y
    31 -	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
    32 -	help
    33 -	  Use BX instruction for THUMB aware architectures.
    34 -
    35  choice
    36  	prompt "Target Processor Type"
    37  	default CONFIG_GENERIC_ARM
    38 @@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
    39  	select ARCH_HAS_MMU
    40  
    41  endchoice
    42 +
    43 +config USE_BX
    44 +	bool "Use BX in function return"
    45 +	default y
    46 +	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
    47 +	help
    48 +	  Use BX instruction for THUMB aware architectures.