add build-tools path
This commit is contained in:
3
build.sh
3
build.sh
@@ -26,6 +26,9 @@ set_vars() {
|
|||||||
# We expect that we're going to be running out of [PROJECT]/meta, so we hop up one directory.
|
# We expect that we're going to be running out of [PROJECT]/meta, so we hop up one directory.
|
||||||
BASEDIR=$(realpath "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")/..")
|
BASEDIR=$(realpath "$(dirname -- "$(realpath -- "${BASH_SOURCE[0]}")")/..")
|
||||||
|
|
||||||
|
# Add build-tools to PATH
|
||||||
|
PATH="${BASEDIR}/prebuilts/build-tools/linux-x86/bin:${PATH}"
|
||||||
|
|
||||||
# Build toolchain locations
|
# Build toolchain locations
|
||||||
CLANGDIR="${BASEDIR}/prebuilts/clang/host/linux-x86/clang-r547379"
|
CLANGDIR="${BASEDIR}/prebuilts/clang/host/linux-x86/clang-r547379"
|
||||||
GCCDIR="${BASEDIR}/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9"
|
GCCDIR="${BASEDIR}/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9"
|
||||||
|
|||||||
Reference in New Issue
Block a user