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

📄 makefile

📁 根据添加了fs2410平台的arch目录
💻
字号:
## linux/arch/etrax100/boot/compressed/Makefile## create a compressed vmlinux image from the original vmlinux files and romfs#ifndef TOPDIRTOPDIR = ../../../..HPATH = $(TOPDIR)/includeexport HPATHendifCC = gcc-cris -melf -I $(TOPDIR)/includeCFLAGS = -O2LD = ld-crisOBJCOPY = objcopy-crisOBJECTS = head.o misc.o# files to compressSYSTEM = $(TOPDIR)/vmlinux.binall: vmlinuzdecompress.bin: $(OBJECTS)	$(LD) -T decompress.ld -o decompress.o $(OBJECTS)	$(OBJCOPY) -O binary --remove-section=.bss decompress.o decompress.bin# save it for mkprod in the topdir.	cp decompress.bin $(TOPDIR)vmlinuz: piggy.img decompress.bin	cat decompress.bin piggy.img > vmlinuz	rm -f piggy.imghead.o: head.S	$(CC) -D__ASSEMBLY__ -traditional -c head.S -o head.o# gzip the kernel imagepiggy.img: $(SYSTEM)	cat $(SYSTEM) | gzip -f -9 > piggy.imgclean:	rm -f piggy.img vmlinuz vmlinuz.odepend:	$(CC) -M *.S *.c > .depend-include .depend

⌨️ 快捷键说明

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