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.

config.importPath for command line build

Hi,

I use ccsv4.1 to build project, and get a makefile and other files like *.mk and *.opt.

Without modifying those files, I am able to build project from command line (gmake all), since there are lots of hard-coded paths in those files, I am trying to get rid of them by setting environment variables C55X_A_DIR, C55X_C_DIR and PATH, now I have the last one:

tconf -b -Dconfig.importPath="C:/Program Files/Texas Instruments/bios_5_41_02_14/packages;" "$<"

Setting PATH for "C:/Program Files/Texas Instruments/bios_5_41_02_14/packages" doesn't help, do you have an idea how to remove this path by configuration ?

Thanks,

Yuhua

  • Yuhua,

    The -Dconfig.importPath is used by DSP/BIOS and contains the references to all included packages and configuration include files (.tci), therefore it is heavily dependent on the tool installed in your system.

    Fortunately when DSP/BIOS is installed it automatically sets the environment variable BIOS_INSTALL_DIR that points to the BIOS base directory - in your case it expands to "C:/Program Files/Texas Instruments/bios_5_41_02_14"

    So, if you want to include this path into your makefile you can simply replace it in the file <subdir.mk>.

    Hope this helps,

    Rafael

  • Thanks Rafael,

    Setting environment variable BIOS_INSTALL_DIR (it was not there before I added) helps, I also added "packages" after it so that the line would be like:

    tconf -b -Dconfig.importPath="$(BIOS_INSTALL_DIR)/packages;" "$<" 

    Just a note: Including this path (C:/Program Files/Texas Instruments/bios_5_41_02_14) into makefile is not what I desired, I want no hard-coded path in makefile or *.mk or *.opt -- because multiple developers may have different BIOS installation paths.

    Yuhua