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

📄 makefile

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻
字号:
## arch/i386/boot/Makefile## 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) 1994 by Linus Torvalds#BOOT_INCL =	$(TOPDIR)/include/linux/config.h \		$(TOPDIR)/include/linux/autoconf.h \		$(TOPDIR)/include/asm/boot.hzImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build	$(OBJCOPY) compressed/vmlinux compressed/vmlinux.out	tools/build bootsect setup compressed/vmlinux.out $(ROOT_DEV) > zImagebzImage: $(CONFIGURE) bbootsect bsetup compressed/bvmlinux tools/build	$(OBJCOPY) compressed/bvmlinux compressed/bvmlinux.out	tools/build -b bbootsect bsetup compressed/bvmlinux.out $(ROOT_DEV) > bzImagecompressed/vmlinux: $(TOPDIR)/vmlinux	@$(MAKE) -C compressed vmlinuxcompressed/bvmlinux: $(TOPDIR)/vmlinux	@$(MAKE) -C compressed bvmlinuxzdisk: $(BOOTIMAGE)	dd bs=8192 if=$(BOOTIMAGE) of=/dev/fd0zlilo: $(CONFIGURE) $(BOOTIMAGE)	if [ -f $(INSTALL_PATH)/vmlinuz ]; then mv $(INSTALL_PATH)/vmlinuz $(INSTALL_PATH)/vmlinuz.old; fi	if [ -f $(INSTALL_PATH)/System.map ]; then mv $(INSTALL_PATH)/System.map $(INSTALL_PATH)/System.old; fi	cat $(BOOTIMAGE) > $(INSTALL_PATH)/vmlinuz	cp $(TOPDIR)/System.map $(INSTALL_PATH)/	if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fiinstall: $(CONFIGURE) $(BOOTIMAGE)	sh -x ./install.sh $(KERNELRELEASE) $(BOOTIMAGE) $(TOPDIR)/System.map "$(INSTALL_PATH)"tools/build: tools/build.c	$(HOSTCC) $(HOSTCFLAGS) -o $@ $< -I$(TOPDIR)/includebootsect: bootsect.o	$(LD) -Ttext 0x0 -s -oformat binary -o $@ $<bootsect.o: bootsect.s	$(AS) -o $@ $<bootsect.s: bootsect.S Makefile $(BOOT_INCL)	$(CPP) $(CPPFLAGS) -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@bbootsect: bbootsect.o	$(LD) -Ttext 0x0 -s -oformat binary $< -o $@bbootsect.o: bbootsect.s	$(AS) -o $@ $<bbootsect.s: bootsect.S Makefile $(BOOT_INCL)	$(CPP) $(CPPFLAGS) -D__BIG_KERNEL__ -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@setup: setup.o	$(LD) -Ttext 0x0 -s -oformat binary -e begtext -o $@ $<setup.o: setup.s	$(AS) -o $@ $<setup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h $(TOPDIR)/include/linux/compile.h	$(CPP) $(CPPFLAGS) -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@bsetup: bsetup.o	$(LD) -Ttext 0x0 -s -oformat binary -e begtext -o $@ $<bsetup.o: bsetup.s	$(AS) -o $@ $<bsetup.s: setup.S video.S Makefile $(BOOT_INCL) $(TOPDIR)/include/linux/version.h $(TOPDIR)/include/linux/compile.h	$(CPP) $(CPPFLAGS) -D__BIG_KERNEL__ -traditional $(SVGA_MODE) $(RAMDISK) $< -o $@dep:clean:	rm -f tools/build	rm -f setup bootsect zImage compressed/vmlinux.out	rm -f bsetup bbootsect bzImage compressed/bvmlinux.out	@$(MAKE) -C compressed clean

⌨️ 快捷键说明

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