comparison configure @ 233:d4176f3f3835

Zap toys/Config.in and instead create generated/Config.in from contents of toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
author Rob Landley <rob@landley.net>
date Sat, 19 Jan 2008 17:08:39 -0600
parents
children 51722949f2cc
comparison
equal deleted inserted replaced
232:cd4d5630c978 233:d4176f3f3835
1 # Toybox configuration file.
2
3 # This sets environment variables used by scripts/make.sh
4
5 # A synonym.
6 [ -z "$CROSS_COMPILE" ] && CROSS_COMPILE="$CROSS"
7
8 [ -z "$CFLAGS" ] && CFLAGS="-Wall -Wundef -Wno-char-subscripts"
9 CFLAGS="$CFLAGS -funsigned-char"
10 [ -z "$OPTIMIZE" ] && OPTIMIZE="-Os -ffunction-sections -fdata-sections -Wl,--gc-sections"
11 [ -z "$CC" ] && CC="${CROSS_COMPILE}gcc"
12 [ -z "$STRIP" ] && STRIP="${CROSS_COMPILE}strip"
13 [ -z "$HOSTCC" ] && HOSTCC=gcc