Commit Graph

5439 Commits

Author SHA1 Message Date
Yann E. MORIN"
f31bcd0026 Update the kconfig stuff to match the one in the linux-2.6.27 version.
/trunk/kconfig/zconf.hash.c         |  225   110   115     0 +++----
 /trunk/kconfig/lkc_proto.h          |    4     3     1     0 +
 /trunk/kconfig/mconf.c              |  217   110   107     0 +++---
 /trunk/kconfig/menu.c               |   86    60    26     0 ++-
 /trunk/kconfig/symbol.c             |  212   156    56     0 ++++--
 /trunk/kconfig/kconfig.mk           |   24     9    15     0 -
 /trunk/kconfig/lex.zconf.c          |   97    80    17     0 ++-
 /trunk/kconfig/util.c               |   38    30     8     0 +
 /trunk/kconfig/lkc.h                |   22    18     4     0 +
 /trunk/kconfig/expr.c               |   32    19    13     0 +
 /trunk/kconfig/confdata.c           |  254   172    82     0 +++++---
 /trunk/kconfig/lxdialog/dialog.h    |   12     9     3     0 +
 /trunk/kconfig/lxdialog/inputbox.c  |    6     3     3     0
 /trunk/kconfig/lxdialog/checklist.c |    4     2     2     0
 /trunk/kconfig/lxdialog/menubox.c   |    6     3     3     0
 /trunk/kconfig/lxdialog/textbox.c   |    2     1     1     0
 /trunk/kconfig/lxdialog/util.c      |   47    30    17     0 +
 /trunk/kconfig/lxdialog/yesno.c     |    4     2     2     0
 /trunk/kconfig/expr.h               |   20    10    10     0
 /trunk/kconfig/zconf.tab.c          | 1441   793   648     0 ++++++++++++++++++++++++-------------------
 /trunk/kconfig/conf.c               |  276   124   152     0 ++++----
 /trunk/kconfig/check-gettext.sh     |   14    14     0     0 +
 /trunk/ct-ng.in                     |    2     1     1     0
 23 files changed, 1759 insertions(+), 1286 deletions(-)
2008-10-17 12:47:53 +00:00
Yann E. MORIN"
c54f4302cd Fix oldconfig and defoldconfig.
Thanks Thomas Petazzoni for noticing the breakage.

 /trunk/kconfig/kconfig.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-17 09:51:19 +00:00
Yann E. MORIN"
ffd86b4a72 Woops, typo...
/trunk/ct-ng.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-15 21:31:35 +00:00
Yann E. MORIN"
4e7d6836a5 Cheesy kconfig stuff:
- silent/quiet/verbose build:
   - ct-ng by default only prints quit messages, such as "CC xxx",
   - if using V=0, nothing is printed,
   - if using V=1, the full command lines are printed,
   - other values are indeterminate,
   - should help in debugging the kconfig stuff;
 - complete kconfig/{,m}conf generation:
   - fully dynamic dependencies on source files,
   - compilation of .c into .o, then linking (instead of direct linking),
   - VPATH usage when not --local;
Typo + a coment moved.

 /trunk/kconfig/kconfig.mk |  140    87    53     0 +++++++++++++++++++++++++++++++++--------------------
 /trunk/tools/tools.mk     |   12     6     6     0 ++--
 /trunk/steps.mk           |    6     3     3     0 +-
 /trunk/samples/samples.mk |   30    15    15     0 +++++-----
 /trunk/ct-ng.in           |   40    28    12     0 +++++++++++----
 5 files changed, 139 insertions(+), 89 deletions(-)
2008-10-15 21:29:56 +00:00
Yann E. MORIN"
b77f4abe34 Update the OpenRISC or32 contrib to correctly set EXPERIMENTAL.
/trunk/copy) |binary
 1 file changed
2008-10-15 08:15:28 +00:00
Yann E. MORIN"
f2369f53f1 Update the OpenRISC or32 contribution to match the new architecture layout.
/trunk/copy) |binary
 1 file changed
