config/companion_libs/ppl.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 28 01:05:18 2011 +0200 (2011-03-28)
changeset 2362 0888065f8c4d
parent 2318 11c21c4c5c51
child 2368 482a006e5b18
permissions -rw-r--r--
cc/gcc: cleanup the _or_later logic

So far, we've had a version always select appropriate _or_later option,
which in turn would select all previous _or_later options.

Because the dependencies on companion libs were cumulative, that was
working OK. But the upcoming 4.6 will no longer depend on libelf, so
we can't keep the cumulative scheme we've been using so far.

Have each release family select the corresponding dependencies, instead
of relying on selecting previous _or_later.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 # PPL options
     2 
     3 choice
     4     bool
     5     prompt "PPL version"
     6 # Don't remove next line
     7 # CT_INSERT_VERSION_BELOW
     8 
     9 config PPL_V_0_11_2
    10     bool
    11     prompt "0.11.2 (EXPERIMENTAL)"
    12     depends on EXPERIMENTAL
    13 
    14 config PPL_V_0_11_1
    15     bool
    16     prompt "0.11.1 (EXPERIMENTAL)"
    17     depends on EXPERIMENTAL
    18 
    19 config PPL_V_0_11
    20     bool
    21     prompt "0.11 (EXPERIMENTAL)"
    22     depends on EXPERIMENTAL
    23 
    24 config PPL_V_0_10_2
    25     bool
    26     prompt "0.10.2"
    27 
    28 endchoice
    29 
    30 config PPL_VERSION
    31     string
    32 # Don't remove next line
    33 # CT_INSERT_VERSION_STRING_BELOW
    34     default "0.11.2" if PPL_V_0_11_2
    35     default "0.11.1" if PPL_V_0_11_1
    36     default "0.11" if PPL_V_0_11
    37     default "0.10.2" if PPL_V_0_10_2