📄 makefile
字号:
## Makefile for the Linux/MIPS kernel.## Note! Dependencies are done automagically by 'make dep', which also# removes any old dependencies. DON'T put your own dependencies here# unless it's something special (ie not a .c file).#.S.o: $(CC) $(CFLAGS) -c $< -o $*.oall: kernel.o head.o init_task.oEXTRA_ASFLAGS = -mips3 -mcpu=r4000O_TARGET := kernel.oO_OBJS := 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 softfp.o unaligned.oOX_OBJS := mips_ksyms.oifdef CONFIG_CPU_R3000O_OBJS += r2300_misc.o r2300_fpu.o r2300_switch.oelseO_OBJS += r4k_misc.o r4k_switch.o ifdef CONFIG_CPU_R6000O_OBJS += r6000_fpu.oelseO_OBJS += r4k_fpu.oendifendififdef CONFIG_MIPS_FPE_MODULEM_OBJS += fpe.oendif## SGIs have very different interrupt/timer hardware.#ifndef CONFIG_DECSTATION ifndef CONFIG_BAGET_MIPS O_OBJS += time.o ifndef CONFIG_SGI_IP22 ifndef CONFIG_ORION OX_OBJS += irq.o endif endif endifendif## Do we want to be able to execute IRIX elf binaries?#ifdef CONFIG_BINFMT_IRIXO_OBJS += irixelf.o irixioctl.o irixsig.o sysirix.o irixinv.oendif## Kernel debugging#ifdef CONFIG_REMOTE_DEBUGO_OBJS += gdb-low.o gdb-stub.o endif## Depending from some other kernel option#ifdef CONFIG_PROC_FSO_OBJS += proc.oendif## Since we add the same object files to O_OBJS for different configurations.# O_OBJS might contain duplicate files. We correct this by filtering out# duplicate files. Just to avoid users having to know about all the# compatibility stuff between various boards and boards.#O_OBJS := $(sort $(O_OBJS))entry.o: entry.Shead.o: head.S#r4k_switch.o: r4k_switch.S##r4k_misc.o: r4k_misc.S##r4k_fpu.o: r4k_fpu.S##r2300_switch.o: r2300_switch.S##r2300_misc.o: r2300_misc.S##r2300_fpu.o: r2300_fpu.S##r6000_fpu.o: r6000_fpu.Sclean:include $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -