summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rules.mak4
-rw-r--r--extra/Configs/Config.mips16
-rw-r--r--extra/Configs/Config.mips.default60
-rw-r--r--extra/Configs/Config.mipsel.default60
4 files changed, 122 insertions, 18 deletions
diff --git a/Rules.mak b/Rules.mak
index 3d83d0c1b..24ddbb73c 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -87,8 +87,8 @@ TARGET_ARCH:=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \
-e 's/ppc/powerpc/g' \
-e 's/v850.*/v850/g' \
-e 's/sh[234]/sh/' \
- -e 's/mips.*/mips/' \
- -e 's/mipsel.*/mipsel/' \
+ -e 's/mips-.*/mips/' \
+ -e 's/mipsel-.*/mipsel/' \
-e 's/cris.*/cris/' \
)
endif
diff --git a/extra/Configs/Config.mips b/extra/Configs/Config.mips
index 8ede6f26f..0f55c3252 100644
--- a/extra/Configs/Config.mips
+++ b/extra/Configs/Config.mips
@@ -20,22 +20,6 @@ config ARCH_LDFLAGS
config LIBGCC_CFLAGS
string
-choice
- prompt "Target Processor Endianness"
- default ARCH_LITTLE_ENDIAN
- help
- This is the endianness you wish to build use. Choose either Big
- Endian (mips), or Little Endian (mipsel).
-
-config ARCH_LITTLE_ENDIAN
- bool "Little Endian (mipsel)"
-
-config ARCH_BIG_ENDIAN
- bool "Big Endian (mips)"
-
-endchoice
-
-
source "extra/Configs/Config.in.arch"
endmenu
diff --git a/extra/Configs/Config.mips.default b/extra/Configs/Config.mips.default
new file mode 100644
index 000000000..b13a9d2bf
--- /dev/null
+++ b/extra/Configs/Config.mips.default
@@ -0,0 +1,60 @@
+#
+# Automatically generated make config: don't edit
+#
+
+#
+# Target Architecture Features and Options
+#
+HAVE_ELF=y
+UCLIBC_HAS_MMU=y
+UCLIBC_HAS_FLOATS=y
+HAS_FPU=y
+DO_C99_MATH=y
+WARNINGS="-Wall"
+KERNEL_SOURCE="/usr/src/linux"
+C_SYMBOL_PREFIX=""
+
+#
+# General Library Settings
+#
+DOPIC=y
+HAVE_SHARED=y
+BUILD_UCLIBC_LDSO=y
+# LDSO_LDD_SUPPORT is not set
+UCLIBC_HAS_THREADS=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+MALLOC_930716=y
+HAS_SHADOW=y
+UCLIBC_HAS_REGEX=y
+UNIX98PTY_ONLY=y
+ASSUME_DEVPTS=y
+
+#
+# Networking Support
+#
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_WCHAR is not set
+# USE_OLD_VFPRINTF is not set
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PATH="/lib"
+DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc"
+SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)"
+DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr"
+
+#
+# uClibc hacking options
+#
+DODEBUG=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set
diff --git a/extra/Configs/Config.mipsel.default b/extra/Configs/Config.mipsel.default
new file mode 100644
index 000000000..b13a9d2bf
--- /dev/null
+++ b/extra/Configs/Config.mipsel.default
@@ -0,0 +1,60 @@
+#
+# Automatically generated make config: don't edit
+#
+
+#
+# Target Architecture Features and Options
+#
+HAVE_ELF=y
+UCLIBC_HAS_MMU=y
+UCLIBC_HAS_FLOATS=y
+HAS_FPU=y
+DO_C99_MATH=y
+WARNINGS="-Wall"
+KERNEL_SOURCE="/usr/src/linux"
+C_SYMBOL_PREFIX=""
+
+#
+# General Library Settings
+#
+DOPIC=y
+HAVE_SHARED=y
+BUILD_UCLIBC_LDSO=y
+# LDSO_LDD_SUPPORT is not set
+UCLIBC_HAS_THREADS=y
+UCLIBC_HAS_LFS=y
+# MALLOC is not set
+MALLOC_930716=y
+HAS_SHADOW=y
+UCLIBC_HAS_REGEX=y
+UNIX98PTY_ONLY=y
+ASSUME_DEVPTS=y
+
+#
+# Networking Support
+#
+# UCLIBC_HAS_IPV6 is not set
+UCLIBC_HAS_RPC=y
+UCLIBC_HAS_FULL_RPC=y
+
+#
+# String and Stdio Support
+#
+# UCLIBC_HAS_WCHAR is not set
+# USE_OLD_VFPRINTF is not set
+
+#
+# Library Installation Options
+#
+SHARED_LIB_LOADER_PATH="/lib"
+DEVEL_PREFIX="/usr/$(TARGET_ARCH)-linux-uclibc"
+SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)"
+DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr"
+
+#
+# uClibc hacking options
+#
+DODEBUG=y
+# DOASSERTS is not set
+# SUPPORT_LD_DEBUG is not set
+# SUPPORT_LD_DEBUG_EARLY is not set