makefile.sav
来自「作基于日立公司superh系列微处理器嵌入式操作系统bootloader源代码」· SAV 代码 · 共 33 行
SAV
33 行
CROSS_COMPILE= sh3-linux-CC =$(CROSS_COMPILE)gcc -I.LD =$(CROSS_COMPILE)ldOBJCOPY=$(CROSS_COMPILE)objcopyboot.b: first.bin second.bin cat first.bin second.bin >boot.bfirst.bin: first.exe $(OBJCOPY) -S first.exe -O binary first.binsecond.bin: second.exe $(OBJCOPY) -R .comment -S second.exe -O binary second.binfirst.exe: first.o $(LD) -EL -e start first.o -o first.exe -Ttext 0x8c200000second.exe: second.o string.o $(LD) -T second.lds -EL second.o string.o -o second.exe -Ttext 0x8c201000first.o: first.S $(CC) -O2 -g -ml -m3 -pipe -traditional -c first.Ssecond.o: second.c $(CC) -O2 -g -ml -m3 -Wall -pipe -fpic -c second.cstring.o: string.c $(CC) -O2 -g -ml -m3 -Wall -pipe -fpic -c string.cclean: rm -f *.o boot.b *.exe *.bin
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?