The PATH variable should include the paths for your CodeWarrior tools, shown in the following listing. Toolset represents the name of the folder that contains the command line tools for your build target.
set CWFolder=C:\Freescale\CodeWarrior set PATH=%PATH%;%CWFolder%\MCU\Bin;%CWFolder%\MCU\ARM_Tools\Command_Line_Tools
# use : to separate directory paths export CWFolder=\home\tools\Freescale\CodeWarrior export MWCIncludes=$CWFolder\MCU\ARM_EABI_Support\ewl\EWL_C\Include export MWCIncludes=$MWCIncludes:$CWFolder\MCU\ARM_EABI_Support\ewl\EWL_C++\Include export MWCIncludes=$MWCIncludes:$CWFolder\MCU\ARM_EABI_Support\ewl\EWL_C\Include\sys export MWLibraries=$CWFolder\MCU\ARM_EABI_Support\ewl\lib