diff --git a/openwrt/Config.in b/openwrt/Config.in
index c93b1f17cfc474f39c1bbf7f885b9f371aa52e08..308df372c2c46855a4f0e0e7292615fe4c0d942f 100644
--- a/openwrt/Config.in
+++ b/openwrt/Config.in
@@ -32,8 +32,8 @@ config BR2_i386
 config BR2_m68k
 	bool "m68k"
 
-config BR2_mipseb
-	bool "mipseb"
+config BR2_mips
+	bool "mips"
 
 config BR2_mipsel
 	bool "mipsel"
@@ -65,7 +65,7 @@ config BR2_ARCH
 	default "cris"    if BR2_cris
 	default "i386"    if BR2_i386
 	default "m68k"    if BR2_m68k
-	default "mipseb"  if BR2_mipseb
+	default "mips"    if BR2_mips
 	default "mipsel"  if BR2_mipsel || !CONFIG_DEVEL
 	default "powerpc" if BR2_powerpc
 	default "sh3"     if BR2_sh3
diff --git a/openwrt/Config.in.devel b/openwrt/Config.in.devel
index ad423162b05613d4bf0f4d84f47e5d084148da5e..38e79b9e608070d126f27187cfa4e18b4bdeffcc 100644
--- a/openwrt/Config.in.devel
+++ b/openwrt/Config.in.devel
@@ -35,8 +35,8 @@ config BR2_i386
 config BR2_m68k
 	bool "m68k"
 
-config BR2_mipseb
-	bool "mipseb"
+config BR2_mips
+	bool "mips"
 
 config BR2_mipsel
 	bool "mipsel"
@@ -68,7 +68,7 @@ config BR2_ARCH
 	default "cris"    if BR2_cris
 	default "i386"    if BR2_i386
 	default "m68k"    if BR2_m68k
-	default "mipseb"  if BR2_mipseb
+	default "mips"    if BR2_mips
 	default "mipsel"  if BR2_mipsel
 	default "powerpc" if BR2_powerpc
 	default "sh3"     if BR2_sh3
diff --git a/openwrt/target/linux/Config.in b/openwrt/target/linux/Config.in
index 9f3b52594fb9d3104b8b8db536a0973b98ea9a83..8ea02179ff1a2ec94047a15b7fa6fc81b973b9cc 100644
--- a/openwrt/target/linux/Config.in
+++ b/openwrt/target/linux/Config.in
@@ -51,7 +51,7 @@ config BR2_LINUX_2_6_X86
 config BR2_LINUX_2_4_AR531X
 	bool "Support for Atheros ar531x based APs"
 	default n
-	depends BR2_mipseb
+	depends BR2_mips
 	help
 	  Build firmware images for Atheros ar531x based boards
 	  (e.g. Netgear WGT624, Linksys WRT55AG)
diff --git a/openwrt/toolchain/kernel-headers/Makefile b/openwrt/toolchain/kernel-headers/Makefile
index 732a097e8aa2a777e4b11651a083ac488894cd18..f64d341793b7714b92724717488b7d6fd895b61c 100644
--- a/openwrt/toolchain/kernel-headers/Makefile
+++ b/openwrt/toolchain/kernel-headers/Makefile
@@ -12,7 +12,6 @@ LINUX_HEADERS_SITE= \
 
 LINUX_HEADERS_SOURCE=linux-$(LINUX_HEADERS_VERSION).tar.bz2
 LINUX_HEADERS_ARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
-	-e 's/mipsel/mips/' \
 	-e 's/mipseb/mips/' \
 	-e 's/powerpc/ppc/' \
 	-e 's/sh[234]/sh/' \
diff --git a/openwrt/toolchain/uClibc/files/config.mipseb b/openwrt/toolchain/uClibc/files/config.mips
similarity index 98%
rename from openwrt/toolchain/uClibc/files/config.mipseb
rename to openwrt/toolchain/uClibc/files/config.mips
index e5601f533e8ebacf28794bf25594e73cd300ba16..06c3d829b6aac18352ae78b2a0f3771ad79096d1 100644
--- a/openwrt/toolchain/uClibc/files/config.mipseb
+++ b/openwrt/toolchain/uClibc/files/config.mips
@@ -43,7 +43,7 @@ ARCH_HAS_MMU=y
 UCLIBC_HAS_FLOATS=y
 HAS_FPU=y
 # DO_C99_MATH is not set
-KERNEL_SOURCE="./toolchain_build_mipsbe/linux"
+KERNEL_SOURCE="./toolchain_build_mips/linux"
 C_SYMBOL_PREFIX=""
 HAVE_DOT_CONFIG=y