Build host report is now a function

This commit is contained in:
T. Joseph Carter 2015-02-02 07:37:45 -08:00
parent 158bde99b8
commit e3f874cb11

View File

@ -84,8 +84,15 @@ config_platform() {
export FORMAT_COMPILER_TARGET_ALT="$FORMAT_COMPILER_TARGET"
}
config_log_build_host() {
echo "PLATFORM: ${platform}"
echo "ARCHITECTURE: ${ARCH}"
echo "TARGET: ${FORMAT_COMPILER_TARGET}"
}
config_cpu
config_platform
config_log_build_host
if [ -z "$JOBS" ]; then
if command -v nproc >/dev/null; then
@ -95,12 +102,6 @@ if [ -z "$JOBS" ]; then
fi
fi
echo "PLATFORM: $platform"
echo "ARCHITECTURE: $ARCH"
echo "TARGET: $FORMAT_COMPILER_TARGET"
#if uncommented, will fetch repos with read+write access. Useful for committers
#export WRITERIGHTS=1