Commit Graph

38 Commits

Author SHA1 Message Date
Alexey Neyman
d1910b945b Restrict flat format to architectures that support it
Fixes #878

Signed-off-by: Alexey Neyman <stilor@att.net>
2018-12-01 15:08:46 -08:00
Alexey Neyman
ff0a1a3da6 Switch gen-kconfig to new framework
Also:
- Move companion_* to comp_* to match the kconfig symbols
- Replace bootstrap with former gen-versions.sh
- Fold *.in.2 into their respective first parts; this moves common
  options to the end - if it is undesirable, inclusion of *.in
  can be moved where *.in.2 used to be (but that will also move
  version selection after common options).
- Retire addToolVersion.sh (may later replace with a more
  comprehensive script that tries to download the added tarballs,
  copy the patches and try to apply them, and create a version.desc).

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
567277099a Fix the references to old config variables
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-07-08 10:57:56 -07:00
Alexey Neyman
105e4b59b7 Get rid of config.gen
Instead, prepare the files as a part of bootstrap and install them.
This avoids rebuilding these files in each working directory; they
don't change anyway as they are generated from the same installed
source.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-04-22 18:41:50 -07:00
Yann Diorcet
9705ec34cf binutils: introduce the infrastructure to support binutils alternatives
Rework binutils in order to provide soon binutils alternative.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
2012-11-19 11:21:31 +01:00
Yann Diorcet
7b7f7e4db2 binutils: cleanup ELF/FLAT/FDPIC dependencies
In preparation of adding a new kernel-type, Yann D. came up
with a cleanup pass on the ELF/FLAT/FDPIC dependencies.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
[yann.morin.1998@free.fr: split up original patch for self-contained changes]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <d3d1d51f399e6d2c1163.1353320546@macbook-smorlat.local>
Patchwork-Id: 199971
2012-11-19 21:39:58 +01:00
Yann Diorcet
ba31ed29c4 binutils/sstrip: remove
sstrip has been obsoleted for a while now, as it's still broken
for some archs, and there seems to be no incentive to fix it
upstream. Besides, the space gained with sstrip is marginal at
best.

Signed-off-by: Yann Diorcet <diorcet.yann@gmail.com>
Message-Id: <65c8bf534d0647ce52cd.1353320545@macbook-smorlat.local>
Patchwork-Id: 199970
2012-11-19 11:19:54 +01:00
Yann E. MORIN"
c009897aee misc: fix more typos here and there...
Reported-by: "Antony N. Pavlov" <antony@niisi.msk.ru>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-07-17 16:53:40 +02:00
Yann E. MORIN"
820f877df0 binutils: allow choice for elf format when building bare-metal cross compiler
When building a baremetal cross compiler I want to be able to select
the elf format and not be forced to build the elf2flt package.

Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: tweak the commit message]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-09 21:04:28 +02:00
Thomas Petazzoni
d2248b1728 Re-enable the FD_PIC ELF configuration option
Blackfin uses FD_PIC ELF format to provide shared libraries on a
non-MMU architecture.
2010-04-07 09:20:05 +02:00
Yann E. MORIN"
d276ce2a4f config: fix style issues when source-ing files
Always enclose the sourced file between double-quotes (purely for
consistency; enclosing or not are both allowed by the kconfig language).
2010-03-29 20:24:50 +02:00
Yann E. MORIN"
b0fece4689 tools: move sstrip to the binary utilities menu
sstrip is now alone in its 'tools' menu, and we will probably never gain
any other 'tool'. Besides, sstrip is just strip, but a little bit more
agressive, so it deserves going to the 'binary utilities' menu.
2010-03-17 00:21:57 +01:00
Yann E. MORIN"
72a649f99e /trunk:
- comment-out the "FD_PIC ELF" binary format:
  it's not used/coded for now...

 -------- diffstat follows --------
 /trunk/config/binutils.in |   14     7     7     0 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
