Project

General

Profile

« Previous | Next » 

Revision 3154be54

Added by Renato Botelho over 8 years ago

Simplify TARGET and TARGET_ARCH initialization

View differences:

tools/builder_defaults.sh
55 55
export ASSUME_ALWAYS_YES=true
56 56

  
57 57
# Architecture
58
export TARGET=${TARGET:-"`uname -m`"}
59
export TARGET_ARCH=${TARGET_ARCH:-${TARGET}}
60
# Set TARGET_ARCH_CONF_DIR
61
if [ "$TARGET_ARCH" = "" ]; then
62
        export TARGET_ARCH=`uname -p`
63
fi
58
export TARGET=${TARGET:-"$(uname -m)"}
59
export TARGET_ARCH=${TARGET_ARCH:-"$(uname -p)"}
64 60

  
65 61
# Directory to be used for writing temporary information
66 62
export SCRATCHDIR=${SCRATCHDIR:-"${BUILDER_ROOT}/tmp"}

Also available in: Unified diff