view config @ 585:dd03aa5996e6

Two more $ARCH->$ARCH_NAME changes for hw- targets, add another example to config, and make hw-wrt610n build.
author Rob Landley <rob@landley.net>
date Tue, 13 Jan 2009 18:35:25 -0600
parents 5619a7375b74
children 5fa326c07bc4
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 CROSS_BUILD_STATIC=1

# This may be set by the target's "details" file, but you can override it here.
# You can set it to ext2, initramfs, or squashfs.  It defaults to ext2 if blank.

# export SYSIMAGE_TYPE=ext2

# 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.  (Know what you're doing if
# you select these, it's quite possible the result won't work.)

# export USE_UNSTABLE=uClibc,busybox,toybox,linux,binutils,make,gcc-core,gcc-g++

# Debugging option to leave source in build/temp-$ARCH after build.
# export NO_CLEANUP=1

# 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