44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
|
From 021e407a5ef7d75f62bde70178606b530720d513 Mon Sep 17 00:00:00 2001
|
||
|
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
|
Date: Thu, 17 Mar 2016 22:47:16 +0100
|
||
|
Subject: [PATCH] arm: remove COMPILE_IN_THUMB
|
||
|
|
||
|
One just need to pass the appropriate -mthumb gcc flag, like you
|
||
|
anyway need to do to build for the proper ARM variant.
|
||
|
|
||
|
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
|
||
|
---
|
||
|
Rules.mak | 1 -
|
||
|
extra/Configs/Config.arm | 6 ------
|
||
|
2 files changed, 7 deletions(-)
|
||
|
|
||
|
diff --git a/Rules.mak b/Rules.mak
|
||
|
index b1cecec..0ae3bb1 100644
|
||
|
--- a/Rules.mak
|
||
|
+++ b/Rules.mak
|
||
|
@@ -392,7 +392,6 @@ endif
|
||
|
ifeq ($(TARGET_ARCH),arm)
|
||
|
CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-mlittle-endian
|
||
|
CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mbig-endian
|
||
|
- CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb
|
||
|
endif
|
||
|
|
||
|
ifeq ($(TARGET_ARCH),metag)
|
||
|
diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
|
||
|
index 0825c42..0d02e3f 100644
|
||
|
--- a/extra/Configs/Config.arm
|
||
|
+++ b/extra/Configs/Config.arm
|
||
|
@@ -24,9 +24,3 @@ config CONFIG_ARM_EABI
|
||
|
|
||
|
If you say 'n' here, then the library will be built for the
|
||
|
old Linux ABI.
|
||
|
-
|
||
|
-config COMPILE_IN_THUMB_MODE
|
||
|
- bool "Build using Thumb mode"
|
||
|
- help
|
||
|
- Say 'y' here to force building uClibc in thumb mode.
|
||
|
- Say 'n' to use your compiler's default mode.
|
||
|
--
|
||
|
2.6.4
|
||
|
|