mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
libc/uClibc: change munging code based on target arch
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
b996e47799
commit
3fcdd28e04
@ -282,7 +282,8 @@ mungeuClibcConfig() {
|
|||||||
ENDSED
|
ENDSED
|
||||||
|
|
||||||
# Ah. We may one day need architecture-specific handler here...
|
# Ah. We may one day need architecture-specific handler here...
|
||||||
if [ "${CT_ARCH}" = "arm" ]; then
|
case "${CT_ARCH}" in
|
||||||
|
arm)
|
||||||
# Hack the ARM {E,O}ABI into the config file
|
# Hack the ARM {E,O}ABI into the config file
|
||||||
if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
|
if [ "${CT_ARCH_ARM_EABI}" = "y" ]; then
|
||||||
cat <<-ENDSED
|
cat <<-ENDSED
|
||||||
@ -295,7 +296,8 @@ mungeuClibcConfig() {
|
|||||||
s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
|
s/.*(CONFIG_ARM_EABI).*/# \\1 is not set/
|
||||||
ENDSED
|
ENDSED
|
||||||
fi
|
fi
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Accomodate for old and new uClibc versions, where the
|
# Accomodate for old and new uClibc versions, where the
|
||||||
# way to select between big/little endian has changed
|
# way to select between big/little endian has changed
|
||||||
|
Loading…
Reference in New Issue
Block a user