patch-2.1.44 linux/arch/mips/kernel/Makefile

Next file: linux/arch/mips/kernel/bios32.c
Previous file: linux/arch/mips/jazz/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.43/linux/arch/mips/kernel/Makefile linux/arch/mips/kernel/Makefile
@@ -6,72 +6,44 @@
 # unless it's something special (ie not a .c file).
 #
 
-.S.s:
-	$(CPP) $(CFLAGS) $< -o $*.s
 .S.o:
 	$(CC) $(CFLAGS) -c $< -o $*.o
 
-all:	kernel.o head.o
+all:	kernel.o head.o init_task.o
 EXTRA_ASFLAGS = -mips3 -mcpu=r4000
 O_TARGET := kernel.o
-O_OBJS	:= process.o signal.o entry.o traps.o irq.o ptrace.o vm86.o ioport.o \
-	setup.o syscall.o sysmips.o time.o bios32.o ipc.o
+O_OBJS	:= branch.o process.o signal.o entry.o traps.o ptrace.o vm86.o \
+	   ioport.o pci.o reset.o setup.o syscall.o sysmips.o ipc.o \
+	   r4k_switch.o r4k_misc.o r4k_scall.o r4k_fpu.o r2300_switch.o \
+	   r2300_misc.o r2300_scall.o r2300_fpu.o r6000_fpu.o unaligned.o
+OX_OBJS := mips_ksyms.o
 
 #
-# Kernel debugging
+# SGI's have very different interrupt/timer hardware.
 #
-ifdef CONFIG_REMOTE_DEBUG
-OBJS += gdb-low.o gdb-stub.o 
+ifndef CONFIG_SGI
+O_OBJS += irq.o time.o
 endif
 
 #
-# Board specific code
+# Do we want to be able to execute IRIX elf binaries?
 #
-ifdef CONFIG_MIPS_JAZZ
-O_OBJS += jazzdma.o jazz-c.o
-endif
-
-ifdef CONFIG_ACER_PICA_61
-O_OBJS += pica.o
-endif
-
-ifdef CONFIG_DESKSTATION_TYNE
-O_OBJS += tyne.o tyne-c.o
-endif
-
-ifdef CONFIG_MIPS_MAGNUM_4000
-O_OBJS += magnum4000.o
+ifdef CONFIG_BINFMT_IRIX
+O_OBJS += irixelf.o irixioctl.o irixsig.o sysirix.o
 endif
 
 #
-# CPU model specific code
+# Kernel debugging
 #
-ifdef CONFIG_CPU_R2000
-O_OBJS += r3000.o
-endif
-
-ifdef CONFIG_CPU_R3000
-O_OBJS += r3000.o
-endif
-
-ifdef CONFIG_CPU_R4X00
-O_OBJS += r4xx0.o
-endif
-
-ifdef CONFIG_CPU_R4600
-O_OBJS += r4xx0.o
-endif
-
-ifdef CONFIG_CPU_R6000
-	exit 1			# no detailed information about CPU yet.
-endif
-
-ifdef CONFIG_CPU_R8000
-	exit 1			# no detailed information about CPU yet.
+ifdef CONFIG_REMOTE_DEBUG
+O_OBJS += gdb-low.o gdb-stub.o 
 endif
 
-ifdef CONFIG_CPU_R10000
-O_OBJS += r4xx0.o
+#
+# Depending from some other kernel option
+#
+ifdef CONFIG_PROC_FS
+O_OBJS += proc.o
 endif
 
 #
@@ -88,13 +60,23 @@
 
 head.o: head.S
 
-magnum4000.o: magnum4000.S
-
-pica.o: pica.S
-
-r4xx0.o: r4xx0.S
-
-tyne.o: tyne.S
+#r4k_switch.o: r4k_switch.S
+#
+#r4k_misc.o: r4k_misc.S
+#
+#r4k_scall.o: r4k_scall.S
+#
+#r4k_fpu.o: r4k_fpu.S
+#
+#r2300_switch.o: r2300_switch.S
+#
+#r2300_misc.o: r2300_misc.S
+#
+#r2300_scall.o: r2300_scall.S
+#
+#r2300_fpu.o: r2300_fpu.S
+#
+#r6000_fpu.o: r6000_fpu.S
 
 clean:
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov