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

📄 makefile

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻
字号:
# $Id: Makefile,v 1.10 2000/02/23 08:17:46 jj Exp $# Makefile for the Sparc boot stuff.## Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)# Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz)ROOT_IMG	=/usr/src/root.imgELFTOAOUT	=elftoaoutall: btfix.otftpboot.img: piggyback	$(ELFTOAOUT) $(TOPDIR)/vmlinux -o tftpboot.img	./piggyback tftpboot.img $(TOPDIR)/System.map $(ROOT_IMG)piggyback: piggyback.c	$(HOSTCC) $(HOSTCFLAGS) -o piggyback piggyback.cbtfixupprep: btfixupprep.c	$(HOSTCC) $(HOSTCFLAGS) -o btfixupprep btfixupprep.cclean:	rm -f btfixupprep piggyback tftpboot.img btfix.o btfix.sBTOBJS := $(HEAD) init/main.o init/version.oBTLIBS := $(CORE_FILES_NO_BTFIX) $(FILESYSTEMS) \	$(DRIVERS) $(NETWORKS)# I wanted to make this depend upon BTOBJS so that a parallel# build would work, but this fails because $(HEAD) cannot work# properly as it will cause head.o to be built with the implicit# rules not the ones in kernel/Makefile.  Someone please fix. --DaveMvmlinux.o: dummy	$(LD) -r $(patsubst %,$(TOPDIR)/%,$(BTOBJS)) \		--start-group \		$(patsubst %,$(TOPDIR)/%,$(BTLIBS)) \		$(LIBS) \		--end-group -o vmlinux.obtfix.s: btfixupprep vmlinux.o	$(OBJDUMP) -x vmlinux.o | ./btfixupprep > btfix.sbtfix.o: btfix.s	$(CC) -c -o btfix.o btfix.sinclude $(TOPDIR)/Rules.make

⌨️ 快捷键说明

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