Commit Graph

47 Commits

Author SHA1 Message Date
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"
df07dda46d Merge the /deve/uclinux branch back to /trunk:
- add support for uClinux, the MMU-less ports of Linux.

 -------- diffstat follows --------
 /trunk/scripts/build/kernel/linux.sh      |  100     1    99     0 ---------------
 /trunk/steps.mk                           |    1     1     0     0 +
 /trunk/config/kernel/linux.in             |  247     0   247     0 -------------------------------------
 /trunk/config/kernel.in                   |    2     1     1     0
 /trunk/config/libc/glibc.in               |    2     1     1     0
 /trunk/config/libc/eglibc.in              |    2     1     1     0
 /trunk/config/libc/glibc-eglibc.in-common |    5     5     0     0 +
 /trunk/config/config.in                   |    1     1     0     0 +
 8 files changed, 11 insertions(+), 349 deletions(-)
2009-05-13 20:55:15 +00:00
Yann E. MORIN"
d9378214cc Add katest Linux kernel versions: 2.6.27.22, 2.6.28.10 and 2.6.29.2.
-------- diffstat follows --------
 /trunk/config/kernel/linux.in |   16    13     3     0 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
2009-05-07 18:53:49 +00:00
Yann E. MORIN"
a266de0e26 Remove old 2.6.27 Linux kernel versions, keep the latest 2.6.27.21.
-------- diffstat follows --------
 /trunk/config/kernel/linux.in |  108     2   106     0 +------------------------------------------------
 1 file changed, 2 insertions(+), 106 deletions(-)
2009-04-20 22:04:34 +00:00
Yann E. MORIN"
204042b3b3 Add latest Linux kernel 2.6.29.1.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-04-03 20:22:19 +00:00
Yann E. MORIN"
a3078ff7c5 Allow user to select a non-listed Linux kernel version, as suggested
by Stefan Hallas Andersen <stefande@cisco.com>

 /trunk/config/kernel/linux.in |   14    14     0     0 ++++++++++++++
 1 file changed, 14 insertions(+)
2009-04-01 20:58:35 +00:00
Yann E. MORIN"
609dee36c7 Add latest Linux kernel versions:
- 2.6.27.21
- 2.6.28.8 & .9
- 2.6.29
Remove /old/ versions:
- 2.6.26 -> .7

 /trunk/config/kernel/linux.in |   68    27    41     0 +++++++++++++++++++------------------------------
 1 file changed, 27 insertions(+), 41 deletions(-)
2009-03-28 22:27:22 +00:00
Yann E. MORIN"
1be3d38a7d Add Linux kernel headers 2.6.27.1{8,9}
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-03-04 18:45:26 +00:00
Yann E. MORIN"
c4a2b61489 Add latest versions:
- Linux kernel headers 2.6.28.{6,7}
- uClibc 0.9.30.1

 /trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 /trunk/config/libc/uClibc.in  |    5     5     0     0 +++++
 2 files changed, 15 insertions(+)
2009-03-04 17:49:10 +00:00
Yann E. MORIN"
b6b7925fcb Rename the custom header option.
/trunk/scripts/build/kernel/linux.sh |   12     6     6     0 ++++++------
 /trunk/config/kernel/linux.in        |    4     2     2     0 ++--
 2 files changed, 8 insertions(+), 8 deletions(-)
2009-03-03 20:29:35 +00:00
Yann E. MORIN"
ea604716d9 When using custom Linux kernel headers, allow using a tarball.
/trunk/scripts/build/kernel/linux.sh |   19    16     3     0 ++++++++++++++++---
 /trunk/config/kernel/linux.in        |   35    26     9     0 ++++++++++++++++++++++++++---------
 2 files changed, 42 insertions(+), 12 deletions(-)
2009-03-03 18:43:38 +00:00
Yann E. MORIN"
3f72b63050 Add latest Linux kernel versions (for headers): 2.6.27.1{6,7} & 2.6.28.5
/trunk/config/kernel/linux.in |   15    15     0     0 +++++++++++++++
 1 file changed, 15 insertions(+)
2009-02-13 07:22:56 +00:00
Yann E. MORIN"
54001543d3 Add latest Linux kernel versions 2.6.27.15 and 2.6.28.4.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-02-07 08:05:10 +00:00
Yann E. MORIN"
a706d09c2e Add latest Linux kernel versions (2.6.27.14 and 2.6.28.3).
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-02-02 21:05:40 +00:00
Yann E. MORIN"
226d76c40b Add latest Linux kernel versions: 2.6.27.13 and 2.6.28.2.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-01-27 21:34:44 +00:00
Yann E. MORIN"
e11cc118f2 Add latest Linux kernel versions.
/trunk/config/kernel/linux.in |   10    10     0     0 ++++++++++
 1 file changed, 10 insertions(+)
