toaruos/toolchain/config.sh
Kevin Lange b5fa96e376 Drastic toolchain changes
The build process has been completely restructured to use sysroots.
2014-09-10 23:58:02 -07:00

17 lines
474 B
Bash
Executable File

#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# PREFIX is the cross-compiler tools prefix
PREFIX=$DIR/local
# TARGET is the platform triplet
TARGET=i686-pc-toaru
# TOARU_SYSROOT is the system root, which is equivalent to the hard disk
TOARU_SYSROOT=`readlink -f $DIR/../hdd`
# 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