从TI的官网上下了一个PSP_02_10_00_14
里面有许多makefile文件,其中有些makefile文件里面有很多“timake”,以DM36x的NorWriter为例就是“timake $(PROJECTFILE) Debug”,这个是在windows下编译还是在Linux下编译?应该如何配置这个“timake”?
希望TI的专家能给予指点
Chris Meng:
您所的nand writer等工程是CCS工程,需要在CCS下编译的。
Shaquille Wu:
CCS下貌似不能用makefile的吧,或者说这个makefile该怎么用呢?
Tuff Li:
PSP 3.xx可以在Linux下编译,PSP 2.xx只能在CCS下编译,在CCS下打开.pjt工程即可
user3779978:
回复 Tuff Li:
请教下,我这里用的是dvsdk_dm368_4_02_00_06的SDK,但是在LINUX下编译却不过,具体提示信息如下:
[niguanghui@localhost GNU]$ pwd /home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU
[niguanghui@localhost GNU]$ make make -C bc all
make[1]: Entering directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/bc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/bc' make -C genecc all
make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/genecc' make -C sft all
make[1]: Entering directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft' make -C build TYPE=nand
make[2]: Entering directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build' make -C build TYPE=nor make[2]: Entering directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft/build'
make[1]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sft' make -C sfh all
make[1]: Entering directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sfh'
make[1]: gmcs:命令未找到
make[1]: *** [../sfh_DM36x.exe] 错误 127
make[1]: Leaving directory `/home/niguanghui/dvsdk_dm368_4_02_00_06/psp/flash-utils/DM36x/GNU/sfh'
make: *** [all] 错误 2
[niguanghui@localhost GNU]$