uclibc: remove USE_BX handling
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 18 Mar 2016 21:08:07 +0000 (22:08 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 29 Mar 2016 22:14:55 +0000 (00:14 +0200)
Now that uClibc is capable of figuring out by itself whether 'bx' can
be used or not, we can simplify the logic in Buildroot.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/uclibc/Config.in
package/uclibc/uclibc.mk

index 16bf89c62748a125a8fa32088122c3ee25637b70..e7229085c09cd08dd933a8638143d00edbba8550 100644 (file)
@@ -139,11 +139,6 @@ config BR2_UCLIBC_ARC_TYPE
        default "ARC_CPU_700"   if BR2_arc770d
        default "ARC_CPU_HS"    if BR2_archs38
 
-config BR2_UCLIBC_ARM_BX
-       bool
-       depends on BR2_UCLIBC_TARGET_ARCH = "arm"
-       default y if (BR2_ARM_CPU_HAS_THUMB || BR2_ARM_CPU_HAS_THUMB2)
-
 config BR2_UCLIBC_MIPS_ABI
        string
        depends on BR2_UCLIBC_TARGET_ARCH = "mips"
index 88a4a8cf42b1bd4024ac84a58740f29d932db1e8..c981d80118f770c21a6138a72c5c12627b277883 100644 (file)
@@ -80,16 +80,6 @@ ifeq ($(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_TOOLCHAIN_HAS_THREADS),yy)
 UCLIBC_EXTRA_CFLAGS += -marm
 endif
 
-ifeq ($(BR2_UCLIBC_ARM_BX),y)
-define UCLIBC_ARM_BX_CONFIG
-       $(call KCONFIG_ENABLE_OPT,USE_BX,$(@D)/.config)
-endef
-else
-define UCLIBC_ARM_BX_CONFIG
-       $(call KCONFIG_DISABLE_OPT,USE_BX,$(@D)/.config)
-endef
-endif
-
 endif # arm
 
 #
@@ -362,7 +352,6 @@ define UCLIBC_KCONFIG_FIXUP_CMDS
        $(UCLIBC_ARC_TYPE_CONFIG)
        $(UCLIBC_ARC_PAGE_SIZE_CONFIG)
        $(UCLIBC_ARM_ABI_CONFIG)
-       $(UCLIBC_ARM_BX_CONFIG)
        $(UCLIBC_MIPS_ABI_CONFIG)
        $(UCLIBC_MIPS_ISA_CONFIG)
        $(UCLIBC_SH_TYPE_CONFIG)