installdir = "${datadir}/ti"

export TOOLCHAIN_PATH ?= "${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_SYS}"

# This is where do_install will put it
export CE_INSTALL_DIR_RECIPE           = "${installdir}/ti-codec-engine-tree"
export CODEC_INSTALL_DIR_RECIPE        = "${installdir}/ti-codecs-tree"
export CODEGEN_ARM_INSTALL_DIR_RECIPE  = "${installdir}/ti-cgt470-tree"
export CG_XML_INSTALL_DIR_RECIPE       = "${installdir}/ti-cg-xml-tree"
export DSPLIB_C66_INSTALL_DIR_RECIPE   = "${installdir}/ti-dsplib-c66x-tree"
export DSPLIB_C674_INSTALL_DIR_RECIPE  = "${installdir}/ti-dsplib-c674x-tree"
export DSPLIB_C64P_INSTALL_DIR_RECIPE  = "${installdir}/ti-dsplib-c64p-tree"
export EDMA3_LLD_INSTALL_DIR_RECIPE    = "${installdir}/ti-edma3lld-tree"
export FC_INSTALL_DIR_RECIPE           = "${installdir}/ti-framework-components-tree"
export GCC_ARM_NONE_TOOLCHAIN_RECIPE   = "${installdir}/gcc-arm-none-eabi"
export IMGLIB_C66_INSTALL_DIR_RECIPE   = "${installdir}/ti-imglib-c66x-tree"
export IPC_INSTALL_DIR_RECIPE          = "${installdir}/ti-ipc-tree"
export M4_TOOLCHAIN_INSTALL_DIR_RECIPE = "${installdir}/ti-cgt-arm"
export MATHLIB_C66_INSTALL_DIR_RECIPE  = "${installdir}/ti-mathlib-c66x-tree"
export MATHLIB_C674_INSTALL_DIR_RECIPE = "${installdir}/ti-mathlib-c674x-tree"
export MPM_INSTALL_DIR_RECIPE          = "${installdir}/ti-mpm-tree"
export OMP_INSTALL_DIR_RECIPE          = "${installdir}/ti-omp-tree"
export PDK_INSTALL_DIR_RECIPE          = "${installdir}/ti-pdk-tree"
export SYSBIOS_INSTALL_DIR_RECIPE      = "${installdir}/ti-sysbios-tree"
export SWTOOLS_INSTALL_DIR_RECIPE      = "${installdir}/ti-swtools-tree"
export TI_CGT_PRU_INSTALL_DIR_RECIPE   = "${installdir}/cgt-pru"
export TI_CGT6X_7_INSTALL_DIR_RECIPE   = "${installdir}/cgt6x-7"
export TI_CGT7X_INSTALL_DIR_RECIPE     = "${installdir}/cgt-c7x"
export VLIB_C66_INSTALL_DIR_RECIPE     = "${installdir}/ti-vlib-c66x-tree"
export XDAIS_INSTALL_DIR_RECIPE        = "${installdir}/ti-xdais-tree"
export XDC_INSTALL_DIR_RECIPE          = "${installdir}/ti-xdctools-tree"

# This is where the tools will end up in sysroot
export CE_INSTALL_DIR           = "${STAGING_DIR_TARGET}${CE_INSTALL_DIR_RECIPE}"
export CODEGEN_ARM_INSTALL_DIR  = "${STAGING_DIR_TARGET}${CODEGEN_ARM_INSTALL_DIR_RECIPE}"
export CG_XML_INSTALL_DIR       = "${STAGING_DIR_NATIVE}${CG_XML_INSTALL_DIR_RECIPE}"
export DSPLIB_C66_INSTALL_DIR   = "${STAGING_DIR_TARGET}${DSPLIB_C66_INSTALL_DIR_RECIPE}"
export DSPLIB_C674_INSTALL_DIR  = "${STAGING_DIR_TARGET}${DSPLIB_C674_INSTALL_DIR_RECIPE}"
export DSPLIB_C64P_INSTALL_DIR  = "${STAGING_DIR_TARGET}${DSPLIB_C64P_INSTALL_DIR_RECIPE}"
export EDMA3_LLD_INSTALL_DIR    = "${STAGING_DIR_TARGET}${EDMA3_LLD_INSTALL_DIR_RECIPE}"
export FC_INSTALL_DIR           = "${STAGING_DIR_TARGET}${FC_INSTALL_DIR_RECIPE}"
export GCC_ARM_NONE_TOOLCHAIN   = "${STAGING_DIR_NATIVE}${GCC_ARM_NONE_TOOLCHAIN_RECIPE}"
export IMGLIB_C66_INSTALL_DIR   = "${STAGING_DIR_TARGET}${IMGLIB_C66_INSTALL_DIR_RECIPE}"
export IPC_INSTALL_DIR          = "${STAGING_DIR_TARGET}${IPC_INSTALL_DIR_RECIPE}"
export M4_TOOLCHAIN_INSTALL_DIR = "${STAGING_DIR_NATIVE}${M4_TOOLCHAIN_INSTALL_DIR_RECIPE}"
export MATHLIB_C66_INSTALL_DIR  = "${STAGING_DIR_TARGET}${MATHLIB_C66_INSTALL_DIR_RECIPE}"
export MATHLIB_C674_INSTALL_DIR = "${STAGING_DIR_TARGET}${MATHLIB_C674_INSTALL_DIR_RECIPE}"
export MPM_INSTALL_DIR          = "${STAGING_DIR_TARGET}${MPM_INSTALL_DIR_RECIPE}"
export OMP_INSTALL_DIR          = "${STAGING_DIR_TARGET}${OMP_INSTALL_DIR_RECIPE}"
export PDK_INSTALL_DIR          = "${STAGING_DIR_TARGET}${PDK_INSTALL_DIR_RECIPE}"
export SWTOOLS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${SWTOOLS_INSTALL_DIR_RECIPE}"
export SYSBIOS_INSTALL_DIR      = "${STAGING_DIR_TARGET}${SYSBIOS_INSTALL_DIR_RECIPE}"
export TI_CGT_PRU_INSTALL_DIR   = "${STAGING_DIR_NATIVE}${TI_CGT_PRU_INSTALL_DIR_RECIPE}"
export TI_CGT6X_7_INSTALL_DIR   = "${STAGING_DIR_NATIVE}${TI_CGT6X_7_INSTALL_DIR_RECIPE}"
export TI_CGT7X_INSTALL_DIR     = "${STAGING_DIR_NATIVE}${TI_CGT7X_INSTALL_DIR_RECIPE}"
export VLIB_C66_INSTALL_DIR     = "${STAGING_DIR_TARGET}${VLIB_C66_INSTALL_DIR_RECIPE}"
export XDAIS_INSTALL_DIR        = "${STAGING_DIR_TARGET}${XDAIS_INSTALL_DIR_RECIPE}"
export XDC_INSTALL_DIR          = "${STAGING_DIR_NATIVE}${XDC_INSTALL_DIR_RECIPE}"
