diff options
author | root <root@artemis.panaceas.org> | 2013-10-14 19:56:36 +0100 |
---|---|---|
committer | root <root@artemis.panaceas.org> | 2013-10-14 19:56:36 +0100 |
commit | 9ddb6a83a8e0f29876c427be70b5ef3eff665ba9 (patch) | |
tree | 8aee920eac9b9658fffc3025ab712f87487809e0 /tools/wrap | |
download | sdram_test-9ddb6a83a8e0f29876c427be70b5ef3eff665ba9.tar.gz sdram_test-9ddb6a83a8e0f29876c427be70b5ef3eff665ba9.tar.bz2 sdram_test-9ddb6a83a8e0f29876c427be70b5ef3eff665ba9.zip |
fish
Diffstat (limited to 'tools/wrap')
-rwxr-xr-x | tools/wrap | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/wrap b/tools/wrap new file mode 100755 index 0000000..26a0640 --- /dev/null +++ b/tools/wrap @@ -0,0 +1,15 @@ +#!/bin/bash + +AD=/software/apps/altera/quartus_ii_13.0sp1 +if [ $(uname -m ) == "x86_64" ]; then + LL=linux64 +else + LL=linux +fi +QUARTUS_ROOTDIR="${AD}/quartus" +PATH="${AD}/quartus/bin:${AD}/quartus/sopc_builder/bin:${AD}/nios2eds/sdk2/bin:${AD}/nios2eds/bin:${AD}/nios2eds/bin/gnu/H-i686-pc-linux-gnu/bin:${PATH}" +LD_LIBRARY_PATH="${AD}/quartus/${LL}:${LD_LIBRARY_PATH}" + +export LD_LIBRARY_PATH PATH QUARTUS_ROOTDIR + +"$@" |