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.
I have modified my kernel configuration (*.cfg) to use the following:
BIOS.libType = BIOS_LibType_Custom;
How can I relocate or rename the generated 'src' sub-directory when I build the kernel?
By default, when using the BIOS.LibType_Custom (or BIOS.LibType_Debug beginning with SYS/BIOS 6.35), SYS/BIOS will create a directory named 'src/' and a sub-directory named 'sysbios/' within the application's project directory as a build area for the custom SYS/BIOS library. Similarly, IPC will build its custom ti.sdo.ipc and/or ti.sdo.utils libraries in sub-directories named 'ipc/' and 'utils/' respectively.
For users who need to change the default 'src/' root directory, the following steps guide you to change the customer libraries root directory from 'src/' to 'libs/'.
BIOS.libDir = "../../libs";
var ipcBuild = xdc.useModule('ti.sdo.ipc.Build')
ipcBuild.libDir = BIOS.libDir;
var utilsBuild = xdc.useModule('ti.sdo.utils.Build')
utilsBuild.libDir = BIOS.libDir;
CFG_SRCDIR = ../src
CFG_SRCDIR = ../libs
After the following steps, no further writes to the 'src/' directory will occur. At this point, you may manually delete the old 'src/' folder.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.