summaryrefslogtreecommitdiff
path: root/net:osn.sagem/host:osnp1260077/user:hugues/Environment.zsh
blob: 26ddb041df057562e016cd5335861c8760e39e3f (plain)
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
43
44
45
46
47
48
49
50
51
52
53
#--------[ UserDir ]-------------------------------------------------
[ "$LOGNAME" = "g178241" ] && HOME=~hugues

#--------[ Hashes ]-------------------------------------------------
hash -d work=~/Wr0k
hash -d targets=/targets
hash -d tools=~work/t00lz

#--------[ Generic Config ]-----------------------------------------
#eval $(~tools/sagem-script44/set-env.pl 2>/dev/null)
source ~/.env

#--------[ Specific Config ]----------------------------------------

#STLinux 2.2
#export STLINUXRELEASE=${STLINUXRELEASE:-2.2}
#export ST40RELEASE=${ST403RELEASE:-3.1.1_patch1}
#STLinux 2.3
export STLINUXRELEASE=${STLINUXRELEASE:-2.3}
export ST40RELEASE=${ST403RELEASE:-4.1.1}

export STLINUXBASE=/opt/STM/STLinux-$STLINUXRELEASE
export STLINUXROOT=$STLINUXBASE/devkit/sh4/

#export FORGE=http://g178241@forge-urd44.osn.sagem/svn/
export GET_KERNEL_METHOD=svn
#export GET_KERNEL_METHOD=git

export KERNEL_PATH_BASE=~work/Kernel/exports/
export COMP=ARCH=sh\ CROSS_COMPILE=sh4-linux-
export TARGET_PATH=~targets/target


export THIRDPARTYLIBS=~work/3rdparty/lib

export PATH=$PATH:$STLINUXROOT/bin
export PATH=$PATH:$STLINUXBASE/host/bin
export PATH=$PATH:/opt/STM/ST40R$ST40RELEASE/bin
export PATH=~/local/bin:~/local/sbin:$PATH

#--------[ Shared Folders ]-----------------------------------------
hash -d K:=/media/osn01001/Projets_STB
hash -d J:=/media/osn02001/Echanges

# proxy
if cmd_exists tsocks
then
	. tsocks -on
else
	export http_proxy="http://190.99.3.97:3128"
	export ftp_proxy=$http_proxy
fi