2012-05-17 07:03:17 +04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
|
2014-09-11 10:58:02 +04:00
|
|
|
# PREFIX is the cross-compiler tools prefix
|
2012-05-17 07:03:17 +04:00
|
|
|
PREFIX=$DIR/local
|
2014-09-11 10:58:02 +04:00
|
|
|
|
|
|
|
# TARGET is the platform triplet
|
2012-05-17 07:03:17 +04:00
|
|
|
TARGET=i686-pc-toaru
|
2014-09-11 10:58:02 +04:00
|
|
|
|
|
|
|
# TOARU_SYSROOT is the system root, which is equivalent to the hard disk
|
2015-03-27 23:24:13 +03:00
|
|
|
export TOARU_SYSROOT=`readlink -f $DIR/../hdd`
|
2014-09-11 10:58:02 +04:00
|
|
|
|
|
|
|
# VIRTPREFIX is where we put stuff from the perspective of the target system
|
|
|
|
# since most build scripts will default to /usr/local and we want just /usr...
|
|
|
|
VIRTPREFIX=/usr
|