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

📄 makefile

📁 linux 内核源代码
💻
字号:
## This file is subject to the terms and conditions of the GNU General Public# License.  See the file "COPYING" in the main directory of this archive# for more details.## Copyright (C) 1995, 1998, 2001, 2002 by Ralf Baechle# Copyright (C) 2004  Maciej W. Rozycki### Some DECstations need all possible sections of an ECOFF executable#ifdef CONFIG_MACH_DECSTATION  E2EFLAGS = -aelse  E2EFLAGS =endif## Drop some uninteresting sections in the kernel.# This is only relevant for ELF kernels but doesn't hurt a.out#drop-sections	= .reginfo .mdebug .comment .note .pdr .options .MIPS.optionsstrip-flags	= $(addprefix --remove-section=,$(drop-sections))VMLINUX = vmlinuxall: vmlinux.ecoff vmlinux.srec addinitrdvmlinux.ecoff: $(obj)/elf2ecoff $(VMLINUX)	$(obj)/elf2ecoff $(VMLINUX) vmlinux.ecoff $(E2EFLAGS)$(obj)/elf2ecoff: $(obj)/elf2ecoff.c	$(HOSTCC) -o $@ $^vmlinux.bin: $(VMLINUX)	$(OBJCOPY) -O binary $(strip-flags) $(VMLINUX) $(obj)/vmlinux.binvmlinux.srec: $(VMLINUX)	$(OBJCOPY) -S -O srec $(strip-flags) $(VMLINUX) $(obj)/vmlinux.srec$(obj)/addinitrd: $(obj)/addinitrd.c	$(HOSTCC) -o $@ $^clean-files += addinitrd \	       elf2ecoff \	       vmlinux.bin \	       vmlinux.ecoff \	       vmlinux.srec

⌨️ 快捷键说明

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