mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Use config.guess to determine the host tuple
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
96966bf73b
commit
9e361a4cd3
2 changed files with 1478 additions and 1 deletions
2
mk.sh
2
mk.sh
|
@ -13,7 +13,7 @@ BOARD="$1"
|
||||||
BUILDROOT=$(pwd)
|
BUILDROOT=$(pwd)
|
||||||
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
||||||
NUMJOBS=$(grep -e "^processor" /proc/cpuinfo | wc -l)
|
NUMJOBS=$(grep -e "^processor" /proc/cpuinfo | wc -l)
|
||||||
HOSTTUPLE=$(uname -m)-$OSTYPE
|
HOSTTUPLE=$($SCRIPTDIR/util/config.guess)
|
||||||
|
|
||||||
TCDIR="$BUILDROOT/$BOARD/toolchain"
|
TCDIR="$BUILDROOT/$BOARD/toolchain"
|
||||||
PKGBUILDDIR="$BUILDROOT/$BOARD/build"
|
PKGBUILDDIR="$BUILDROOT/$BOARD/build"
|
||||||
|
|
1477
util/config.guess
vendored
Executable file
1477
util/config.guess
vendored
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue