?? makefile
字號:
## 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 + -