Merged PASDK 1.2.4 changes. Fixed following bugs:
[processor-sdk/performance-audio-sr.git] / setup_build_env / setup_env.sh
1 #!/bin/bash
3 # Set the following two variables to TI tools and performance-audio installation paths
4 #ti_tools_path=<TI Tools Installation Path>
5 #performance_audio_path=<TI Performance-Adio Installation Path>
7 # Environment variables for PA demo make files
8 export gnu_targets_arm_A15F="${ti_tools_path}/gcc-arm-none-eabi-6-2017-q1-update"
9 export ti_targets_elf_C66="${ti_tools_path}/ti-cgt-c6000_8.2.2"
10 export BIOS_INSTALL_DIR="${ti_tools_path}/bios_6_52_00_12"
11 export XDC_INSTALL_DIR="${ti_tools_path}/xdctools_3_50_03_33_core"
12 export UIA_INSTALL_DIR="${ti_tools_path}/uia_2_21_02_07"
13 export IPC_INSTALL_DIR="${ti_tools_path}/ipc_3_47_02_00"
14 export PDK_INSTALL_DIR="${ti_tools_path}/pdk_k2g_1_0_10"
15 export EDMA3_INSTALL_DIR="${ti_tools_path}/edma3_lld_2_12_05_30C"
16 export XDAIS_INSTALL_DIR="${ti_tools_path}/xdais_7_24_00_04"
17 export DSPLIB_INSTALL_DIR="${ti_tools_path}/dsplib_c66x_3_4_0_0"
18 export PAROOT="${performance_audio_path}/src"
20 # Environment variables for PAF library make files
21 export CG_TOOLS_c66x=${ti_targets_elf_C66}
22 export CG_TOOLS_a15=${gnu_targets_arm_A15F}
23 export BIOSROOT=${BIOS_INSTALL_DIR}
24 export XDCROOT=${XDC_INSTALL_DIR}
25 export IPCROOT=${IPC_INSTALL_DIR}
26 export PDKROOT=${PDK_INSTALL_DIR}
27 export EDMA3LLDROOT=${EDMA3_INSTALL_DIR}
28 export XDAISROOT=${XDAIS_INSTALL_DIR}
29 export DSPLIBROOT=${DSPLIB_INSTALL_DIR}
30 export ROOTDIR="${performance_audio_path}/src/pasrc/paf"
32 export PATH=${XDC_INSTALL_DIR}:$PATH