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.

rebuilding pdk_am335x_1_0_17

I have freshly installed pdk_am335x_1_0_17.

I am working on a custom board design and ran into an issue when rebuilding the pdk. I reinstalled the pdk and when I attempt to rebuild it I get the same errors. For reference, I am using the am335x.

If I do the following:

c:\ti\pdk_am335x_1_0_17\packages>gmake clean
c:\ti\pdk_am335x_1_0_17\packages>gmake all

After quite a while I see the following:

gmake[3]: Nothing to be done for 'pdk_dup_apps'.
gmake[3]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake[2]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake[1]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
c:/ti/xdctools_3_55_02_22_core/gmake -C c:/ti/pdk_am335x_1_0_17/packages/ti/build -f makefile_non-buildinfra all PDK_SOC=am335x
gmake[1]: Entering directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
c:/ti/xdctools_3_55_02_22_core/gmake -C c:/ti/pdk_am335x_1_0_17/packages/ti/starterware all_profiles -j1 PLATFORM="am335x-evm"
gmake[2]: Entering directory 'c:/ti/pdk_am335x_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_am335x_1_0_17/packages/ti/starterware'
gmake[1]: *** [makefile_non-buildinfra:185: starterware] Error 2
gmake[1]: Leaving directory 'c:/ti/pdk_am335x_1_0_17/packages/ti/build'
gmake: *** [makefile:97: non-buildinfra_all] Error 2

There is a lot of output, everything seemed ok to this point.

My system is Windows 10.

Any idea how to resolve this?

Regards,

Justin

  • For posterity I was able to solve this. I had to edit the file:

    C:\ti\pdk_am335x_1_0_17\packages\ti\starterware\Makefile.

    Towards the end of the file, I made this edit.

    ifeq ($(OS),Windows_NT)
        # Object clean on Windows
        #CLEAN_RECURSIVE_OBJ=cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a > NUL
        CLEAN_RECURSIVE_OBJ=cmd /C del /s ti\\starterware\\*.o ti\\starterware\\*.a
    else
        # Object clean on Linux
        CLEAN_RECURSIVE_OBJ=find . -name "*.[ao]" -delete
    endif