1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-25 20:30:43 +01:00

Use config.guess to determine the host tuple

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-03-24 17:07:47 +01:00
parent 96966bf73b
commit 9e361a4cd3
2 changed files with 1478 additions and 1 deletions

2
mk.sh
View file

@ -13,7 +13,7 @@ BOARD="$1"
BUILDROOT=$(pwd)
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
NUMJOBS=$(grep -e "^processor" /proc/cpuinfo | wc -l)
HOSTTUPLE=$(uname -m)-$OSTYPE
HOSTTUPLE=$($SCRIPTDIR/util/config.guess)
TCDIR="$BUILDROOT/$BOARD/toolchain"
PKGBUILDDIR="$BUILDROOT/$BOARD/build"

1477
util/config.guess vendored Executable file

File diff suppressed because it is too large Load diff