diff options
author | Sebastian Schmelzer | 2009-03-05 18:46:59 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2009-03-05 18:46:59 +0100 |
commit | 8bbe999d1f9b94fe43d415149ef7e0771ae3636d (patch) | |
tree | 1e299f7272df45d5840c1e2c3cb02a30e26461f6 /tools | |
parent | RTC fix, see ticket #383 ... (diff) | |
download | core-8bbe999d1f9b94fe43d415149ef7e0771ae3636d.tar.gz core-8bbe999d1f9b94fe43d415149ef7e0771ae3636d.tar.xz core-8bbe999d1f9b94fe43d415149ef7e0771ae3636d.zip |
* added uclibc-wrapper
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2679 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/uclibc-wrapper | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/uclibc-wrapper b/tools/uclibc-wrapper new file mode 100755 index 00000000..b722ddc9 --- /dev/null +++ b/tools/uclibc-wrapper @@ -0,0 +1,13 @@ +#!/bin/bash + +SLX_PATH=/opt/openslx/share +SLX_UCLIB_PATH=$SLX_PATH/uclib-rootfs + +[ -f $SLX_PATH ] || echo "Can't find OpenSLX Installation.." && exit 1 + +[ -f /lib/ld-uClibc.so.0 ] && ln -sf $SLX_PATH/uclib-rootfs/lib/ld-uClibc.so.0 + + +PATH=$SLX_UCLIB_PATH/bin:$SLX_UCLIB_PATH/usr/bin:$SLX_UCLIB_PATH/sbin:$SLX_UCLIB_PATH/usr/sbin +LD_LIBRARY_PATH=$SLX_UCLIB_PATH/lib:$SLX_UCLIB_PATH/usr/lib +LD_LIBRARY_PATH=$LD_LIBRARY_PATH PATH=$PATH PS1="#" $@ |