annotate config @ 506:defaef66dfae

Get the name right.
author Rob Landley <rob@landley.net>
date Sun, 30 Nov 2008 06:18:12 -0600
parents e4f6da942dbf
children 5619a7375b74
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
399
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 # Setup
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
3 # If this is set, mini-native will include development tools. Without it,
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
4 # the root filesystem just contains uClibc and busybox. (Set it to "headers"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
5 # to include kernel headers if you'd like to add a different toolchain.)
399
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
6
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
7 # This is the only config entry that defaults to "on".
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
8
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
9 export NATIVE_TOOLCHAIN=1
496
3cebbc0b0723 Rename (invert) NATIVE_NOTOOLCHAIN and NATIVE_NOTOOLSDIR, and tweak colors again.
Rob Landley <rob@landley.net>
parents: 485
diff changeset
10 # export NATIVE_TOOLCHAIN=headers
482
3e9d715e4a11 Rename CROSS_BUILD_STATIC, NATIVE_NOTOOLSDIR, NATIVE_NOTOOLCHAIN and make them work properly.
Rob Landley <rob@landley.net>
parents: 430
diff changeset
11
496
3cebbc0b0723 Rename (invert) NATIVE_NOTOOLCHAIN and NATIVE_NOTOOLSDIR, and tweak colors again.
Rob Landley <rob@landley.net>
parents: 485
diff changeset
12 # If this is set, mini-native will built a Linux From Scratch style /tools
3cebbc0b0723 Rename (invert) NATIVE_NOTOOLCHAIN and NATIVE_NOTOOLSDIR, and tweak colors again.
Rob Landley <rob@landley.net>
parents: 485
diff changeset
13 # directory instead of a more conventional filesystem layout in /usr.
482
3e9d715e4a11 Rename CROSS_BUILD_STATIC, NATIVE_NOTOOLSDIR, NATIVE_NOTOOLCHAIN and make them work properly.
Rob Landley <rob@landley.net>
parents: 430
diff changeset
14
496
3cebbc0b0723 Rename (invert) NATIVE_NOTOOLCHAIN and NATIVE_NOTOOLSDIR, and tweak colors again.
Rob Landley <rob@landley.net>
parents: 485
diff changeset
15 # export NATIVE_TOOLSDIR=1
399
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
16
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
17 # If this is set, the build records the command lines run by each build into
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
18 # log files in the build directory, ala "build/cmdlines.$PACKAGENAME"
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
19
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
20 # export RECORD_COMMANDS=1
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
21
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
22 # If this is set, the cross-compiler stage is compiled with --static.
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
23
506
defaef66dfae Get the name right.
Rob Landley <rob@landley.net>
parents: 498
diff changeset
24 # export CROSS_BUILD_STATIC=1
399
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
25
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
26 # If this is set, try downloading packages from this location first.
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
27
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
28 # export PREFERRED_MIRROR=http://landley.net/code/firmware/mirror
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
29
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
30 # If this is set, the toybox utilities will take precedence over busybox ones.
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
31
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
32 # export USE_TOYBOX=1
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
33
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
34 # Try development versions of these packages
4e11cfb255e2 Break config out from include.sh, so environment variables users can edit to affect the build are collected together in one place with nothing else in it.
Rob Landley <rob@landley.net>
parents:
diff changeset
35
430
dd3dd451f526 Default config shouldn't set anything, just show how to set it.
Rob Landley <rob@landley.net>
parents: 399
diff changeset
36 # export USE_UNSTABLE=uClibc,busybox,toybox
485
b0438691e9e1 Move color selection into ./config. (The default colors don't look great on a white background.)
Rob Landley <rob@landley.net>
parents: 482
diff changeset
37
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
38 # If this is set, the output of the various stages will be color coded.
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
39 # export USE_COLOR=1
485
b0438691e9e1 Move color selection into ./config. (The default colors don't look great on a white background.)
Rob Landley <rob@landley.net>
parents: 482
diff changeset
40
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
41 if [ ! -z "$USE_COLOR" ]
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
42 then
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
43
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
44 # If you'd like to change colors, do so here.
496
3cebbc0b0723 Rename (invert) NATIVE_NOTOOLCHAIN and NATIVE_NOTOOLSDIR, and tweak colors again.
Rob Landley <rob@landley.net>
parents: 485
diff changeset
45
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
46 # Black background
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
47 export BACKGROUND_COLOR="\e[40m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
48
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
49 export DOWNLOAD_COLOR="$BACKGROUND_COLOR\e[34m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
50 export HOST_COLOR="$BACKGROUND_COLOR\e[37m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
51 export CROSS_COLOR="$BACKGROUND_COLOR\e[33m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
52 export NATIVE_COLOR="$BACKGROUND_COLOR\e[35m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
53 export PACKAGE_COLOR="$BACKGROUND_COLOR\e[36m"
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.
Rob Landley <rob@landley.net>
parents: 496
diff changeset
54 fi