config/companion_libs/ppl.in
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
parent 2957 3e2f2100a76d
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
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@2957
    11
    prompt "0.11.2"
yann@2368
    12
    select PPL_0_11
yann@2338
    13
yann@2318
    14
config PPL_V_0_11_1
yann@2318
    15
    bool
yann@2957
    16
    prompt "0.11.1"
yann@2368
    17
    select PPL_0_11
yann@2318
    18
yann@2072
    19
config PPL_V_0_11
yann@2072
    20
    bool
yann@2957
    21
    prompt "0.11"
yann@2368
    22
    select PPL_0_11
yann@2072
    23
yann@1324
    24
config PPL_V_0_10_2
yann@1324
    25
    bool
yann@1324
    26
    prompt "0.10.2"
yann@3135
    27
    select PPL_NEEDS_FPERMISSIVE
yann@1324
    28
yann@1324
    29
endchoice
yann@1324
    30
yann@1324
    31
config PPL_VERSION
yann@1324
    32
    string
yann@1535
    33
# Don't remove next line
yann@1535
    34
# CT_INSERT_VERSION_STRING_BELOW
yann@2338
    35
    default "0.11.2" if PPL_V_0_11_2
yann@2318
    36
    default "0.11.1" if PPL_V_0_11_1
yann@2072
    37
    default "0.11" if PPL_V_0_11
yann@1324
    38
    default "0.10.2" if PPL_V_0_10_2
yann@2368
    39
yann@3135
    40
# For PPL 0.10, we need -fpermissive to build on gcc 4.7+
yann@3135
    41
# (even gcc-4.6+ ?)
yann@3135
    42
config PPL_NEEDS_FPERMISSIVE
yann@3135
    43
    bool
yann@3135
    44
yann@2368
    45
# For PPL 0.11, we need to pull libpwl if configured static
yann@2368
    46
config PPL_0_11
yann@2368
    47
    bool
yann@2368
    48
    select PPL_NEEDS_LIBPWL if ! COMPLIBS_SHARED
yann@2368
    49
yann@2368
    50
config PPL_NEEDS_LIBPWL
yann@2368
    51
    bool