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?
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 = ../srcwith the following
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.