summaryrefslogtreecommitdiff
path: root/config/binutils/binutils.in
blob: eb4061d1fd10a748bbaf654b62a0ce6f19fee122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# binutils options

comment "GNU binutils"

choice
    bool
    prompt "binutils version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW

config BINUTILS_V_2_19_1
    bool
    prompt "2.19.1"

config BINUTILS_V_2_19
    bool
    prompt "2.19"

config BINUTILS_V_2_18
    bool
    prompt "2.18"

config BINUTILS_V_2_17
    bool
    prompt "2.17"

config BINUTILS_V_2_16_1
    bool
    prompt "2.16.1"

endchoice

config BINUTILS_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "2.19.1" if BINUTILS_V_2_19_1
    default "2.19" if BINUTILS_V_2_19
    default "2.18" if BINUTILS_V_2_18
    default "2.17" if BINUTILS_V_2_17
    default "2.16.1" if BINUTILS_V_2_16_1

config BINUTILS_EXTRA_CONFIG
    string
    prompt "binutils extra config"
    default ""
    help
      Extra flags passed onto ./configure when configuring

config BINUTILS_FOR_TARGET
    bool
    prompt "binutils libraries for the target"
    depends on ! BARE_METAL
    default n
    help
      Some utilities may need binutils libraries to be available on
      the target, eg. oprofile.

if BINUTILS_FOR_TARGET

config BINUTILS_FOR_TARGET_IBERTY
    bool
    prompt "libiberty"
    default y

config BINUTILS_FOR_TARGET_BFD
    bool
    prompt "libbfd"
    default y

endif # BINUTILS_FOR_TARGET