[877cc6a] | 1 | #####
|
---|
| 2 | #
|
---|
| 3 | # common configuration file
|
---|
| 4 | #
|
---|
| 5 | # $Id$
|
---|
| 6 | #####
|
---|
| 7 |
|
---|
| 8 | declare -r SVN="svn://svn.linuxfromscratch.org"
|
---|
| 9 | declare -r LOG=000-masterscript.log
|
---|
| 10 |
|
---|
| 11 | #--- Mount point for the build
|
---|
| 12 | BUILDDIR=/mnt/build_dir
|
---|
| 13 |
|
---|
[7a519f3] | 14 | # Create SBU and disk usage report 0(no)/1(yes)
|
---|
| 15 | # NOTE: requires to have bc installed on the host
|
---|
| 16 | REPORT=1
|
---|
| 17 |
|
---|
[15cad16] | 18 | #=== Getting packages ===
|
---|
| 19 | #--- Download the source packages 0(no)/1(yes)
|
---|
| 20 | GETPKG=0
|
---|
| 21 |
|
---|
[877cc6a] | 22 | #--- The local repository for packages/file
|
---|
[15cad16] | 23 | # Used only if GETPKG = 1
|
---|
[877cc6a] | 24 | # Any missing file will be downloaded and archived here,
|
---|
| 25 | # if the user has the right priviledges.
|
---|
[bd5bf06] | 26 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
[877cc6a] | 27 |
|
---|
[7a519f3] | 28 | # --- Server used if the file isn't found in SRC_ARCHIVE.
|
---|
| 29 | # As a last resort, the file will dowloaded from upstream, if possible.
|
---|
[15cad16] | 30 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
[877cc6a] | 31 |
|
---|
[15cad16] | 32 | #=== Build options ===
|
---|
[877cc6a] | 33 | #--- Run the makefile at the end 0(no)/1(yes)
|
---|
| 34 | RUNMAKE=0
|
---|
| 35 |
|
---|
[1b65a84] | 36 | #--- Optimize the build [0-2]
|
---|
| 37 | # 0 = no optimization
|
---|
| 38 | # 1 = optimize final system only
|
---|
| 39 | # 2 = optimize both temporary tools and final system
|
---|
| 40 | #
|
---|
| 41 | # Optimization values are set in optimize/* files
|
---|
| 42 | OPTIMIZE=0
|
---|
| 43 |
|
---|
[877cc6a] | 44 | #--- Run test suites [0-3]
|
---|
| 45 | # 0 = none
|
---|
| 46 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
| 47 | # 2 = all chapter06 testsuites
|
---|
| 48 | # 3 = all chapter05 and chapter06 testsuites
|
---|
| 49 | # (in CLFS, alias to 2)
|
---|
| 50 | TEST=1
|
---|
| 51 |
|
---|
| 52 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
| 53 | STRIP=1
|
---|
| 54 |
|
---|
| 55 | #--- page definition for groff letter/A4
|
---|
| 56 | PAGE=letter
|
---|
| 57 |
|
---|
| 58 | #--- set default timezone.
|
---|
[5a733a4] | 59 | TIMEZONE=${TZ:-GMT}
|
---|
[877cc6a] | 60 |
|
---|
| 61 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
| 62 | VIMLANG=1
|
---|
| 63 |
|
---|
| 64 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
| 65 | LANG=$LANG
|
---|
| 66 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
| 67 |
|
---|
| 68 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
| 69 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
| 70 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
| 71 | # Not used in LFS
|
---|
| 72 | KEYMAP=none
|
---|
| 73 |
|
---|
[45f82718] | 74 | #=== Variables needed by iterative comparison analysis ===
|
---|
| 75 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
| 76 | COMPARE=0
|
---|
[877cc6a] | 77 |
|
---|
[45f82718] | 78 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
| 79 | ITERATIONS=3
|
---|
[877cc6a] | 80 |
|
---|
[45f82718] | 81 | #--- Run ICA testing 0(no)/1(yes)
|
---|
| 82 | RUN_ICA=0
|
---|
| 83 |
|
---|
| 84 | #--- Run farce testing 0(no)/1(yes)
|
---|
| 85 | RUN_FARCE=0
|
---|
[877cc6a] | 86 |
|
---|
| 87 | #==== INTERNAL VARIABLES ====
|
---|
| 88 | # Don't edit it unless you know what you are doing
|
---|
| 89 |
|
---|
| 90 | #--- Working directories
|
---|
| 91 | JHALFSDIR=$BUILDDIR/jhalfs
|
---|
| 92 | LOGDIR=$JHALFSDIR/logs
|
---|
[45f82718] | 93 |
|
---|
| 94 | #--- ICA report log directory
|
---|
| 95 | ICALOGDIR=$LOGDIR/ICA
|
---|
| 96 |
|
---|
| 97 | #--- farce report log directory
|
---|
| 98 | FARCELOGDIR=$LOGDIR/farce
|
---|