2009-01-20 18:49:12 +00:00
Yann E. MORIN"
23b61e1541 Add headers from linux-2.6.27.11.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2009-01-16 09:13:16 +00:00
Yann E. MORIN"
59f66ebdee Add latest Linux kernel versions:
- 2.6.27.{7,8,9,10}
- 2.6.28

 /trunk/config/kernel/linux.in |   25    25     0     0 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
2008-12-28 09:38:35 +00:00
Yann E. MORIN"
6c7c991b14 Add the latest Linux kernel versions:
- 2.6.25.20
- 2.6.26.8
- 2.6.27.{4,5,6}

 /trunk/config/kernel/linux.in |   26    23     3     0 +++++++++++++++++++++++---
 1 file changed, 23 insertions(+), 3 deletions(-)
2008-11-13 20:19:50 +00:00
Yann E. MORIN"
47112bebdd Unmark bare-metal being EXPERIMENTAL.
/trunk/config/kernel/bare-metal.in |    1     0     1     0 -
 1 file changed, 1 deletion(-)
2008-11-01 18:30:19 +00:00
Yann E. MORIN"
e6abad7e97 Add the latest Linux kernel versions: 2.6.25.19, 2.6.26.7 and 2.6.27.3.
/trunk/config/kernel/linux.in |   16    13     3     0 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
2008-10-24 15:38:13 +00:00
Yann E. MORIN"
e4d539661e Add the latest Linux kernel 2.6.27.2.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-10-19 12:02:13 +00:00
Yann E. MORIN"
f8439368e0 Add the latest Linux kernel 2.6.27.1.
/trunk/config/kernel/linux.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-10-19 11:23:27 +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"
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"
cce0841d96 Rework the way EXPERIMENTAL kernels are marked as such.
/trunk/kconfig/kconfig.mk          |   51    25    26     0 ++++++++++++++++++++++----------------------
 /trunk/docs/overview.txt           |   47    47     0     0 +++++++++++++++++++++++++++++++++++++++++
 /trunk/config/kernel/bare-metal.in |    1     1     0     0 +
 3 files changed, 73 insertions(+), 26 deletions(-)
2008-09-29 20:19:45 +00:00
Yann E. MORIN"
5e2ecc71c6 Move around the BARE_METAL config entry outside of the bare metal /kernel/ entry: there might be different setups that causes a bare metal compiler.
/trunk/config/kernel/bare-metal.experimental.in |   12     4     8     0 ++++--------
 /trunk/config/kernel.in                         |    6     6     0     0 ++++++
 2 files changed, 10 insertions(+), 8 deletions(-)
2008-09-28 21:31:13 +00:00
Yann E. MORIN"
c36b921790 Generate the kernel config choice, rather than having it hard-coded:
- change the menu label from 'Target OS' to 'Operating System',
  - bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
  - update the kconfig.mk to generate the kernel choice entries,
  - update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.

 /trunk/kconfig/kconfig.mk                       |  117    81    36     0 +++++++++++++++++++++----------
 /trunk/config/kernel/linux.in                   |    4     4     0     0 +
 /trunk/config/kernel/bare-metal.experimental.in |   15    15     0     0 ++++
 /trunk/config/kernel.in                         |   33     5    28     0 +--------
 /trunk/config/libc/glibc-eglibc-common.in       |    4     2     2     0
 5 files changed, 107 insertions(+), 66 deletions(-)
2008-09-16 17:39:40 +00:00
Yann E. MORIN"
b6a8c7318d Move all the Linux kernel config options to a single file (to ease supporting more than one kernel).
Rename some Linux kernel config options (ditto).
Update the addToolsVersion.sh script.

 /trunk/scripts/build/kernel/linux.sh |   13     6     7     0 +--
 /trunk/tools/addToolVersion.sh       |  105    37    68     0 +++++++--------------
 /trunk/config/kernel/linux.in        |  211   189    22     0 ++++++++++++++++++++++++++++++++++++++----
 3 files changed, 232 insertions(+), 97 deletions(-)
2008-09-15 14:52:29 +00:00
Yann E. MORIN"
48c1e77819 Code-reorder in the Linux kernel config options.
/trunk/config/kernel/linux.in |   32    15    17     0 +++++++++++++++-----------------
 1 file changed, 15 insertions(+), 17 deletions(-)
