diff -urN -X dontdiff linux-2.4.32-plain/Makefile linux-2.4.32-mod/Makefile
--- linux-2.4.32-plain/Makefile	2006-02-06 22:29:31.000000000 +0100
+++ linux-2.4.32-mod/Makefile	2006-02-06 22:37:48.000000000 +0100
@@ -5,7 +5,7 @@
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+ARCH := mips
 KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
 
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
@@ -16,10 +16,10 @@
 HPATH   	= $(TOPDIR)/include
 FINDHPATH	= $(HPATH)/asm $(HPATH)/linux $(HPATH)/scsi $(HPATH)/net $(HPATH)/math-emu
 
-HOSTCC  	= kgcc
+HOSTCC  	= gcc
 HOSTCFLAGS	= -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 
-CROSS_COMPILE 	=
+CROSS_COMPILE 	= mipsel-linux-
 
 #
 # Include the make variables (CC, etc...)
@@ -27,7 +27,7 @@
 
 AS		= $(CROSS_COMPILE)as
 LD		= $(CROSS_COMPILE)ld
-CC		= $(CROSS_COMPILE)kgcc
+CC		= $(CROSS_COMPILE)gcc
 CPP		= $(CC) -E
 AR		= $(CROSS_COMPILE)ar
 NM		= $(CROSS_COMPILE)nm
diff -urN -X dontdiff linux-2.4.32-plain/arch/mips/Makefile linux-2.4.32-mod/arch/mips/Makefile
--- linux-2.4.32-plain/arch/mips/Makefile	2006-02-06 22:29:22.000000000 +0100
+++ linux-2.4.32-mod/arch/mips/Makefile	2006-02-06 22:38:07.000000000 +0100
@@ -17,7 +17,7 @@
 # Select the object file format to substitute into the linker script.
 #
 ifdef CONFIG_CPU_LITTLE_ENDIAN
-tool-prefix	= mipsel-linux-uclibc-
+tool-prefix	= mipsel-linux-
 ld-emul		= elf32ltsmip
 else
 tool-prefix	= mips-linux-
diff -urN -X dontdiff linux-2.4.32-plain/arch/mips/rb/rb100/Makefile linux-2.4.32-mod/arch/mips/rb/rb100/Makefile
--- linux-2.4.32-plain/arch/mips/rb/rb100/Makefile	2006-02-06 22:29:22.000000000 +0100
+++ linux-2.4.32-mod/arch/mips/rb/rb100/Makefile	2006-02-06 22:38:23.000000000 +0100
@@ -13,7 +13,6 @@
 
 O_TARGET:= rb100.o
 
-export-objs = prom.o 
 obj-y    := setup.o irq.o serial.o 5120_int.o mipsIRQ.o pci.o
 
 include $(TOPDIR)/Rules.make
diff -urN -X dontdiff linux-2.4.32-plain/net/netsyms.c linux-2.4.32-mod/net/netsyms.c
--- linux-2.4.32-plain/net/netsyms.c	2006-02-06 22:29:31.000000000 +0100
+++ linux-2.4.32-mod/net/netsyms.c	2006-02-06 22:37:18.000000000 +0100
@@ -496,8 +496,8 @@
 EXPORT_SYMBOL(unregister_netdevice);
 EXPORT_SYMBOL(netdev_state_change);
 EXPORT_SYMBOL(dev_new_index);
-//EXPORT_SYMBOL(dev_get_by_flags);
-//EXPORT_SYMBOL(__dev_get_by_flags);
+EXPORT_SYMBOL(dev_get_by_flags);
+EXPORT_SYMBOL(__dev_get_by_flags);
 EXPORT_SYMBOL(dev_get_by_index);
 EXPORT_SYMBOL(__dev_get_by_index);
 EXPORT_SYMBOL(dev_get_by_name);

