Fix the wrong setting in qemumips/uClibc.machine
PATCH 1/1 Fix the wrong setting in qemumips/uClibc.machine
* In the previous version, the qemumips/uClibc.machine is copied from qemux86/uClibc.machine without any modification, which causes the compilation of uClibc for qemumips failed.
Signed-off-by Guo Hongruan <[email protected]>
--- .../uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine | 49 +++++++++----------- 1 files changed, 22 insertions(+), 27 deletions(-)
recipes/uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine +22 -27
@@ -1,21 +1,22 @@ # # Automatically generated make config: don't edit -# Fri Nov 23 15:49:33 2007 +# Wed Jul 9 13:37:36 2008 # # TARGET_alpha is not set # TARGET_arm is not set +# TARGET_avr32 is not set # TARGET_bfin is not set # TARGET_cris is not set # TARGET_e1 is not set # TARGET_frv is not set # TARGET_h8300 is not set # TARGET_hppa is not set -TARGET_i386=y +# TARGET_i386 is not set # TARGET_i960 is not set # TARGET_ia64 is not set # TARGET_m68k is not set # TARGET_microblaze is not set -# TARGET_mips is not set +TARGET_mips=y # TARGET_nios is not set # TARGET_nios2 is not set # TARGET_powerpc is not set
@@ -25,44 +26,38 @@ TARGET_i386=y # TARGET_v850 is not set # TARGET_vax is not set # TARGET_x86_64 is not set +# TARGET_xtensa is not set # # Target Architecture Features and Options # -TARGET_ARCH="i386" +TARGET_ARCH="mips" FORCE_OPTIONS_FOR_ARCH=y -CONFIG_GENERIC_386=y -# CONFIG_386 is not set -# CONFIG_486 is not set -# CONFIG_586 is not set -# CONFIG_586MMX is not set -# CONFIG_686 is not set -# CONFIG_PENTIUMII is not set -# CONFIG_PENTIUMIII is not set -# CONFIG_PENTIUM4 is not set -# CONFIG_K6 is not set -# CONFIG_K7 is not set -# CONFIG_ELAN is not set -# CONFIG_CRUSOE is not set -# CONFIG_WINCHIPC6 is not set -# CONFIG_WINCHIP2 is not set -# CONFIG_CYRIXIII is not set -# CONFIG_NEHEMIAH is not set +ARCH_CFLAGS="-mno-split-addresses" +CONFIG_MIPS_O32_ABI=y +# CONFIG_MIPS_N32_ABI is not set +# CONFIG_MIPS_N64_ABI is not set +# CONFIG_MIPS_ISA_1 is not set +# CONFIG_MIPS_ISA_2 is not set +# CONFIG_MIPS_ISA_3 is not set +# CONFIG_MIPS_ISA_4 is not set +CONFIG_MIPS_ISA_MIPS32=y +# CONFIG_MIPS_ISA_MIPS64 is not set TARGET_SUBARCH="" # # Using ELF file format # -ARCH_LITTLE_ENDIAN=y - -# -# Using Little Endian -# +ARCH_ANY_ENDIAN=y +# ARCH_BIG_ENDIAN is not set +ARCH_WANTS_BIG_ENDIAN=y +# ARCH_WANTS_LITTLE_ENDIAN=y ARCH_HAS_MMU=y ARCH_USE_MMU=y UCLIBC_HAS_FLOATS=y UCLIBC_HAS_FPU=y -DO_C99_MATH=y +# DO_C99_MATH is not set +# UCLIBC_HAS_FENV is not set KERNEL_HEADERS="/usr/include" HAVE_DOT_CONFIG=y
Signature · 1 line
1.5.4.3
recipes/uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine TARGET_i386=y · line 59
Quoted 2 lines · Guo Hongruan
recipes/uclibc/uclibc-0.9.30.1/qemumips/uClibc.machine +1
-1-DO_C99_MATH=y +# DO_C99_MATH is not set
This part of the patch looks a bit weird, although I see that mipsel does also turn C99 math support off. Do you know what the reason for that is?
Anyway, you're right that the previous qemumips file did seem to be an exact copy of the qemux86 one, and almost anything must surely be better than that. So, I checked this in. Thanks for the patch.
p.