2008-10-15 08:08:46 +00:00
Yann E. MORIN"
7000889861 Fix configure's --with-contrib option.
/trunk/configure |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-15 08:08:02 +00:00
Yann E. MORIN"
8215020b0f Add alternate locations where to retrieve binutils snapshots.
/trunk/scripts/build/binutils.sh |    5     3     2     0 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
2008-10-15 07:29:07 +00:00
Yann E. MORIN"
c8a68d987b Introduce the notion of a 'sample comment'.
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.

 /trunk/scripts/saveSample.sh                           |   46    35    11     0 ++++++++++++++++++------
 /trunk/scripts/showSamples.sh                          |   12     6     6     0 +++---
 /trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |   15    15     0     0 ++++++++
 /trunk/samples/samples.mk                              |   22    17     5     0 +++++++++--
 4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00
Yann E. MORIN"
cb5b60fc07 Correctly auto-complete with start-steps as well.
/trunk/ct-ng.comp |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-14 20:06:37 +00:00
Yann E. MORIN"
637a4b94e8 Use a function to retrieve a sample directory.
/trunk/samples/samples.mk |   19     9    10     0 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
2008-10-14 19:40:12 +00:00
Yann E. MORIN"
6a4dc6568b Eye-candy in the help entries.
/trunk/ct-ng.comp |    2     1     1     0 +-
 /trunk/ct-ng.in   |    6     3     3     0 +++---
 /trunk/steps.mk   |    6     3     3     0 +++---
 3 files changed, 7 insertions(+), 7 deletions(-)
2008-10-14 19:29:25 +00:00
Yann E. MORIN"
c1aa36b009 Eye candy in the help disclaimer.
/trunk/ct-ng.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-10-14 19:19:20 +00:00
Yann E. MORIN"
6abc05c389 Credit Nate CASE for his powerpc e500v2 sample.
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by |    2     2     0     0 ++
 1 file changed, 2 insertions(+)
