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

📄 makefile

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻
字号:
# $Id: Makefile,v 1.6 2000/06/10 03:03:52 gniibe Exp $## 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) 1999  Kaz Kojima## This file is included by the global makefile so that you can add your own# architecture-specific flags and dependencies. Remember to do have actions# for "archclean" and "archdep" for cleaning up and making dependencies for# this architecture### Select the object file format to substitute into the linker script.#tool_prefix	= sh-linux-gnu-ifdef CONFIG_CPU_LITTLE_ENDIANCFLAGS		+= -mlAFLAGS		+= -ml# LINKFLAGS	+= -ELLDFLAGS		:= -ELelseCFLAGS		+= -mbAFLAGS		+= -mb# LINKFLAGS	+= -EBLDFLAGS		:= -EBendif# ifdef CONFIG_CROSSCOMPILECROSS_COMPILE  = $(tool_prefix)# endifLD	=$(CROSS_COMPILE)ld $(LDFLAGS)OBJCOPY=$(CROSS_COMPILE)objcopy -O binary -R .note -R .comment -R .stab -R .stabstr -SMODFLAGS	+=##ifdef CONFIG_CPU_SH3CFLAGS		+= -m3AFLAGS		+= -m3endififdef CONFIG_CPU_SH4CFLAGS		+= -m4-nofpuAFLAGS		+= -m4-nofpuendif## Choosing incompatible machines durings configuration will result in# error messages during linking.  Select a default linkscript if# none has been choosen above.#LINKSCRIPT    = arch/sh/vmlinux.ldsLINKFLAGS     += -T $(word 1,$(LINKSCRIPT)) -e _stextifdef LOADADDRLINKFLAGS     += -Ttext $(word 1,$(LOADADDR))endif#CFLAGS		+= -pipeHEAD := arch/sh/kernel/head.o arch/sh/kernel/init_task.oSUBDIRS := $(SUBDIRS) $(addprefix arch/sh/, kernel mm lib)CORE_FILES := arch/sh/kernel/kernel.o arch/sh/mm/mm.o $(CORE_FILES)LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)LIBS := $(TOPDIR)/arch/sh/lib/lib.a $(LIBS) $(TOPDIR)/arch/sh/lib/lib.a \	$(LIBGCC)MAKEBOOT = $(MAKE) -C arch/$(ARCH)/bootvmlinux: arch/sh/vmlinux.ldsarch/sh/vmlinux.lds: arch/sh/vmlinux.lds.S FORCE	$(CPP) -traditional -C -P -I$(HPATH) -Ush arch/sh/vmlinux.lds.S >arch/sh/vmlinux.ldsFORCE: ;zImage: vmlinux	@$(MAKEBOOT) zImagecompressed: zImagezdisk: vmlinux	@$(MAKEBOOT) zdiskarchclean:	@$(MAKEBOOT) clean	$(MAKE) -C arch/$(ARCH)/kernel clean#	$(MAKE) -C arch/$(ARCH)/tools cleanarchmrproper:	rm -f arch/sh/vmlinux.ldsarchdep:	@$(MAKEBOOT) dep

⌨️ 快捷键说明

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