config/binutils.in
author Daniel Schultze <kinglag@gmail.com>
Thu Jan 16 14:55:23 2014 -0800 (2014-01-16)
changeset 3281 529a71ea091e
parent 3120 f32c0f8ffaa3
permissions -rw-r--r--
libc/glibc: adding patch for glibc-2.10.1 for make-3.82 and later

Make 3.82 broke makefiles that used implicit and explicit rules on the
same line.

This was a undocumented feature that broke many makefiles.

This patch removes the offending rule and replaces it with two separate rules.

Signed-off-by: Daniel Schultze <kinglag@gmail.com>
[yann.morin.1998@free.fr: make it a crosstool-ng patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <CAEsx0Y-PDK7g6XanR=GRWT-8efMX=qAuB4Ub7wakF5sH=tQGxA@mail.gmail.com>
Patchwork-Id: 311876
yann@1345
     1
# Binary utilities menu
yann@1
     2
yann@1345
     3
menu "Binary utilities"
yann@1
     4
yann@1
     5
choice
yann@1
     6
    bool
yann@1345
     7
    prompt "Binary format:"
yann@1
     8
yann@1345
     9
config ARCH_BINFMT_ELF
yann@1
    10
    bool
yann@1345
    11
    prompt "ELF"
diorcet@3120
    12
    depends on ARCH_USE_MMU || BARE_METAL
yann@1345
    13
    help
antony@2564
    14
      This will make your system build ELF executables,
yann@1345
    15
      suitable for architectures with an MMU.
yann@1
    16
yann@1345
    17
config ARCH_BINFMT_FLAT
yann@1
    18
    bool
yann@1345
    19
    prompt "Flat"
diorcet@3120
    20
    depends on ! ARCH_USE_MMU
yann@1345
    21
    help
yann@1345
    22
      This will build flat binaries, suitable for
yann@1345
    23
      MMU-less architectures.
yann@1
    24
thomas@1887
    25
config ARCH_BINFMT_FDPIC
thomas@1887
    26
    bool
thomas@1887
    27
    prompt "FD_PIC ELF"
diorcet@3120
    28
    depends on ! ARCH_USE_MMU
thomas@1887
    29
    help
thomas@1887
    30
      This will build FD_PIC ELF binaries, suitable for
thomas@1887
    31
      MMU-less architectures that still require to use
thomas@1887
    32
      shared libraries (FIXME).
yann@1
    33
yann@1
    34
endchoice
yann@1
    35
diorcet@3123
    36
config BINUTILS
diorcet@3123
    37
    string
diorcet@3123
    38
diorcet@3123
    39
source "config.gen/binutils.in"
diorcet@3123
    40
source "config.gen/binutils.in.2"
yann@458
    41
yann@1
    42
endmenu