summaryrefslogtreecommitdiffstats
path: root/software/wrap.sh
diff options
context:
space:
mode:
authorroot <root@lab.panaceas.james.local>2013-10-10 23:09:05 +0100
committerroot <root@lab.panaceas.james.local>2013-10-10 23:09:05 +0100
commit31ca140f04a6c3188376ed8230f345824f86a313 (patch)
tree26d203c357b91439c61733d6b1f19fc26cc742e0 /software/wrap.sh
parentbb923959acd3b3fd516460f0b1357b30befa7874 (diff)
downloadpong-31ca140f04a6c3188376ed8230f345824f86a313.tar.gz
pong-31ca140f04a6c3188376ed8230f345824f86a313.tar.bz2
pong-31ca140f04a6c3188376ed8230f345824f86a313.zip
first working makefile
Diffstat (limited to 'software/wrap.sh')
-rwxr-xr-xsoftware/wrap.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/software/wrap.sh b/software/wrap.sh
new file mode 100755
index 0000000..4caed0f
--- /dev/null
+++ b/software/wrap.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+AD=/software/apps/altera/quartus_ii_13.0sp1
+LL=linux
+QUARTUS_ROOTDIR="${AD}/quartus"
+PATH="${AD}/quartus/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
+
+"$@"