patch-2.4.19 linux-2.4.19/arch/mips64/kernel/Makefile

Next file: linux-2.4.19/arch/mips64/kernel/binfmt_elf32.c
Previous file: linux-2.4.19/arch/mips64/defconfig-sb1250-swarm
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips64/kernel/Makefile linux-2.4.19/arch/mips64/kernel/Makefile
@@ -6,26 +6,30 @@
 # unless it's something special (ie not a .c file).
 #
 
-.S.o:
-	$(CC) $(CFLAGS) $(CFLAGS_$@) -c $< -o $*.o
+USE_STANDARD_AS_RULE := true
 
 all:	kernel.o head.o init_task.o
 
 O_TARGET := kernel.o
 
-export-objs = mips64_ksyms.o
+export-objs = irq.o mips64_ksyms.o pci-dma.o setup.o smp.o
 
-obj-y	:= branch.o entry.o proc.o process.o ptrace.o r4k_cache.o r4k_fpu.o \
-	   r4k_genex.o r4k_switch.o r4k_tlb.o r4k_tlb_debug.o r4k_tlb_glue.o \
-	   scall_64.o semaphore.o setup.o signal.o softfp.o syscall.o \
-	   traps.o unaligned.o
+obj-y	:= branch.o entry.o irq.o proc.o process.o ptrace.o r4k_cache.o \
+	   r4k_fpu.o r4k_genex.o r4k_switch.o reset.o scall_64.o semaphore.o \
+	   setup.o signal.o syscall.o time.o traps.o unaligned.o
+
+obj-$(CONFIG_I8259)		+= i8259.o
+obj-$(CONFIG_IRQ_CPU)		+= irq_cpu.o
 
 obj-$(CONFIG_MODULES)		+= mips64_ksyms.o
 obj-$(CONFIG_MIPS32_COMPAT)	+= linux32.o scall_o32.o signal32.o ioctl32.o
 obj-$(CONFIG_BINFMT_ELF32)	+= binfmt_elf32.o
 obj-$(CONFIG_SMP)		+= smp.o
 
+ifndef CONFIG_MAPPED_PCI_IO
+obj-y				+= pci-dma.o
+endif
+
 CFLAGS_r4k_genex.o := -P
-CFLAGS_r4k_tlb_glue.o := -P
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)