📄 makefile.unix
字号:
CP = /bin/cpMV = /bin/mvRM = /bin/rmCC = /t/lang/accTCS = /usr/local/tcsTMCC = $(TCS)/bin/tmccTMLD = $(TCS)/bin/tmldTMSIZE = $(TCS)/bin/tmsizeL1ROM = l1romMMIO_BASE = 0xefe00000SDRAM_BASE = 0x0SDRAM_LIMIT = 0x800000TM_FREQ = 100000000ENDIAN = -elL1_CFLAGS = -v $(ENDIAN) -host nohostL1_LDFLAGS = -v $(ENDIAN) -btype boot \ -bdownload __clock_freq_init \ -bdownload __MMIO_base_init \ -bdownload __begin_stack_init \ -exec -start=__startL1_MIFLAGS = -v $(ENDIAN) \ -bdownload __clock_freq_init \ -bdownload __MMIO_base_init \ -bdownload __begin_stack_init \ -mi -exec -start=__start \ -tm_freq $(TM_FREQ) \ -mmio_base $(MMIO_BASE) \ -load=$(SDRAM_BASE),$(SDRAM_LIMIT)# --------------------------------------------------------------------default: l1.out l1.eeproml1start.o: l1start.trees @echo "" @echo making $@ $(RM) -f l1start.t $(CP) l1start.trees l1start.t $(TMCC) -x $(L1_CFLAGS) -c l1start.tl1jtag.o: l1jtag.c @echo "" @echo making $@ $(TMCC) $(L1_CFLAGS) -c l1jtag.cl1.out: l1start.o l1jtag.o @echo "" @echo making $@ $(TMLD) $(L1_LDFLAGS) -o $@ l1start.o l1jtag.o $(TMSIZE) $@l1.mi: l1start.o l1jtag.o @echo "" @echo "making l1 memory image l1.mi" $(TMLD) -o l1.mi $(L1_MIFLAGS) l1start.o l1jtag.o$(L1ROM): l1rom.c @echo "" @echo making $@ $(CC) -o $@ -DSDRAM_BASE=$(SDRAM_BASE) -DSDRAM_LIMIT=$(SDRAM_LIMIT) l1rom.cl1.eeprom: l1.mi $(L1ROM) @echo "" @echo "adding 47 bytes autoboot protocol header and swapping bytes" $(L1ROM) l1.mi# --------------------------------------------------------------------clean: $(RM) -f $(L1ROM) *.o *.t *.i *.s *.eeprom *.out *.mi *.dump
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -