mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Added TOOLCHAIN_ROOT to .build.config
to add prefix where toolchain is being installed to (primarily used if not using sudo)
This commit is contained in:
parent
17d53bac20
commit
575f055df6
@ -2,6 +2,7 @@ USE_SUDO="sudo"
|
||||
JOBS="10"
|
||||
LINUX_VER="git"
|
||||
BUILD_ROOT="${PWD}"
|
||||
TOOLCHAIN_ROOT=""
|
||||
BUILD_BINUTILS="${BUILD_ROOT}/build-binutils"
|
||||
BUILD_GCC_S1="${BUILD_ROOT}/build-gcc-s1"
|
||||
BUILD_GCC_S2="${BUILD_ROOT}/build-gcc-s2"
|
||||
@ -18,7 +19,6 @@ LIB_HEADER="linux.h"
|
||||
BUILD_LINUX_ARCH=$ARCH
|
||||
BUILD_LINUX="${BUILD_ROOT}/linux-${LINUX_VER}"
|
||||
BUILD_LINUX_HEADERS="${BUILD_ROOT}/build-${TARGET}-linux-headers"
|
||||
PREFIX="/opt/${ARCH}${BITS}${TAG}"
|
||||
PREFIX="${TOOLCHAIN_ROOT}/opt/${ARCH}${BITS}${TAG}"
|
||||
SYSROOT="${PREFIX}/sysroot"
|
||||
PATH="${PREFIX}/bin:${PATH}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user