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>
yann@1324
     1
# PPL options
yann@1324
     2
yann@1324
     3
choice
yann@1324
     4
    bool
yann@1324
     5
    prompt "PPL version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1324
     8
yann@2338
     9
config PPL_V_0_11_2
yann@2338
    10
    bool
yann@2338
    11
    prompt "0.11.2 (EXPERIMENTAL)"
yann@2338
    12
    depends on EXPERIMENTAL
yann@2338
    13
yann@2318
    14
config PPL_V_0_11_1
yann@2318
    15
    bool
yann@2318
    16
    prompt "0.11.1 (EXPERIMENTAL)"
yann@2318
    17
    depends on EXPERIMENTAL
yann@2318
    18
yann@2072
    19
config PPL_V_0_11
yann@2072
    20
    bool
yann@2072
    21
    prompt "0.11 (EXPERIMENTAL)"
yann@2072
    22
    depends on EXPERIMENTAL
yann@2072
    23
yann@1324
    24
config PPL_V_0_10_2
yann@1324
    25
    bool
yann@1324
    26
    prompt "0.10.2"
yann@1324
    27
yann@1324
    28
endchoice
yann@1324
    29
yann@1324
    30
config PPL_VERSION
yann@1324
    31
    string
yann@1535
    32
# Don't remove next line
yann@1535
    33
# CT_INSERT_VERSION_STRING_BELOW
yann@2338
    34
    default "0.11.2" if PPL_V_0_11_2
yann@2318
    35
    default "0.11.1" if PPL_V_0_11_1
yann@2072
    36
    default "0.11" if PPL_V_0_11
yann@1324
    37
    default "0.10.2" if PPL_V_0_10_2