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 |
|
---|
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 |
|
---|
18 | #=== Getting packages ===
|
---|
19 | #--- Download the source packages 0(no)/1(yes)
|
---|
20 | GETPKG=0
|
---|
21 |
|
---|
22 | #--- The local repository for packages/file
|
---|
23 | # Used only if GETPKG = 1
|
---|
24 | # Any missing file will be downloaded and archived here,
|
---|
25 | # if the user has the right priviledges.
|
---|
26 | SRC_ARCHIVE=$SRC_ARCHIVE
|
---|
27 |
|
---|
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.
|
---|
30 | SERVER=ftp://ftp.lfs-matrix.net
|
---|
31 |
|
---|
32 | #=== Build options ===
|
---|
33 | #--- Run the makefile at the end 0(no)/1(yes)
|
---|
34 | # In BLFS the Makefile can't be run automatically
|
---|
35 | RUNMAKE=0
|
---|
36 |
|
---|
37 | #--- Optimize the build [0-2]
|
---|
38 | # 0 = no optimization
|
---|
39 | # 1 = optimize chapter06 only
|
---|
40 | # 2 = optimize both chapter05 and chapter06
|
---|
41 | #
|
---|
42 | # Optimization values are set in opt_config and opt_override
|
---|
43 | OPTIMIZE=0
|
---|
44 |
|
---|
45 | #--- Run test suites [0-3]
|
---|
46 | # 0 = none
|
---|
47 | # 1 = only chapter06 Glibc, GCC and Binutils testsuites
|
---|
48 | # (in BLFS, run the package testsuite, if any)
|
---|
49 | # 2 = all chapter06 testsuites
|
---|
50 | # (in BLFS, alias to 1)
|
---|
51 | # 3 = all chapter05 and chapter06 testsuites
|
---|
52 | # (in BLFS, alias to 1)
|
---|
53 | # (in CLFS, alias to 2)
|
---|
54 | TEST=1
|
---|
55 |
|
---|
56 | #--- Run the stripping phases 0(no)/1(yes)
|
---|
57 | STRIP=1
|
---|
58 |
|
---|
59 | #--- page definition for groff letter/A4
|
---|
60 | PAGE=letter
|
---|
61 |
|
---|
62 | #--- set default timezone.
|
---|
63 | TIMEZONE=GMT
|
---|
64 |
|
---|
65 | #--- install the optional vim-lang package 0(no)/1(yes)
|
---|
66 | VIMLANG=1
|
---|
67 |
|
---|
68 | #--- Language information in /etc/profile See <locale -a> for values
|
---|
69 | LANG=$LANG
|
---|
70 | LC_ALL=$LC_ALL # (not used in LFS)
|
---|
71 |
|
---|
72 | #--- Include the keymap in the kernel if defined. Path to the
|
---|
73 | # keymap file relative to /usr/share/kbd/keymaps/
|
---|
74 | # (e.g., i386/qwerty/us.map.gz) or "none"
|
---|
75 | # Not used in LFS
|
---|
76 | KEYMAP=none
|
---|
77 |
|
---|
78 | #=== Variables needed by iterative comparison analysis ===
|
---|
79 | #--- Should some iterative comparison analysis by made? 0(no)/1(yes)
|
---|
80 | COMPARE=0
|
---|
81 |
|
---|
82 | #--- The number of final stage builds to create and compare, min. 2, max. 5
|
---|
83 | ITERATIONS=3
|
---|
84 |
|
---|
85 | #--- Run ICA testing 0(no)/1(yes)
|
---|
86 | RUN_ICA=0
|
---|
87 |
|
---|
88 | #--- Run farce testing 0(no)/1(yes)
|
---|
89 | RUN_FARCE=0
|
---|
90 |
|
---|
91 | #==== INTERNAL VARIABLES ====
|
---|
92 | # Don't edit it unless you know what you are doing
|
---|
93 |
|
---|
94 | #--- Working directories
|
---|
95 | JHALFSDIR=$BUILDDIR/jhalfs
|
---|
96 | LOGDIR=$JHALFSDIR/logs
|
---|
97 |
|
---|
98 | #--- ICA report log directory
|
---|
99 | ICALOGDIR=$LOGDIR/ICA
|
---|
100 |
|
---|
101 | #--- farce report log directory
|
---|
102 | FARCELOGDIR=$LOGDIR/farce
|
---|