⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 优龙2410linux2.6.8内核源代码
💻
字号:
OBJ = built-in.o.S.o:	$(CC) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.oOBJS = ptrace.o sigcontext.o semaphore.o checksum.o miscthings.o misc.o \	ptrace_user.o sysrq.oEXTRA_AFLAGS := -DCONFIG_PPC32 -I. -I$(TOPDIR)/arch/ppc/kernelall: $(OBJ)$(OBJ): $(OBJS)	rm -f $@	$(LD) $(LINKFLAGS) --start-group $^ --end-group -o $@ptrace_user.o: ptrace_user.c	$(CC) -D__KERNEL__ $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<sigcontext.o: sigcontext.c	$(CC) $(USER_CFLAGS) $(EXTRA_CFLAGS) -c -o $@ $<semaphore.c:	rm -f $@	ln -s $(TOPDIR)/arch/ppc/kernel/$@ $@checksum.S:	rm -f $@	ln -s $(TOPDIR)/arch/ppc/lib/$@ $@mk_defs.c:	rm -f $@	ln -s $(TOPDIR)/arch/ppc/kernel/$@ $@ppc_defs.head:	rm -f $@	ln -s $(TOPDIR)/arch/ppc/kernel/$@ $@ppc_defs.h: mk_defs.c ppc_defs.head \		$(TOPDIR)/include/asm-ppc/mmu.h \		$(TOPDIR)/include/asm-ppc/processor.h \		$(TOPDIR)/include/asm-ppc/pgtable.h \		$(TOPDIR)/include/asm-ppc/ptrace.h#	$(CC) $(CFLAGS) -S mk_defs.c	cp ppc_defs.head ppc_defs.h# for bk, this way we can write to the file even if it's not checked out	echo '#define THREAD 608' >> ppc_defs.h	echo '#define PT_REGS 8' >> ppc_defs.h	echo '#define CLONE_VM 256' >> ppc_defs.h#	chmod u+w ppc_defs.h#	grep '^#define' mk_defs.s >> ppc_defs.h#	rm mk_defs.s# the asm link is horrible, and breaks the other targets.  This is also# not going to work with parallel makes.checksum.o: checksum.S	rm -f asm	ln -s $(TOPDIR)/include/asm-ppc asm	$(CC) $(EXTRA_AFLAGS) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o	rm -f asmmisc.o: misc.S ppc_defs.h	rm -f asm	ln -s $(TOPDIR)/include/asm-ppc asm	$(CC) $(EXTRA_AFLAGS) $(AFLAGS) -D__ASSEMBLY__ -D__UM_PPC__ -c $< -o $*.o	rm -f asmclean:	rm -f $(OBJS)	rm -f ppc_defs.h	rm -f checksum.S semaphore.c mk_defs.cfastdep:dep:modules:

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -