patches/uClibc/0.9.32/140-ARM-reorder-Use-BX-option.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Sep 21 22:42:35 2011 +0200 (2011-09-21)
changeset 2677 7df89370f805
permissions -rw-r--r--
kernel/linux: add alternate download locations

Since kernel.org is dead, and there is no announced or known estimated
time or return to normality, it is impossible to download any kernel at
this time.

Add a known-working mirror.

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.