From fcbb4886f4cdcba6c18bcae586b0bfa425959350 Mon Sep 17 00:00:00 2001 From: kaloz Date: Wed, 2 Feb 2011 20:19:28 +0000 Subject: [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../930-transform_eabi_oabi_choice.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.32/930-transform_eabi_oabi_choice.patch (limited to 'toolchain/uClibc/patches-0.9.32/930-transform_eabi_oabi_choice.patch') diff --git a/toolchain/uClibc/patches-0.9.32/930-transform_eabi_oabi_choice.patch b/toolchain/uClibc/patches-0.9.32/930-transform_eabi_oabi_choice.patch new file mode 100644 index 000000000..7a91f6786 --- /dev/null +++ b/toolchain/uClibc/patches-0.9.32/930-transform_eabi_oabi_choice.patch @@ -0,0 +1,49 @@ +The CONFIG_ARM_OABI option is never used. + +Signed-off-by: "Yann E. MORIN" +Cc: Khem Raj +Cc: Bernhard Reutner-Fischer +Cc: Carmelo AMOROSO +--- + extra/Configs/Config.arm | 23 ++++++++--------------- + 1 files changed, 8 insertions(+), 15 deletions(-) + +diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm +index 6c75a00..227b90c 100644 +--- a/extra/Configs/Config.arm ++++ b/extra/Configs/Config.arm +@@ -12,23 +12,16 @@ config FORCE_OPTIONS_FOR_ARCH + default y + select ARCH_ANY_ENDIAN + +-choice +- prompt "Target ABI" +- default CONFIG_ARM_OABI ++config CONFIG_ARM_EABI ++ bool "Build for EABI" + help +- If you choose "EABI" here, functions and constants required by the +- ARM EABI will be built into the library. You should choose "EABI" ++ If you say 'y' here, functions and constants required by the ++ ARM EABI will be built into the library. You should say 'y' + if your compiler uses the ARM EABI, in which case you will also +- need a kernel supporting the EABI system call interface, or "OABI" +- for a compiler using the old Linux ABI. +- +-config CONFIG_ARM_OABI +- bool "OABI" +- +-config CONFIG_ARM_EABI +- bool "EABI" +- +-endchoice ++ need a kernel supporting the EABI system call interface. ++ ++ 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" +-- +1.7.1 + -- cgit v1.2.3