This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi I am rebuilding the PDK with
gmake clean
gmake LIMIT_BOARDS="idkAM437x" (also tried gmake all)
while it works ok with version 16 or older , with pdk 17 I get the following error
C:/ti/xdctools_3_55_02_22_core/gmake -C C:/ti/pdk_am437x_1_0_17/packages/ti/starterware all_profiles -j1 PLATFORM="am43xx-evm"
gmake[2]: Entering directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/starterware'
cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
The system cannot find the path specified.
gmake[2]: *** [Makefile:203: bootloaders_all_bootmodes_profiles] Error 1
gmake[2]: Leaving directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/starterware'
gmake[1]: *** [makefile_non-buildinfra:185: starterware] Error 2
gmake[1]: Leaving directory 'C:/ti/pdk_am437x_1_0_17/packages/ti/build'
gmake: *** [makefile:97: non-buildinfra_all] Error 2
any idea what am I doing wrong ?
Hi,
Did you follow the instructions here?
I'll see if I can reproduce the problem if I follow these instructions.
Regards,
Frank
Hi Frank,
thanks for your help
I have rebuild the PDK several times in the past
with
pdksetupenv.bat
and than gmake clean and gmake all
and indeed it works with older xxx16 version
but from some reason it does not work with xxx17 version
does the fat that I have a few pdk (and rtos) versions under c:\ti has anything to do with it ?
Hi,
I encountered the same problem on PDK 1.0.17:
R://xdctools_3_55_02_22_core/gmake -C R:/pdk_am437x_1_0_17/packages/ti/starterware all_profiles -j1 PLATFORM="am43xx-evm"
gmake[2]: Entering directory 'R:/pdk_am437x_1_0_17/packages/ti/starterware'
cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
The system cannot find the path specified.
I don't know yet what's causing the problem. I'll investigate further and get back with you.
Regards,
Frank
Hi,
It appears there is a bug in the Starterware make file for the Windows build platform.
The Starterware make file (<PDK>\packages\ti\starterware\Makefile) was updated between PDK 1.0.16 and 1.0.17. From what I can determine, the build failure occurs in these newly added lines in the make file:
ifeq ($(OS),Windows_NT)
# Object clean on Windows
CLEAN_RECURSIVE_OBJ=cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
The failure occurs because the command is invoked from <PDK>\packages\ti\starterware, and the del command can't locate the folder "ti\starterware". The del executes successfully if I manually execute it from <PDK>\packages. As an experiment, I updated the make file as follows:
ifeq ($(OS),Windows_NT)
# Object clean on Windows
CLEAN_RECURSIVE_OBJ=cmd /C del /s .\\*.o .\\*.a > NUL
Can you please try this and see if it resolves the problem?
I'll file a bug report to get this fixed.
Regards,
Frank