patch-2.4.19 linux-2.4.19/arch/mips/kernel/Makefile
Next file: linux-2.4.19/arch/mips/kernel/branch.c
Previous file: linux-2.4.19/arch/mips/jmr3927/rbhma3100/setup.c
Back to the patch index
Back to the overall index
- Lines: 81
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/mips/kernel/Makefile
- Orig date:
Sun Sep 9 10:43:01 2001
diff -urN linux-2.4.18/arch/mips/kernel/Makefile linux-2.4.19/arch/mips/kernel/Makefile
@@ -6,41 +6,45 @@
# unless it's something special (ie not a .c file).
#
-.S.s:
- $(CPP) $(AFLAGS) $< -o $@
-.S.o:
- $(CC) $(AFLAGS) -c $< -o $@
-
-EXTRA_AFLAGS = -mips3 -mcpu=r4000
+USE_STANDARD_AS_RULE := true
all: kernel.o head.o init_task.o
O_TARGET := kernel.o
+export-objs = irq.o pci-dma.o setup.o smp.o mips_ksyms.o \
+ old-irq.o
+
obj-y += branch.o process.o signal.o entry.o \
traps.o ptrace.o vm86.o ioport.o reset.o \
semaphore.o setup.o syscall.o sysmips.o \
ipc.o scall_o32.o unaligned.o
obj-$(CONFIG_MODULES) += mips_ksyms.o
-ifdef CONFIG_CPU_R3000
-obj-y += r2300_misc.o r2300_fpu.o r2300_switch.o
-else
-obj-y += r4k_misc.o r4k_switch.o
-ifdef CONFIG_CPU_R6000
-obj-y += r6000_fpu.o
-else
-obj-y += r4k_fpu.o
-endif
-endif
+obj-$(CONFIG_CPU_R3000) += r2300_fpu.o r2300_switch.o
+obj-$(CONFIG_CPU_TX39XX) += r2300_fpu.o r2300_switch.o
+obj-$(CONFIG_CPU_TX49XX) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R4000) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_VR41XX) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R4300) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R4X00) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R5000) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R5432) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_RM7000) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_NEVADA) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R10000) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_SB1) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_MIPS32) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_MIPS64) += r4k_fpu.o r4k_switch.o
+obj-$(CONFIG_CPU_R6000) += r6000_fpu.o r4k_switch.o
obj-$(CONFIG_SMP) += smp.o
# Old style irq support, going to die in 2.5.
-export-objs += old-irq.o
obj-$(CONFIG_NEW_IRQ) += irq.o
obj-$(CONFIG_ROTTEN_IRQ) += old-irq.o
obj-$(CONFIG_I8259) += i8259.o
+obj-$(CONFIG_IRQ_CPU) += irq_cpu.o
# transition from old time.c to new time.c
# some boards uses old-time.c, some use time.c, and some use their own ones
@@ -51,13 +55,13 @@
obj-$(CONFIG_BINFMT_IRIX) += irixelf.o irixioctl.o irixsig.o sysirix.o \
irixinv.o
obj-$(CONFIG_REMOTE_DEBUG) += gdb-low.o gdb-stub.o
-obj-$(CONFIG_PCI) += pci-dma.o
obj-$(CONFIG_PROC_FS) += proc.o
-ifdef CONFIG_PCI
-obj-$(CONFIG_NEW_PCI) += pci.o
-obj-$(CONFIG_PCI_AUTO) += pci_auto.o
+obj-$(CONFIG_NEW_PCI) += pci.o
+ifndef CONFIG_MAPPED_PCI_IO
+obj-y += pci-dma.o
endif
+obj-$(CONFIG_PCI_AUTO) += pci_auto.o
entry.o: entry.S
head.o: head.S
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)