-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.sh
executable file
·37 lines (28 loc) · 1.04 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
#!/bin/bash
#export PATH=$PATH:/home/marc/work/GITS/buildroot/output/host/opt/ext-toolchain/bin
export JUNO_HOME=/home/marc/work/JUNO
export JUNO_SCRIPTS=$JUNO_HOME/scripts
export JUNO_BINS=$JUNO_HOME/bins
export JUNO_KBUILD=$JUNO_HOME/kbuild
export PATH=$PATH:/home/marc/work/opt/gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu/bin
export PATH=$PATH:/home/marc/work/opt
#aarch64 uboot tools
export PATH=$JUNO_HOME/u-boot/build-juno/tools/:$PATH
export ARCH=arm64
export CROSS_COMPILE=aarch64-linux-gnu-
export BL33=$JUNO_HOME/u-boot/u-boot.bin
export BL30=$JUNO_BINS/atf/bl30.bin DEBUG=1
export PLAT=juno
export DEBUG=1
export LOG_LEVEL=50
export INSTALL_MOD_PATH=$JUNO_HOME/buildroot/output/images
alias bd="make -C $JUNO_HOME/kbuild/ -f $JUNO_SCRIPTS/aarch64_nfs.mak build"
alias kprep="mkdir -p $JUNO_KBUILD && make -C $JUNO_HOME/linux -f $JUNO_SCRIPTS/aarch64_nfs.mak config"
if [ -f ~/.gitconfig_BAYLIBRE ]
then
echo "setting RENESAS git ID"
cp ~/.gitconfig_RENESAS ~/.gitconfig
cp ~/.vimrc_JUNO ~/.vimrc
else
echo "baylibre gitconfig missing?"
fi