makefile

来自「Linux内核源代码 为压缩文件 是<<Linux内核>&gt」· 代码 · 共 49 行

TXT
49
字号
## 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.### Produce a bootimage for the IPSX#  Copyright (C) 2000 Cort Dougan <cort@fsmlabs.com>#.S.s:	$(CPP) $(CFLAGS) $< -o $*.s.S.o:	$(CC) $(CFLAGS) -c $< -o $*.oOBJS = promcon.o char.o serial.8530.o orion.hw.init.o setup.o irq.o int-handler.oall: orionkern.aorionkern.a: $(OBJS) initrd.o #no_initrd.o	$(AR) rcs orionkern.a $(OBJS) initrd.o #no_initrd.o	syncinitrd.c: piggyback ramdisk.image.gz	./piggyback initrd < ramdisk.image.gz > initrd.cpiggyback: piggyback.c	$(HOSTCC) $(HOSTCFLAGS) -o piggyback piggyback.corionboot: orion.ctlpatchapp: patchapp.c	$(HOSTCC) -o $@ $^orion.ctl: patchapp ../../../vmlinux	$(OBJCOPY) -Obinary ../../../vmlinux orion.nosym	./patchapp orion.nosym orion	cp -f orion.bin orion.ctl# Don't build dependencies, this may die if $(CC) isn't gccdep:clean:	rm -f patchapp orion.bin orion.nosym orion.ctl initrd.cdummy:include $(TOPDIR)/Rules.make

⌨️ 快捷键说明

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