patch-2.4.2 linux/arch/mips64/kernel/Makefile
Next file: linux/arch/mips64/kernel/process.c
Previous file: linux/arch/mips64/defconfig-ip27
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Sun Feb 4 21:48:46 2001
- Orig file:
v2.4.1/linux/arch/mips64/kernel/Makefile
- Orig date:
Sun Jul 9 22:18:16 2000
diff -u --recursive --new-file v2.4.1/linux/arch/mips64/kernel/Makefile linux/arch/mips64/kernel/Makefile
@@ -12,27 +12,20 @@
all: kernel.o head.o init_task.o
O_TARGET := kernel.o
-O_OBJS := branch.o entry.o proc.o process.o ptrace.o r4k_cache.o r4k_fpu.o \
+
+export-objs = mips64_ksyms.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
-OX_OBJS := mips64_ksyms.o
-
-ifdef CONFIG_MIPS32_COMPAT
-O_OBJS += linux32.o scall_o32.o signal32.o ioctl32.o
-endif
-ifdef CONFIG_BINFMT_ELF32
-O_OBJS += binfmt_elf32.o
-endif
-
-ifdef CONFIG_SMP
-O_OBJS += smp.o
-endif
+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
CFLAGS_r4k_genex.o := -P
CFLAGS_r4k_tlb_glue.o := -P
-
-clean:
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)