2008-09-15 12:08:01 +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"
7a0e770be1 Remove the now really obsolete Linux kernel headers copy and sanitised.
Remove orphanned Linux kernel patchsets.
Initiate a kernel build scripts directory. Move the Linux kernel build script there.

 /trunk/scripts/build/kernel/linux.sh |  146    11   135     0 +++---------------------------------------
 /trunk/scripts/crosstool.sh          |    2     1     1     0
 /trunk/steps.mk                      |    1     0     1     0 -
 /trunk/config/kernel/linux.in        |   49     0    49     0 --------------
 /trunk/config/kernel.in              |    4     4     0     0 +
 5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-10 21:40:23 +00:00
Yann E. MORIN"
d246b4d3ad Add linux-2.6.26.3.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-09-01 16:57:41 +00:00
Yann E. MORIN"
dbb47694a4 Default to check installed kernel headers by default.
/trunk/config/kernel/linux_headers_install.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-19 07:06:21 +00:00
Yann E. MORIN"
dde2a329d7 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-08-09 21:09:22 +00:00
Yann E. MORIN"
805aa7f8ec Add latest Linux kernel headers.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-08-04 13:18:36 +00:00
Yann E. MORIN"
7d79584d9b Add latest headers from Linux kernel 2.6.25.1{1,2}.
/trunk/config/kernel/linux_headers_install.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-07-28 11:43:29 +00:00
Yann E. MORIN"
41c0f214cc Add latest Linux 2.6.26 headers.
/trunk/config/kernel/linux_headers_install.in |    5     5     0     0 +++++
 1 file changed, 5 insertions(+)
2008-07-15 09:57:10 +00:00
Yann E. MORIN"
ba93eabd8a Add latest linux kernel 2.6.25.10.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-07-03 08:56:30 +00:00
Yann E. MORIN"
d5c7eaa0c5 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   12    12     0     0 ++++++++++++
 1 file changed, 12 insertions(+)
2008-06-25 20:56:50 +00:00
Yann E. MORIN"
aa02a204d9 Add altest linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   16    14     2     0 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)
2008-06-17 08:31:57 +00:00
Yann E. MORIN"
ced2cf503a Latest linux version for headers isntall.
/trunk/config/kernel/linux_headers_install.in |    6     6     0     0 ++++++
 1 file changed, 6 insertions(+)
2008-06-09 16:35:53 +00:00
Yann E. MORIN"
c46ab20e6f Add latest linux kernel versions for installing headers.
/trunk/config/kernel/linux_headers_install.in |   24    24     0     0 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
2008-05-15 16:39:55 +00:00
Yann E. MORIN"
fdb7c1e75d Add latest linux kernel versions.
Remove old ones, keeping only the latest 'Y' in each 2.6.X.Y series.

 /trunk/config/kernel/linux_headers_install.in |  129    26   103     0 +++++++--------------------------
 1 file changed, 26 insertions(+), 103 deletions(-)
2008-05-02 21:55:57 +00:00
Yann E. MORIN"
135a104338 Add latest Linux kernel versions.
/trunk/config/kernel/linux_headers_install.in |   17    17     0     0 +++++++++++++++++
 1 file changed, 17 insertions(+)
2008-04-17 21:07:01 +00:00
Yann E. MORIN"
2237fab536 Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

 /trunk/tools/addToolVersion.sh |   26    13    13     0 +++++++++++++-------------
 /trunk/config/kernel/linux.in  |    6     3     3     0 +++---
 /trunk/config/kernel.in        |    2     1     1     0 +-
 /trunk/config/cc.in            |    2     1     1     0 +-
 /trunk/config/libc.in          |    4     2     2     0 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17 21:04:23 +00:00
Yann E. MORIN"
dd862bd7a4 Move config files around, and clean up the mess in the config/ directory.
config/kernel/kernel_linux.in            |   12     6     6     0 +-
 config/paths.in                          |   89     0    89     0 ----------------
 config/kernel_linux_headers_install.in   |  168     0   168     0 ------------------------------
 config/kernel.in                         |    2     1     1     0
 config/kernel_linux_headers_copy.in      |   42     0    42     0 --------
 config/cc.in                             |    2     1     1     0
 config/logging.in                        |  110     0   110     0 --------------------
 config/build-behave.in                   |   45     0    45     0 --------
 config/libc_uClibc.in                    |  101     0   101     0 ------------------
 config/kernel_linux_headers_sanitised.in |   62     0    62     0 -----------
 config/ct-behave.in                      |   82     0    82     0 ---------------
 config/kernel_linux.in                   |  134     0   134     0 ------------------------
 config/global.in                         |   10     5     5     0 +-
 config/download_extract.in               |  171     0   171     0 -------------------------------
 config/cc_gcc.in                         |  130     0   130     0 ------------------------
 config/libc_glibc.in                     |  124     0   124     0 ----------------------
 config/libc.in                           |    4     2     2     0
 17 files changed, 15 insertions(+), 1273 deletions(-)
2008-04-17 20:26:25 +00:00