1 | #####
|
---|
2 | #
|
---|
3 | # optimization configuration file
|
---|
4 | #
|
---|
5 | #####
|
---|
6 | #
|
---|
7 | #$Id$
|
---|
8 | #
|
---|
9 |
|
---|
10 | #--- Extra flags passed to the packages make commands
|
---|
11 | # "unset" will cause the variable to be not set
|
---|
12 | # instead of just set to null.
|
---|
13 | MAKEFLAGS="-j3"
|
---|
14 |
|
---|
15 | #--- List of packages that have issues with jobs control.
|
---|
16 | # This list may be different for you.
|
---|
17 | # If your MAKEFLAGS don't contains a -jX option, you can set
|
---|
18 | # a empty list here.
|
---|
19 | BLACK_LIST="attr autoconf coreutils dejagnu gettext gperf groff man-db vim"
|
---|
20 | # Rationale for attr, coreutils, gperf: the tests do not pass with -jX
|
---|
21 | # CLFS packages
|
---|
22 | BLACK_LIST="$BLACK_LIST libee"
|
---|
23 |
|
---|
24 | #--- Default optimization mode
|
---|
25 | # This mode is overridden by definitions in opt_override;
|
---|
26 | # in this way, packages can be tuned independently. For example,
|
---|
27 | # if you have trouble building a package in the mode set here, add
|
---|
28 | # the package to opt_override with a different mode.
|
---|
29 | #
|
---|
30 | # Not set here combined modes of form defOpt_myMode.
|
---|
31 | # Combined modes of form modeA_modeB can be set here.
|
---|
32 | DEF_OPT_MODE=O2pipe
|
---|
33 |
|
---|
34 |
|
---|
35 | #--- Active optimization variables
|
---|
36 | # Variables listed here will be set as defined in the appropriate
|
---|
37 | # file in opt_config.d/; others will be ignored.
|
---|
38 | ACTIVE_OPT_VARS="CFLAGS CXXFLAGS LDFLAGS \
|
---|
39 | OTHER_CFLAGS OTHER_CXXFLAGS OTHER_LDFLAGS"
|
---|
40 |
|
---|
41 | #--- Load optimization modes
|
---|
42 | # To add modes, create a working template..
|
---|
43 | # cp opt_config.d/O3pipe opt_config.d/newMode
|
---|
44 | # ..and edit it as desired.
|
---|
45 | #
|
---|
46 | # To inherit another mode and add to it, see opt_config.d/O3pipe_march
|
---|
47 | # or opt_config.d/defOpt_fPIC as examples for two different ways of
|
---|
48 | # doing it. Given opt_config.d/modeA_modeB_modeC, modeB inherits
|
---|
49 | # the optimizations of modeA by sourcing it, and modeC inherits those
|
---|
50 | # of modeB (which includes those of modeA).
|
---|
51 | #
|
---|
52 | # Add packages that are to use this mode to opt_override with:
|
---|
53 | # echo 'myPkg newMode' >> opt_override
|
---|
54 | for mode in optimize/opt_config.d/* ; do
|
---|
55 | source $mode
|
---|
56 | done
|
---|