2008-10-14 17:44:38 +00:00
Yann E. MORIN"
6ab2f244ca Sample config for e500v2 toolchain
On Tuesday 14 October 2008 17:05:31 Nate Case wrote:
> This is a sample config file for Freescale e500v2 processors (e.g.,
> MPC8548, MPC8572).  It uses eglibc (for e500/SPE patches) and a recent
> gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
> dual-precision floating point instructions by default.
>
> Note: If building a Linux kernel with this toolchain, you will want to
> make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
> ABI/instructions from getting into the kernel (which is currently
> unsupported).  At this time, the kernel build system only passes
> -mno-spe by default (this should be fixed soon hopefully).
>
> A binutils snapshot is used to fix a bug present in 2.18 preventing
> U-Boot from being compiled (CodeSourcery issue #2297: internal.h
> (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of
> memory).

Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it.

 /trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config |  307   307     0     0 +++++++++++++++++++
 1 file changed, 307 insertions(+)
2008-10-14 17:42:10 +00:00
Yann E. MORIN"
9ec3651eff saveSample: Reset CT_LOCAL_TARBALLS_DIR to default
On Tuesday 14 October 2008 16:48:07 Nate Case wrote:
> Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that
> we don't save irrelevant paths in the samples.

 /trunk/scripts/saveSample.sh |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-10-14 16:54:20 +00:00
Yann E. MORIN"
74c5579885 Fix the saveSample script oafter architerctures reorganisation
On Tuesday 14 October 2008 16:27:37 Nate Case wrote:
> The saveSample.sh script is referring to the old architecture-specific
> script path.  Point to the new one, just as done in crosstool.sh.

 /trunk/scripts/saveSample.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-14 16:53:13 +00:00
Yann E. MORIN"
4b27b41f41 Rework the kconfig stuff
- better handle config file generation dependencies
 - get rid of CT_TOP_DIR where useless
 - rearrange code to be cleaner, and add adequate '#----' comments to split the different parts
 - a few eye-candy here and there

 /trunk/kconfig/kconfig.mk |  158    99    59     0 +++++++++++++++++++++++++++++++++--------------------
 1 file changed, 99 insertions(+), 59 deletions(-)
2008-10-14 16:50:33 +00:00
Yann E. MORIN"
ab048ad81d No one sane would you 'ct-ng config' to configure crosstool-NG.
Remove this useless rule.

 /trunk/kconfig/kconfig.mk |    8     2     6     0 ++------
 /trunk/ct-ng.comp         |    2     1     1     0 +-
 2 files changed, 3 insertions(+), 7 deletions(-)
2008-10-13 20:36:37 +00:00
Yann E. MORIN"
715de83ade Missed adding new files because of old svn:ignore property (removed).
/trunk/config/debug.in |    3     3     0     0 +++
 /trunk/config/tools.in |    3     3     0     0 +++
 2 files changed, 6 insertions(+)
2008-10-13 20:35:18 +00:00
Yann E. MORIN"
5ae048e78b Generate the choice menu for C compilers, the same way arch, kernels and C libraries are generated.
/trunk/kconfig/kconfig.mk |    6     6     0     0 ++++++
 /trunk/config/cc/gcc.in   |   13    13     0     0 +++++++++++++
 /trunk/config/cc.in       |   31     3    28     0 +++----------------------------
 3 files changed, 22 insertions(+), 28 deletions(-)
2008-10-13 16:58:52 +00:00
Yann E. MORIN"
d2fe51a715 Generate the choice menu for C libraries, the same way arch and kernels are generated.
/trunk/kconfig/kconfig.mk          |   10     8     2     0 ++++++--
 /trunk/scripts/build/libc/glibc.sh |    2     1     1     0 +-
 /trunk/config/libc/glibc.in        |   22     6    16     0 +++++-------------
 /trunk/config/libc/uClibc.in       |    7     6     1     0 +++++-
 /trunk/config/libc/eglibc.in       |   12    11     1     0 +++++++++-
 /trunk/config/libc.in              |   53     4    49     0 +++-----------------------------------------
 6 files changed, 36 insertions(+), 70 deletions(-)
2008-10-13 11:23:51 +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"
c7df47dcea In generated choice menus, move the selection options outside the choice menu.
/trunk/kconfig/kconfig.mk |   60    35    25     0 +++++++++++++++++++++++++++++++----------------------
 /trunk/config/kernel.in   |    6     0     6     0 -----
 /trunk/config/target.in   |    6     0     6     0 -----
 3 files changed, 35 insertions(+), 37 deletions(-)
2008-10-12 11:22:46 +00:00
Yann E. MORIN"
5276fc869d Use ERROR level for make errors.
Rename the C library addons directories rather than symlinking.

 /trunk/scripts/functions |   10     7     3     0 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
2008-10-12 11:09:57 +00:00
Yann E. MORIN"
c7771e81fa Update the auto-completion function:
- be silent in case of errors
 - also suggest 'build.'

 /trunk/ct-ng.comp |    6     3     3     0 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
2008-10-12 10:38:02 +00:00
Yann E. MORIN"
80a45a63de On 20081011, Khem RAJ writes:
You have to bar gcc trying to build unwinding at stage 1.

 /trunk/patches/gcc/4.2.0/290-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.2.1/290-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.2.2/290-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.3.1/350-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.2.3/310-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.3.2/350-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 /trunk/patches/gcc/4.2.4/310-sh-without-headers.patch |   26    26     0     0 ++++++++++++++++++++++++++
 7 files changed, 182 insertions(+)
2008-10-12 10:18:35 +00:00
Yann E. MORIN"
82c9d1aceb Simplify the Tools and Debug facilities menu entries:
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym
 - each build script no longer has to say wether they are enabled
 - generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code
Some re-ordering of the code to be consistent with the steps ordering (tools, then debug).

 /trunk/kconfig/kconfig.mk                  |   66    43    23     0 +++++++++++++++++++++++-------------
 /trunk/scripts/build/debug.sh              |   14     9     5     0 +++++---
 /trunk/scripts/build/tools/000-template.sh |    7     0     7     0 ----
 /trunk/scripts/build/tools/100-libelf.sh   |    3     0     3     0 --
 /trunk/scripts/build/tools/200-sstrip.sh   |    2     0     2     0 -
 /trunk/scripts/build/debug/000-template.sh |    7     0     7     0 ----
 /trunk/scripts/build/debug/100-dmalloc.sh  |    3     0     3     0 --
 /trunk/scripts/build/debug/400-ltrace.sh   |    3     0     3     0 --
 /trunk/scripts/build/debug/300-gdb.sh      |    3     0     3     0 --
 /trunk/scripts/build/debug/500-strace.sh   |    3     0     3     0 --
 /trunk/scripts/build/debug/200-duma.sh     |    3     0     3     0 --
 /trunk/scripts/build/tools.sh              |   14     9     5     0 +++++---
 /trunk/scripts/crosstool.sh                |    2     1     1     0
 /trunk/config/debug/ltrace.in              |   14     3    11     0 ++------
 /trunk/config/debug/dmalloc.in             |    9     1     8     0 +----
 /trunk/config/debug/gdb.in                 |    9     1     8     0 +----
 /trunk/config/debug/strace.in              |   10     1     9     0 -----
 /trunk/config/debug/duma.in                |   10     1     9     0 -----
 /trunk/config/tools/libelf.in              |   12     2    10     0 +------
 /trunk/config/tools/sstrip.in              |   10     1     9     0 -----
 /trunk/config/config.in                    |    4     2     2     0 +-
 21 files changed, 74 insertions(+), 134 deletions(-)
2008-10-10 14:30:44 +00:00
Yann E. MORIN"
1e41bff4aa Add the Linux kernel 2.6.27.
Remove all 2.6.25 versions up to 2.6.25.17.
Mark 2.6.25.18 as being OBSOLETE.

 /trunk/config/kernel/linux.in |   98     7    91     0 +++---------------------------------------------
 1 file changed, 7 insertions(+), 91 deletions(-)
2008-10-10 08:46:29 +00:00
Yann E. MORIN"
4a1f2bf705 Remove CT_BROKEN.
Only one component is actually BROKEN (libelf), make it depend on EXPERIMENTAL, but state BROKEN in the prompt.
ltrace (which depends on libelf) is now marked as EXPERIMENTAL, with the reference to the BROKEN libelf in the help entry.

 /trunk/docs/overview.txt          |    6     0     6     0 ------
 /trunk/config/debug/ltrace.in     |    7     4     3     0 ++++---
 /trunk/config/global/ct-behave.in |    8     0     8     0 --------
 /trunk/config/tools/libelf.in     |    5     3     2     0 +++--
 4 files changed, 7 insertions(+), 19 deletions(-)
2008-10-09 19:17:49 +00:00
Yann E. MORIN"
1bb649e776 'sstrip' makes no sense on bare-metal, mark it so.
/trunk/config/tools/sstrip.in |    1     1     0     0 +
 1 file changed, 1 insertion(+)
2008-10-09 19:13:37 +00:00
Yann E. MORIN"
f2463146eb Commonalise config.gen/{arch,kernel}.in generation.
/trunk/kconfig/kconfig.mk |   76    34    42     0 ++++++++++++++++++++++++-----------------------------
 1 file changed, 34 insertions(+), 42 deletions(-)
2008-10-09 17:40:15 +00:00
Yann E. MORIN"
374744285e Add latest Linux kernel versions 2.6.25.18 & 2.6.26.6.
Fix using Linux kernel versions 2.6.25.{15,16,17}.

 /trunk/config/kernel/linux.in |   16    13     3     0 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
2008-10-09 13:15:46 +00:00
Yann E. MORIN"
1fa683894f populate:
- add an option to force installation of listed libraries,
 - add an option to read a file listing libraries of which to force installation.

 /trunk/tools/populate.in |  126   104    22     0 +++++++++++++++++++++++++++++++++++++++++++++---------
 1 file changed, 104 insertions(+), 22 deletions(-)
2008-10-08 11:57:03 +00:00
Yann E. MORIN"
93c2e1f7fb Install the config script following the naming of other files, eg. "${CT_TARGET}-" instead of "${CT_TARGET}." .
/trunk/scripts/crosstool.sh |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-06 21:23:31 +00:00
Yann E. MORIN"
91147b5d18 Typoes.
/trunk/README           |    2     1     1     0 +-
 /trunk/config/kernel.in |    2     1     1     0 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
2008-10-06 20:13:05 +00:00
Yann E. MORIN"
96be1c7bb9 Remove lingering architecture config directories now they are useless. 2008-10-06 19:58:01 +00:00
Yann E. MORIN"
b8d189b296 Separate the architecture config file and function script.
/trunk/kconfig/kconfig.mk   |   46    23    23     0 +++++++++++++++++++++++-----------------------
 /trunk/scripts/crosstool.sh |    2     1     1     0 +-
 /trunk/docs/overview.txt    |   28    11    17     0 +++++++++++-----------------
 3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-05 15:32:00 +00:00
Yann E. MORIN"
689f4b103c Add the latest GMP and MPFR versions.
/trunk/config/gmp_mpfr/gmp.in  |    5     5     0     0 +++++
 /trunk/config/gmp_mpfr/mpfr.in |    5     5     0     0 +++++
 2 files changed, 10 insertions(+)
2008-10-05 12:32:42 +00:00
Yann E. MORIN"
229aa8fe54 Update the internals documentation, adding the kernel API.
Update the internals architecture documentation.

 /trunk/docs/overview.txt |   75    67     8     0 ++++++++++++++++++++++++++++++++++++++++++++++++------
 1 file changed, 67 insertions(+), 8 deletions(-)
2008-10-03 20:00:36 +00:00
Yann E. MORIN"
dcb7ca29ba Fourth shot at moving arch/ into config/arch/ .
/trunk/scripts/crosstool.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-03 13:01:10 +00:00
Yann E. MORIN"
67b3e099c5 Third shot at moving arch/ into config/ .
/trunk/Makefile.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-03 12:45:37 +00:00
Yann E. MORIN"
50ea3b751d Second shot at moving arch/ into config/arch/ . 2008-10-03 12:30:58 +00:00
Yann E. MORIN"
601ec482e1 First shot at moving arch/ into config/arch/ .
/trunk/kconfig/kconfig.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-03 12:30:29 +00:00
Yann E. MORIN"
02e8d1f0b4 extract-config.sh no longer exists, don't advertise it.
/trunk/config/global/logging.in |    3     0     3     0 ---
 1 file changed, 3 deletions(-)
2008-10-02 13:04:21 +00:00
Yann E. MORIN"
744401bc0e No need for this script now the config is tored in its own file. 2008-10-02 12:55:09 +00:00
Yann E. MORIN"
16c6cc994f Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
 - introduce a skeleton for the config script,
 - update auto-completion,
 - document the config script.

 /trunk/kconfig/kconfig.mk        |    9     2     7     0 ++-------
 /trunk/scripts/crosstool.sh      |    6     5     1     0 +++++-
 /trunk/docs/overview.txt         |   21     9    12     0 +++++++++------------
 /trunk/tools/toolchain-config.in |    8     8     0     0 ++++++++
 /trunk/ct-ng.comp                |    2     1     1     0 +-
 5 files changed, 25 insertions(+), 21 deletions(-)
2008-10-01 18:10:40 +00:00
Yann E. MORIN"
c7f3478a10 Update the PowerPC+uClibc sample.
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config |  150    87    63     0 ++++++++++--------
 1 file changed, 87 insertions(+), 63 deletions(-)
2008-09-30 18:19:48 +00:00
Yann E. MORIN"
6731142c39 Better handle the second pass core gcc build, differentiating between gcc prior to 4.3 with gcc from 4.3.
Simplify detecting wether gcc is 4.3 and later, or older than 4.3 (we already know from .config).

 /trunk/scripts/build/cc/gcc.sh |   22    13     9     0 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
2008-09-30 18:19:18 +00:00
Yann E. MORIN"
8b1e61df9d Rework the way EXPERIMENTAL architecture are marked as such, the same way kernels are handeld.
Fix marking EXPERIMENTAL kernel when using --prefix.

 /trunk/kconfig/kconfig.mk  |   44    22    22     0 ++++++++++++++++++++++----------------------
 /trunk/arch/ia64/config.in |    1     1     0     0 +
 /trunk/arch/sh/config.in   |    1     1     0     0 +
 3 files changed, 24 insertions(+), 22 deletions(-)
2008-09-29 20:51:16 +00:00