2009-05-20 20:15:41 +00:00
Yann E. MORIN"
45747a6453 Merge the uClinux/noMMU stuff back to /trunk:
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
  architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
  go in a single common sub-{menu,directory} structure

 -------- diffstat follows --------
 /trunk/scripts/build/kernel/uclinux.sh      |    2     0     2     0 -
 /trunk/scripts/build/kernel/linux.sh        |  206   204     2     0 +++++++++++++++++++++++++++++
 /trunk/scripts/build/kernel/linux-common.sh |  198     0   198     0 ----------------------------
 /trunk/scripts/build/binutils.sh            |  232     0   232     0 --------------------------------
 /trunk/scripts/build/elf2flt.sh             |  150     0   150     0 ---------------------
 /trunk/scripts/crosstool-NG.sh.in           |    6     4     2     0 +
 /trunk/config/kernel/linux.in               |  249   249     0     0 +++++++++++++++++++++++++++++++++++
 /trunk/config/kernel/linux.in-common        |  252     0   252     0 -----------------------------------
 /trunk/config/kernel/uclinux.in             |   21     0    21     0 ---
 /trunk/config/target.in                     |   23    22     1     0 +++
 /trunk/config/elf2flt.in                    |   49     0    49     0 -------
 /trunk/config/libc/glibc.in                 |    2     1     1     0
 /trunk/config/libc/eglibc.in                |    2     1     1     0
 /trunk/config/config.in                     |    1     0     1     0 -
 /trunk/config/arch/sh.in                    |    1     1     0     0 +
 /trunk/config/arch/arm.in                   |    2     1     1     0
 /trunk/config/arch/powerpc.in               |    1     1     0     0 +
 /trunk/config/arch/ia64.in                  |    1     1     0     0 +
 /trunk/config/arch/alpha.in                 |    1     1     0     0 +
 /trunk/config/arch/x86.in                   |    1     1     0     0 +
 /trunk/config/arch/mips.in                  |    1     1     0     0 +
 /trunk/config/arch/powerpc64.in             |    1     1     0     0 +
 22 files changed, 489 insertions(+), 913 deletions(-)
2009-05-20 20:13:13 +00:00
Yann E. MORIN"
08c5640661 Add latest stable binutils-2.19.1
/trunk/config/binutils.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-03-05 17:38:05 +00:00
Yann E. MORIN"
ce74b02f1c Add latest EXPERIMENTAL binutils-2.19.51.0.2.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-03-05 17:36:40 +00:00
Yann E. MORIN"
655f7e9e65 Add latest binutils snapshot version 2.19.51.0.1.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2009-02-02 21:07:48 +00:00
Yann E. MORIN"
161a19e423 Add binutils-2.19 and associated patchset (vampirised from Gentoo).
/trunk/patches/binutils/2.19/120-sh-targets.patch             |   52    52     0     0 ++++
 /trunk/patches/binutils/2.19/180-use-relro.patch              |   14    14     0     0 +
 /trunk/patches/binutils/2.19/160-use-new-ld-dtags.patch       |   14    14     0     0 +
 /trunk/patches/binutils/2.19/100-ppc64-pie.patch              |   20    20     0     0 +
 /trunk/patches/binutils/2.19/190-libiberty-pic.patch          |   14    14     0     0 +
 /trunk/patches/binutils/2.19/170-generate-gnu-hash.patch      |   16    16     0     0 +
 /trunk/patches/binutils/2.19/110-RPATH_ENVVAR-smack.patch     |   17    17     0     0 +
 /trunk/patches/binutils/2.19/140-pt-pax-flags-20081101.patch  |  249   249     0     0 +++++++++++++++++
 /trunk/patches/binutils/2.19/150-warn-textrel.patch           |   48    48     0     0 +++
 /trunk/patches/binutils/2.19/130-check_ldrunpath_length.patch |   31    31     0     0 ++
 /trunk/config/binutils.in                                     |    5     5     0     0 +
 11 files changed, 480 insertions(+)
2008-11-23 16:34:49 +00:00
Yann E. MORIN"
f9838b0853 Add latest binutils versions.
/trunk/config/binutils.in |   30    30     0     0 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
2008-10-13 11:06:37 +00:00
Yann E. MORIN"
2d87a35831 Add binutils-2.18.50.0.9.
Add a patch to binutils to not use '/' as a comment separator on i386 assembly when targeting bare metal (breaks linux kernel build).

 /trunk/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.14/110-i386-no-divide-comment.patch        |   38    38     0     0 ++++++
 /trunk/patches/binutils/2.14/270-i386-no-divide-comment.patch        |   38    38     0     0 ++++++
 /trunk/patches/binutils/2.16.1/160-i386-no-divide-comment.patch      |   40    40     0     0 ++++++
 /trunk/patches/binutils/2.17/210-i386-no-divide-comment.patch        |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18/120-i386-no-divide-comment.patch        |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch |   64    64     0     0 ++++++++++
 /trunk/config/binutils.in                                            |    6     6     0     0 +
 11 files changed, 570 insertions(+)
