makefile.bak
来自「用于TM1300/PNX1300系列DSP(主要用于视频处理)的flash文件系」· BAK 代码 · 共 54 行
BAK
54 行
## creation of flash file system#EXAMPLES = $(TCS)/examples## As defined, the flash simulator will be linked.# For the real flash, a user will have to make # the following changes:# - if a Board Support Package exists and it is not # linked in by default, a defintion to BSP must be# added.# - if a BSP is linked into the executable then BOARD# and FLASH_SPECIFIC set to nothing.# - if no BSP is linked but a Flash Driver exists,# then BOARD and FLASH_SPECIFIC should be set to point# to the specific flash driver.# - Change the definigion of HOST to match the# required host mode.# Below is an example of the changes made when using a# TTR Board.##BSP = $(TCS)/lib/$(ENDIAN)/libBSPdtv_ttr.o#BOARD = #FLASH_SPECIFIC =#HOST = nohost#BSP = FLASH_SPECIFIC = $(EXAMPLES)/flash_file_system/sample_drivers/FlashSpecific$(BOARD).cBOARD = SimHOST = tmsimENDIAN = el# ERROR_RATE only used with tmsimERROR_RATE = 0CFLAGS = -DERROR_RATE=$(ERROR_RATE)mkfs.out: CHECK mkfs.c $(FLASH_SPECIFIC) $(TCS)/bin/tmcc $(CFLAGS) -host $(HOST) -$(ENDIAN) $(FLASH_SPECIFIC) -o $@ \ $(BSP) mkfs.c -lioCHECK: @if [ x$(TCS) = x ]; then \ echo "Usage: make TCS=<path>"; false; \ ficlean: rm -rf mkfs.out *.o
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?