|
|
|
@ -33,11 +33,14 @@ Vagrant.configure(2) do |config|
@@ -33,11 +33,14 @@ Vagrant.configure(2) do |config|
|
|
|
|
|
# your network. |
|
|
|
|
# config.vm.network "public_network" |
|
|
|
|
|
|
|
|
|
# Virtualbox requires a private network to use NFS |
|
|
|
|
config.vm.network "private_network", type: "dhcp" |
|
|
|
|
|
|
|
|
|
# Share an additional folder to the guest VM. The first argument is |
|
|
|
|
# the path on the host to the actual folder. The second argument is |
|
|
|
|
# the path on the guest to mount the folder. And the optional third |
|
|
|
|
# argument is a set of non-required options. |
|
|
|
|
config.vm.synced_folder ".", "/Firmware" |
|
|
|
|
config.vm.synced_folder ".", "/Firmware", type: "nfs" |
|
|
|
|
|
|
|
|
|
# Provider-specific configuration so you can fine-tune various |
|
|
|
|
# backing providers for Vagrant. These expose provider-specific options. |
|
|
|
@ -85,6 +88,8 @@ Vagrant.configure(2) do |config|
@@ -85,6 +88,8 @@ Vagrant.configure(2) do |config|
|
|
|
|
|
tar -jxf gcc-arm-none-eabi-4_8-2014q3-20140805-linux.tar.bz2 |
|
|
|
|
exportline="export PATH=$HOME/gcc-arm-none-eabi-4_8-2014q3/bin:\$PATH" |
|
|
|
|
if grep -Fxq "$exportline" ~/.profile; then echo nothing to do ; else echo $exportline >> ~/.profile; fi |
|
|
|
|
exportline2="export HEXAGON_TOOLS_ROOT=$HOME/Qualcomm/HEXAGON_Tools/7.2.10/Tools" |
|
|
|
|
if grep -Fxq "$exportline2" ~/.profile; then echo nothing to do ; else echo $exportline2 >> ~/.profile; fi |
|
|
|
|
. ~/.profile |
|
|
|
|
popd |
|
|
|
|
# setup ccache |
|
|
|
|