-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
42 lines (29 loc) · 1.21 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
export TARGET=arc-snps-linux-gnu
export ARC_VERSION=hs
#export ARC_VERSION=700
export ELF_TOOLCHAIN=n
export UCLIBC_TOOLCHAIN=n
export GLIBC_TOOLCHAIN=y
export ENDIANESS=little #big
export BUILDROOT_ENVIRONEMNT=nsimosci
#export BUILDROOT_DEFCONFIG=snps_axs10x_defconfig
export BUILDROOT_DEFCONFIG=snps_nsimosci_${ARC_VERSION}_defconfig
export ARC_TEST_ADDR_UCLIBC=localhost
export JOBS=4
export NSIM_HOME=/home/cmiranda/projects/nsim/r527271/nSIM_64
export PATH=/home/cmiranda/projects/nsim/r527271/nSIM_64/bin:$PATH
export TC_BOARD_SERVER_IP=nl20droid2:6969
export IMAGE_LOCATION=workspace/build/buildroot_snps_axs103_defconfig/images/uImage
# ------------- DONT CHANGE BELOW THIS LINE -------------------
export CURRENT_PATH=`pwd`
export WORKSPACE_DIR=${CURRENT_PATH}/workspace
export SOURCE_DIR=${CURRENT_PATH}/source
export BUILD_DIR=${WORKSPACE_DIR}/build
export INSTALL_DIR=${CURRENT_PATH}/install
export PATH=${INSTALL_DIR}/bin:${PATH}
export DEJAGNU=${SOURCE_DIR}/toolchain/site.exp
export ARC_MULTILIB_OPTIONS=archs
export ARC_NSIM_OPTS="-p nsim_isa_code_density_option=2"
export SYSROOT_DIR=${INSTALL_DIR}/arc-snps-linux-gnu/sysroot
export USE_NEWLIB=0
export CONFIGURATION_OPTIONS="--disable-multilib --disable-threads"