mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-23 20:45:17 +00:00
libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM
This commit is contained in:
parent
d744220447
commit
5ae9b7faf9
@ -201,17 +201,19 @@ mungeuClibcConfig() {
|
||||
ENDSED
|
||||
|
||||
# Ah. We may one day need architecture-specific handler here...
|
||||
# Hack the ARM {E,O}ABI into the config file
|
||||
if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
|
||||
cat <<-ENDSED
|
||||
s/.*(CONFIG_ARM_OABI).*/# \\1 is not set/
|
||||
s/.*(CONFIG_ARM_EABI).*/\\1=y/
|
||||
ENDSED
|
||||
else
|
||||
cat <<-ENDSED
|
||||
s/.*(CONFIG_ARM_OABI).*/\\1=y/
|
||||
s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
|
||||
ENDSED
|
||||
if [ "${CT_ARCH}" = "arm" ]; then
|
||||
# Hack the ARM {E,O}ABI into the config file
|
||||
if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
|
||||
cat <<-ENDSED
|
||||
s/.*(CONFIG_ARM_OABI).*/# \\1 is not set/
|
||||
s/.*(CONFIG_ARM_EABI).*/\\1=y/
|
||||
ENDSED
|
||||
else
|
||||
cat <<-ENDSED
|
||||
s/.*(CONFIG_ARM_OABI).*/\\1=y/
|
||||
s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
|
||||
ENDSED
|
||||
fi
|
||||
fi
|
||||
|
||||
# Accomodate for old and new uClibc versions, where the
|
||||
|
Loading…
x
Reference in New Issue
Block a user