2008-09-22 12:09:19 +00:00
Yann E. MORIN"
799672a641 Introduce a new EXPERIMENTAL feature: BARE_METAL.
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.

 /trunk/scripts/build/kernel/none.sh              |   77     6    71     0 +----
 /trunk/scripts/build/cc/gcc.sh                   |   58    41    17     0 ++-
 /trunk/scripts/build/libc/none.sh                |  513     9   504     0 +-----------------------------
 /trunk/scripts/crosstool.sh                      |   17     9     8     0 +
 /trunk/scripts/functions                         |    6     4     2     0 +
 /trunk/scripts/showSamples.sh                    |    6     3     3     0
 /trunk/samples/arm-unknown-elf/crosstool.config  |  225   225     0     0 +++++++++++++
 /trunk/samples/arm-unknown-eabi/crosstool.config |  223   223     0     0 +++++++++++++
 /trunk/config/kernel/linux_headers_install.in    |   64    27    37     0 ++--
 /trunk/config/kernel.in                          |    9     8     1     0 +
 /trunk/config/toolchain.in                       |    1     1     0     0 +
 /trunk/config/cc/gcc.in                          |    3     3     0     0 +
 /trunk/config/debug/dmalloc.in                   |    1     1     0     0 +
 /trunk/config/debug/gdb.in                       |    4     3     1     0 +
 /trunk/config/debug/strace.in                    |    1     1     0     0 +
 /trunk/config/debug/duma.in                      |    1     1     0     0 +
 /trunk/config/cc.in                              |    8     8     0     0 +
 /trunk/config/target.in                          |   13    13     0     0 +
 /trunk/config/binutils.in                        |    1     1     0     0 +
 /trunk/config/gmp_mpfr.in                        |    1     1     0     0 +
 /trunk/config/libc.in                            |   17    11     6     0 +
 /trunk/arch/arm/functions                        |    3     1     2     0 -
 22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
a1e8fc85c3 Add latest EXPERIMENTAL binutils 2.18.50.0.8.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-07-13 15:25:40 +00:00
Yann E. MORIN"
77bf4f327a Add latest binutils snapshot, and propagate patches from previous snapshot.
/trunk/config/binutils.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-05-15 16:47:50 +00:00
Yann E. MORIN"
5b3e2c8fd8 Remove some EXPERIMENTAL binutils versions, I do not have time to create associated patches.
/trunk/patches/binutils/2.18.50.0.4/200-ld-makefile-path.patch       |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch      |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.4/300-check-ldrunpath-length.patch |   26    26     0     0 +++++++++
 /trunk/patches/binutils/2.18.50.0.6/200-ld-makefile-path.patch       |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch      |   30    30     0     0 ++++++++++
 /trunk/patches/binutils/2.18.50.0.6/300-check-ldrunpath-length.patch |   26    26     0     0 +++++++++
 /trunk/config/binutils.in                                            |   24     0    24     0 --------
 7 files changed, 172 insertions(+), 24 deletions(-)
2008-05-02 21:51:14 +00:00
Yann E. MORIN"
c94ed734c1 Add latest binutils snapshots.
/trunk/config/binutils.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-04-28 08:55:33 +00:00
Yann E. MORIN"
8b0663d59f Eye candy in the binutils config menu.
/trunk/config/binutils.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-04-27 16:20:57 +00:00
Yann E. MORIN"
f4012a128e Add building some binutils libraries for the target, as some utilities might need them.
/trunk/scripts/build/binutils.sh |   32    32     0     0 ++++++++++++++++++++++++++++++++
 /trunk/config/binutils.in        |   22    22     0     0 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)
2008-04-27 15:08:15 +00:00
Yann E. MORIN"
94b68d94dc Add EXPERIMENTAL binutils 2.18.50.x.y versions. 2008-02-15 21:07:30 +00:00
Yann E. MORIN"
b1e693e402 Renamed all patches file names so that locales are now irrelevant to sort the files.
Removed the locale check as it is now irrelevant.
Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
2007-09-23 17:08:09 +00:00
Yann E. MORIN"
d0148e3ca2 Add binutils-2.18. 2007-08-29 16:44:40 +00:00
Yann E. MORIN"
6c368af5b4 Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
 - remove associated patches no longer needed,
 - mark then as (OBSOLETE) in the prompt;
2007-08-14 20:11:44 +00:00
Yann E. MORIN"
0a0d8d6ba8 Add experimental binutils-2.17.50.0.18, along with patches from previous snapshot. 2007-08-12 08:05:57 +00:00
Yann E. MORIN"
1b324cc69e Mark binutils-2.6.17.* as being EXPERIMENTAL versions. 2007-07-13 14:26:45 +00:00
Yann E. MORIN"
96456d1abb Add binutils-2.17.50.0.17. 2007-07-03 22:28:14 +00:00
Yann E. MORIN"
0c28252021 Add two new versions to binutils. 2007-05-22 20:42:21 +00:00
Yann E. MORIN"
96d28dc7d3 Introduce an OBSOLETE config option, to mask-out legacy stuff. 2007-05-06 13:42:10 +00:00
Yann E. MORIN"
a57d858149 Add new kernel versions (2.6.20.{2,3,4}) and binutils versions (2.17.50.0.1{1,2,3,4}).
Fix typo in comment: qbove -> above.
2007-03-31 19:45:25 +00:00
Yann E. MORIN"
1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00