makefile
来自「这个linux源代码是很全面的~基本完整了~使用c编译的~由于时间问题我没有亲自」· 代码 · 共 56 行
TXT
56 行
## Makefile for the linux 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).## Note 2! The CFLAGS definitions are now in the main makefile....S.o: $(CC) $(AFLAGS) -traditional -c $< -o $*.oall: asm-offsets.h kernel.o head.o init_task.oO_TARGET := kernel.oexport-objs := debug.o ebcdic.o irq.o s390_ext.o smp.o s390_ksyms.oobj-y := entry.o bitmap.o traps.o time.o process.o irq.o \ setup.o sys_s390.o ptrace.o signal.o cpcmd.o ebcdic.o \ semaphore.o s390fpu.o reipl.o s390_ext.o debug.oobj-$(CONFIG_MODULES) += s390_ksyms.oobj-$(CONFIG_SMP) += smp.o## Kernel debugging#obj-$(CONFIG_REMOTE_DEBUG) += gdb-stub.o #gdb-low.o .PHONY: asm-offsets.hentry.S: asm-offsets.h## Automatic offset generation for assembler files.#asm-offsets.h: asm-offsets.c $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -S $< -o - | grep -- "->" | \ (echo "#ifndef __ASM_OFFSETS_H__"; \ echo "#define __ASM_OFFSETS_H__"; \ echo "/*"; \ echo " * DO NOT MODIFY"; \ echo " *"; \ echo " * This file was generated by arch/s390/kernel/Makefile"; \ echo " */"; \ sed -e "s:^->\([^ ]*\) \([^ ]*\) \(.*\):#define \\1 \\2 /* \\3*/:" \ -e "s:->::"; \ echo "#endif" \ ) > asm-offsets.hclean: rm -f asm-offsets.hinclude $(TOPDIR)/Rules.make
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?