view config @ 498:e4f6da942dbf

Make colors no longer be the default (adding a guard for the lot of 'em), and tweak NATIVE_TOOLCHAIN setting so it's more clear.
author Rob Landley <rob@landley.net>
date Fri, 28 Nov 2008 14:55:26 -0600
parents 3cebbc0b0723
children defaef66dfae
line wrap: on
line source

# Setup

# If this is set, mini-native will include development tools.  Without it,
# the root filesystem just contains uClibc and busybox.  (Set it to "headers"
# to include kernel headers if you'd like to add a different toolchain.)

# This is the only config entry that defaults to "on".

export NATIVE_TOOLCHAIN=1
# export NATIVE_TOOLCHAIN=headers

# If this is set, mini-native will built a Linux From Scratch style /tools
# directory instead of a more conventional filesystem layout in /usr.

# export NATIVE_TOOLSDIR=1

# If this is set, the build records the command lines run by each build into
# log files in the build directory, ala "build/cmdlines.$PACKAGENAME"

# export RECORD_COMMANDS=1

# If this is set, the cross-compiler stage is compiled with --static.

# export BUILD_STATIC=1

# If this is set, try downloading packages from this location first.

# export PREFERRED_MIRROR=http://landley.net/code/firmware/mirror

# If this is set, the toybox utilities will take precedence over busybox ones.

# export USE_TOYBOX=1

# Try development versions of these packages

# export USE_UNSTABLE=uClibc,busybox,toybox

# If this is set, the output of the various stages will be color coded.
# export USE_COLOR=1

if [ ! -z "$USE_COLOR" ]
then

  # If you'd like to change colors, do so here.

  # Black background 
  export BACKGROUND_COLOR="\e[40m"

  export DOWNLOAD_COLOR="$BACKGROUND_COLOR\e[34m"
  export HOST_COLOR="$BACKGROUND_COLOR\e[37m"
  export CROSS_COLOR="$BACKGROUND_COLOR\e[33m"
  export NATIVE_COLOR="$BACKGROUND_COLOR\e[35m"
  export PACKAGE_COLOR="$BACKGROUND_COLOR\e[36m"
fi