config/companion_libs/mpc.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Thu May 17 17:56:27 2012 +0200 (2012-05-17)
changeset 2986 c301df1af7cb
parent 2319 ef1c7007dfeb
child 3142 6569f6a9060c
permissions -rw-r--r--
debug/gdb: add option to enable/disable the IPA lib for gdbserver

gdbserver >= 7.2 comes with an optional library to use tracepoints, the
In Process Agent (IPA) library, libinproctrace.so.

Currently, we build gdbserver staticaly, but that breaks the build of
the IPA lib.

Add an option to biuld the IPA lib, but not if statically linking.

Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
yann@1384
     1
# MPC options
yann@1384
     2
yann@1384
     3
choice
yann@1384
     4
    bool
yann@1384
     5
    prompt "MPC version"
yann@1535
     6
# Don't remove next line
yann@1535
     7
# CT_INSERT_VERSION_BELOW
yann@1384
     8
yann@2319
     9
config MPC_V_0_9
yann@2319
    10
    bool
yann@2957
    11
    prompt "0.9"
yann@2319
    12
yann@1985
    13
config MPC_V_0_8_2
yann@1985
    14
    bool
yann@2957
    15
    prompt "0.8.2"
yann@2957
    16
yann@1985
    17
yann@1695
    18
config MPC_V_0_8_1
yann@1695
    19
    bool
yann@1783
    20
    prompt "0.8.1"
yann@1695
    21
yann@1534
    22
config MPC_V_0_7
yann@1534
    23
    bool
yann@1534
    24
    prompt "0.7"
yann@1534
    25
yann@1384
    26
config MPC_V_0_6
yann@1384
    27
    bool
yann@1615
    28
    prompt "0.6 (OBSOLETE)"
yann@1615
    29
    depends on OBSOLETE
yann@1384
    30
yann@1384
    31
endchoice
yann@1384
    32
yann@1384
    33
config MPC_VERSION
yann@1384
    34
    string
yann@1535
    35
# Don't remove next line
yann@1535
    36
# CT_INSERT_VERSION_STRING_BELOW
yann@2319
    37
    default "0.9" if MPC_V_0_9
yann@1985
    38
    default "0.8.2" if MPC_V_0_8_2
yann@1695
    39
    default "0.8.1" if MPC_V_0_8_1
yann@1534
    40
    default "0.7" if MPC_V_0_7
yann@1384
    41
    default "0.6" if MPC_V_0_6