Yann E. MORIN"
0c63755957
scripts: add new version at top of choice
...
Add new versions at the top of the choice menu, not at the bottom.
2009-09-13 18:38:06 +02:00
Yann E. MORIN"
2d6a221bab
samples: correclty fix saving samples with a C library config file
2009-09-13 17:14:28 +02:00
Yann E. MORIN"
028b9d1c98
comp-libs/cloog: fix building
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-13 12:25:33 +02:00
Yann E. MORIN"
414f639105
comp-libs/cloog: new versions have the version number in the dir name
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-12 10:16:28 +02:00
Yann E. MORIN"
6b37673b64
samples: fix saving samples
...
Use a correct sed pattern when setting CT_PREFIX_DIR
2009-09-12 00:10:38 +02:00
Yann E. MORIN"
26b3a17f58
libc/eglibc: fix download
...
Fix the test to check if download is forced.
2009-09-12 00:11:12 +02:00
Yann E. MORIN"
ea352a96a3
samples: show the PPL, GLoog/ppl and MPC versions
...
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07 19:03:09 +02:00
Yann E. MORIN"
565378d2b9
samples: fix displaying selected tools
...
Do display selected tools / debug facilities when displaying a sample.
2009-09-07 18:55:11 +02:00
Yann E. MORIN"
0d434aabb6
samples: replace usage of echo with printf
...
Using printf instead of echo allows easier and better formatting.
2009-09-07 18:40:30 +02:00
Yann E. MORIN"
3136ecb066
tools wrapper: fix building
...
Remove the build tools only after the wrapper is built.
Use the corect C compiler to build the tools wrapper.
Use the correct log level.
2009-09-06 17:58:05 +02:00
Yann E. MORIN"
4a1d73f209
crosstool.sh.in: better mesage when creating script-overrides
2009-09-06 16:49:54 +02:00
Yann E. MORIN"
9ce2053352
log functions: fix CT_DoLog and CT_DoExecLog
...
$@ and $* are different when in double quotes; use $* to print the message.
2009-09-06 16:49:20 +02:00
Yann E. MORIN"
a6a0bf70ed
config.{gues,sub}: update
2009-09-01 10:41:44 +02:00
Yann E. MORIN"
2efc2b2319
config: add fallback to patch order
...
Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.
2009-08-31 12:47:58 +02:00
Yann E. MORIN"
b09e70bda5
config: add the local,bundled patch order
...
This ordering first applies the local patches, then the bundeld ones.
2009-08-31 12:51:53 +02:00
Yann E. MORIN"
dc836b5e4d
config: make selecting the patch origin a choice rather than a bool
2009-08-31 12:05:52 +02:00
Yann E. MORIN"
c992de9eb5
functions: do not over-detect error when patching
2009-08-31 11:57:13 +02:00
Yann E. MORIN"
af08c2b96c
tools wrapper: fix error due to unused argument
...
In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.
2009-08-30 19:58:41 +02:00
Yann E. MORIN"
4bb7da8056
tools wrapper: correctly install the C wrapper
...
When building the C wrapper, specify the source file to be compiled.
2009-08-30 19:54:51 +02:00
Yann E. MORIN"
4ae5ff5fd8
tools wrapper: introduce the silent WRAPPER_NEEDED config option
...
Add the WRAPPER_NEEDED silent config option, that can be selected by
components that require it (companion libs so far).
Rely on this config option when deciding to install the wrapper,
instead of checking GMP/MPFR or PPL/CLoog/MPC.
2009-08-30 00:57:40 +02:00
Yann E. MORIN"
b7b6314a81
Merge the C wrapper.
2009-08-30 00:35:58 +02:00
Yann E. MORIN"
d811941c9a
config: choose whether to use the shell or the C wrapper
...
Offer a config choice on whether to isntall the script wrapper, or
the compiled C wrapper. Update docs/overview.txt accordingly.
2009-08-30 00:27:12 +02:00
Yann E. MORIN"
8f051d8ef6
tool wrapper: add initial wrapper coded in C
...
Add an initial wrapper:
- find the realpath of the tool being called
- add the '.' in front of the tool name
- add the '/lib' dir to the base dir of the tool
- set and export LD_LIBRARY_PATH
- execve the real tool
2009-08-29 18:27:47 +02:00
Yann E. MORIN"
922486d2b1
duma: fix downloading by forcing extension to .tar.gz
...
Downoading a non-existing file from sourceforge gives you a "200 OK"
and an index.html. As we try to retrieve a .tar.bz2 first, and duma
is bundled in a .tar.gz, we won't get appropriate content, so
just force the extension to avoid the problem.
Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
2009-08-28 11:57:29 +02:00
Jim F
015719a12a
glibc: fix build error caused by incorrect variable assignment
...
During the conversion to using bash arrays, the glibc build script
was improperly converted, and contains an incorrect variable
assignment to the config_options array.
2009-08-24 19:20:57 +02:00
Yann E. MORIN"
4de6139e7e
Merge the bash_array branch.
...
For every components where it makes sense, use bash arrays (instead
of a string with space-separated values) to store the options pased
to ./configure.
2009-08-19 19:52:04 +02:00
Yann E. MORIN"
83a48e12f0
Allow setting --enable-cxx-flags on gcc ./configure
...
Some setups require one to pass extra CXX flags at the time of ./configure.
Make it easy.
2009-08-19 19:44:45 +02:00
Yann E. MORIN"
8dd4a2de00
Use bash arrays to store binutils config options
2009-08-19 19:44:44 +02:00
Yann E. MORIN"
a72cc670b8
Make glibc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
59a37160af
Make gdb's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
25303fc30a
Make dmalloc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
f255716872
Make gcc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
3af5465103
Make eglibc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:30 +02:00
Yann E. MORIN"
e4855367b4
[libc-eglibc] Rewrite part of the code
...
Rewrite part of the code to better match the rest.
Most notably, rewrite handling of:
if [ ... ] && [ ... ]
to:
if [ ... -a ... ]
This has the positive side effect of calling "[" only once, although
"[" is probably a shell built-in.
2009-07-27 22:16:07 +02:00
Yann E. MORIN"
795d135b7f
[libc-eglibc] Fix testing for existing files
...
To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]"
Checking for a file exsitence with "-a" is a bashism.
Althoug we _are_ using bash, it's disturbing as it can be misread as
the 'and' operator. Fix by using "-f".
2009-07-27 22:14:08 +02:00
Yann E. MORIN"
424f64c487
Merge the AVR32 support branch to the default branch.
2009-08-08 22:15:25 +02:00
Oron Peled
b0f5a18c32
[complib:mpfr] Fix building MPFR in some weird cases
...
The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.
In my case the source directory was named:
.../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
.../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests
Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]
So the attached patch simplify the macros and pass the path as string
from the Makefile.
2009-08-03 00:49:25 +02:00
Yann E. MORIN"
946a86fb67
[config] Merge CONFIG_SHELL selection.
2009-08-03 08:50:56 +02:00
Yann E. MORIN"
33ed1557b6
Merge the queue with all new component versions.
2009-08-02 23:38:37 +02:00
Yann E. MORIN"
961bf299cd
[scripts-add-version] Handle gcc 4.4+
...
Handle gcc-4.4+ when adding a new gcc version.
2009-08-02 23:33:38 +02:00
Yann E. MORIN"
27cdd4367c
[config] Allow user to specify custom CONFIG_SHELL
...
In case the shell the user wants to use as CONFIG_SHELL is located in a
weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4),
let the user enter the patch to the shell.
2009-08-02 20:06:44 +02:00
Yann E. MORIN"
d6195c6483
[config] Add bash as a possible CONFIG_SHELL
...
On some systems and/or for some components, it may be necessary to
explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02 20:06:06 +02:00
Yann E. MORIN"
a08142a02a
[config] Change the way to select the CONFIG_SHELL
...
Transform the single boolean option to a 'choice' selection
with two options: "sh" and "ash".
This is needed to later add "bash" as override.
2009-08-02 23:43:15 +02:00
Bart vdr. Meulen
7c3dcb42dc
fix wrapper script for symlinks
...
The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
2009-08-02 16:45:43 +02:00
Bart vdr. Meulen
a183b3f8bc
Add g++ to required tools
...
Because gmp is now always build with --enable-cxx,
g++ has become a required tool
Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
---
2009-08-02 16:45:33 +02:00
Yann E. MORIN"
5a4ac4ed36
[samples] Don't mix canadian samples with non-canadian ones.
...
- save the canadian smples in their own way, so as not to
mix non-canadian samples with canadian ones
- list canadian samples with the host information
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
f65cb24909
Cleanup the handling of canadian settings
...
Bring handling the 'canadian' settings as par with the existing
'cross' settings.
2009-06-26 19:09:22 +02:00
Bart van der Meulen
1a84e201d0
Add support code for the canadian-cross case.
...
Add implementation for a candadian build option already
present in crosstool in order to build a cross-compiler
where build != host != target
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
38916b8bfb
[samples] Make saveSample.sh a little bit more generic
...
Prepare saving canadian samples by making the saveSample.sh script
a little bit more generic, using conditional code-paths (even if
there's currently a single code-path).
2009-06-26 19:09:22 +02:00
Bart van der Meulen
c8c70933f0
Don't use prefix/bin to install the buildtools.
...
Collect the build tools in a seperate folder in order to prevent accidental
calling our newly build tools.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26 19:09:22 +02:00
Bart van der Meulen
936286668b
Fix MPFR build to recognise the Mingw32 case.
...
Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.
Also fix recognising Cygwin hosts.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23 22:57:12 +02:00
Yann E. MORIN"
ecb02cb9dc
Use configured shell in all build-tools wrappers
...
Abide by the user's wish to use dash as shell in
build-tools wrappers, instead of plain /bin/sh.
2009-06-23 22:56:39 +02:00
Bart van der Meulen
f9d93f2b91
Fix creating the .../lib/ directory structure in the non-sysroot case
...
The symbol link that is created in the sysroot directory only needs
to be made when the cross compiler is build with the sysroot option
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23 22:52:14 +02:00
Yann E. MORIN"
b816a5e6c9
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
...
In the non-sysroot-ed case, the debuf-root directory would not be set;
debug tools would have been installed God-only-knows-where...
Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
2009-06-23 22:52:13 +02:00
Yann E. MORIN"
abfd68cbc3
[tools] Update config.guess and config.sub
...
Update from upstream.
2009-06-23 22:52:13 +02:00
Yann E. MORIN"
4f48f57e86
Remove left-over debug lines.
...
Remove two lines of code that were commented out and are definitely not used.
2009-06-23 22:49:50 +02:00
Yann E. MORIN"
56a26d84e1
Check paths sanity before they get used.
...
Don't use the PATHs before they get checked for sanity.
2009-06-22 21:53:09 +02:00
Yann E. MORIN"
f8828f22c3
Better check for spaces in paths
...
Spaces are evil in paths. Print the path that contains a sapce.
Don't print computed paths, as they'rebased on provided paths,
and don't get space added into them.
2009-06-22 21:51:14 +02:00
Yann E. MORIN"
4cd607512b
[functions] Allow newlines (\n) in log messages
...
Allow caller to log messages with embedded newlines when calling
CT_DoLog and other logging functions (eg. CT_Abort...).
2009-06-22 21:51:13 +02:00
Martin Lund
bfe21badf8
Removed debug line
2009-06-20 19:42:00 +02:00
Martin Lund
b4467e6617
Fix libc config
2009-06-20 18:54:56 +02:00
Martin Lund
8fb846f5b5
Misc AVR32 cleanups.
2009-06-20 17:16:54 +02:00
Yann E. MORIN"
3ffe23e274
[finish-step] Fix the tools wrappers
...
Use the correct variable when iterating upon the tools
name to correctly link the tools to the wrapper.
2009-06-18 18:55:07 +02:00
Yann E. MORIN
302dd084c2
[gcc] Merge the gcc-4.4 suport to the default branch, from 1407:83083566fdd0
2009-06-17 11:38:04 +02:00
Yann E. MORIN
a7ff05b022
[finish-step] Use local variable in finish-step
...
When wrapping the tools, use a local variable when iterating.
2009-06-14 22:57:57 +02:00
Martin Lund
6b2b096869
Changed copyright
2009-06-14 22:43:33 +02:00
Yann E. MORIN"
c564be2675
populate: fix installing dynamic linker 'ld.so'
...
The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.
Fix detecting src == dst.
Use a simpler command to copy src -> dst.
Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.
-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
2009-06-11 21:47:19 +00:00
Yann E. MORIN"
a07693b13c
/devel/gcc-4.4:
...
- ./configure: check for 'stat', needing to install the tools wrapper
- wrapper: make it a POSIX-compliant script, restore relocatability
- don't install the wrapper for symlinks
-------- diffstat follows --------
/devel/gcc-4.4/configure | 1 1 0 0 +
/devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------
/devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++---
3 files changed, 19 insertions(+), 9 deletions(-)
2009-06-02 21:01:19 +00:00
Yann E. MORIN"
d9e898bdbc
/devel/gcc-4.4:
...
- add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++
/devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++
2 files changed, 34 insertions(+)
2009-06-02 17:33:04 +00:00
Yann E. MORIN"
d9ba421c78
/devel/gcc-4.4:
...
- populate.in: typo
-------- diffstat follows --------
/devel/gcc-4.4/scripts/populate.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-06-02 06:34:11 +00:00
Yann E. MORIN"
1505eb7621
/devel/gcc-4.4:
...
- build shared CLooG/ppl and MPC libraries, don't build static ones.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 4 2 2 0 ++--
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
2009-06-01 18:03:23 +00:00
Yann E. MORIN"
f05ecb8360
/devel/gcc-4.4:
...
- PPL, CLooG/PPL: remove uselessly installed files.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 3 0 0 +++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 3 3 0 0 +++
2 files changed, 6 insertions(+)
2009-06-01 15:53:42 +00:00
Yann E. MORIN"
5b6ee5d9a7
/devel/gcc-4.4:
...
- fix buildging glibc in //
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/libc/glibc.sh | 25 17 8 0 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
2009-06-01 11:34:57 +00:00
Yann E. MORIN"
637b137512
/devel/gcc-4.4:
...
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset
- gcc-4.4.0 auto-selects and uses appropriate companion linraries
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++
/devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++
/devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++
/devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++
/devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++
/devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 +
/devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 +
27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-27 21:16:01 +00:00
Yann E. MORIN"
5801d8c588
/devel/gcc-4.4:
...
- crosstool-NG.sh.in: include prefix/lib in LD_LIBRARY_PATH
-------- diffstat follows --------
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 4 4 0 0 ++++
1 file changed, 4 insertions(+)
2009-05-27 21:08:17 +00:00
Yann E. MORIN"
9a954cd1a2
/devel/gcc-4.4:
...
- functions: add a utility function that sets and exports LD_LIBRARY_PATH
-------- diffstat follows --------
/devel/gcc-4.4/scripts/functions | 30 30 0 0 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
2009-05-27 21:07:37 +00:00
Yann E. MORIN"
f149116490
/devel/gcc-4.4:
...
- gcc build script: no longer use the gcc-4.4 snapshot version
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/cc/gcc.sh | 33 13 20 0 +++++++++++++--------------------
1 file changed, 13 insertions(+), 20 deletions(-)
2009-05-25 20:09:17 +00:00
Yann E. MORIN"
21649be476
/devel/gcc-4.4:
...
- commonalise the config-knobs that:
- enable checking the newly built companion libraries
- enable building the companion libraries for the target
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +-
/devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++--------
11 files changed, 42 insertions(+), 85 deletions(-)
2009-05-25 19:46:58 +00:00
Yann E. MORIN"
52e72144d7
/devel/gcc-4.4:
...
- add support for building the MPC library.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++---
7 files changed, 107 insertions(+), 9 deletions(-)
2009-05-25 18:22:26 +00:00
Yann E. MORIN"
843a16f70c
/devel/gcc-4.4:
...
- GMP: unconditionnaly build the C++ wrappers and use exceptions
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
2009-05-25 17:26:21 +00:00
Yann E. MORIN"
822fb9415e
/devel/gcc-4.4:
...
- add support for building CLooG
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 +
6 files changed, 99 insertions(+), 1 deletion(-)
2009-05-24 22:04:14 +00:00
Yann E. MORIN"
6c5993d038
/devel/gcc-4.4:
...
- cleanup the PPL build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 22:02:30 +00:00
Yann E. MORIN"
e03219c3d6
/devel/gcc-4.4:
...
- cleanup GMP build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-24 21:59:08 +00:00
Yann E. MORIN"
6f04a46339
/devel/gcc-4.4:
...
- build a shared ppl, don't build a static ppl
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-05-24 21:49:30 +00:00
Yann E. MORIN"
3b72d01b52
/devel/gcc-4.4:
...
- build a shared mpfr, don't build a static mpfr
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 21:48:41 +00:00
Yann E. MORIN"
2614b1eb7b
/devel/gcc-4.4:
...
- build a shared gmp, don't build a static gmp
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-24 21:46:30 +00:00
Martin Lund"
07a71d8c42
Added support for Atmel AVR32 headers
2009-05-23 18:46:42 +00:00
Martin Lund"
72aea3b682
Temp fix for newlib configure. Updated avr32 crosstool.config.
2009-05-22 20:44:01 +00:00
Martin Lund"
a94b870756
Added initial AVR32 support (bare-metal,newlib)
2009-05-22 14:46:18 +00:00
Yann E. MORIN"
3a85d55aa8
/devel/gcc-4.4:
...
- add PPL download mirror at the gcc ftp site.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-05-21 19:07:16 +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"
f759f2676f
elf2flt:
...
- fix white-space damage
-------- diffstat follows --------
/trunk/scripts/build/elf2flt.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-13 21:00:50 +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"
e89072b5a5
Add a new action: show-tuple
...
- in a directory containing a crosstool-NG configuration,
prints the tuple of the configured target to stdout.
-------- diffstat follows --------
/trunk/Makefile.in | 4 3 1 0 +++-
/trunk/scripts/showTuple.sh.in | 30 30 0 0 ++++++++++++++++++++++++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
/trunk/ct-ng.in | 10 9 1 0 +++++++++-
4 files changed, 43 insertions(+), 3 deletions(-)
2009-05-13 18:10:47 +00:00
Yann E. MORIN"
f24796f24a
sstrip:
...
- update the upstream URL, now buildroot has migrated to using git
instead of svn.
-------- diffstat follows --------
/trunk/scripts/build/tools/200-sstrip.sh | 11 8 3 0 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
2009-05-11 20:45:42 +00:00
Yann E. MORIN"
45ccabcbfb
Fix building uClibc:
...
- fix headers installation
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-11 20:19:50 +00:00
Yann E. MORIN"
656d56551e
Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).
...
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html
-------- diffstat follows --------
/trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++
/trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++-
2 files changed, 58 insertions(+), 1 deletion(-)
2009-05-07 19:30:32 +00:00
Yann E. MORIN"
7032dea8ba
Fix installing uClibc headers for versions prior to 0.9.30.
...
Fix a comment about installing uClibc.
Automatically enable // build for uClibc versions that can be built in //.
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++---------
/trunk/config/libc/uClibc.in | 12 7 5 0 +++++++-----
2 files changed, 30 insertions(+), 14 deletions(-)
2009-05-07 18:56:31 +00:00
Yann E. MORIN"
a0cf91e83b
Add support for building PPL:
...
- PPL will be needed to correctly build gcc-4.4+ for the
GRAPHITE loop optimisation
-------- diffstat follows --------
/trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++---
/trunk/scripts/addToolVersion.sh | 3 2 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++
/trunk/config/companion_libs.in | 22 19 3 0 ++++++++++--
7 files changed, 143 insertions(+), 9 deletions(-)
2009-05-05 22:04:20 +00:00
Yann E. MORIN"
38c549d748
Prepare for gcc-4.4:
...
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'
-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 deletions(-)
2009-05-03 21:10:15 +00:00
Yann E. MORIN"
ba23a380ce
Update the config.{guess,sub} scripts.
...
-------- diffstat follows --------
/trunk/scripts/config.guess | 7 5 2 0 +++++--
/trunk/scripts/config.sub | 3 2 1 0 ++-
2 files changed, 7 insertions(+), 3 deletions(-)
2009-04-27 17:05:49 +00:00
Yann E. MORIN"
1805f4e62d
There's no longer any reason to require GNU awk:
...
- the only part that required it (socks proxy settings) is gone,
- all remaining awk scripts are POSIXly correct (or should be).
-------- diffstat follows --------
/trunk/configure | 5 2 3 0 ++---
/trunk/Makefile.in | 2 0 2 0 --
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/build/internals.sh | 1 0 1 0 -
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
/trunk/scripts/functions | 4 2 2 0 ++--
/trunk/scripts/saveSample.sh.in | 4 2 2 0 ++--
7 files changed, 8 insertions(+), 12 deletions(-)
2009-04-20 21:10:03 +00:00
Yann E. MORIN"
06b48c1518
Set the execute bit on generated script at build time, not install time.
...
Do not advertise "make install" when ./configure-d with "--local".
-------- diffstat follows --------
/trunk/configure | 8 5 3 0 +++++---
/trunk/Makefile.in | 10 3 7 0 +++-------
2 files changed, 8 insertions(+), 10 deletions(-)
2009-04-20 19:57:16 +00:00
Yann E. MORIN"
9643bcbb55
Simplify the mirror settings.
...
-------- diffstat follows --------
/trunk/scripts/functions | 7 3 4 0 ++---
/trunk/config/global/download.in | 60 14 46 0 +++++++++++-----------------------------------
2 files changed, 17 insertions(+), 50 deletions(-)
2009-04-19 16:58:21 +00:00
Yann E. MORIN"
15e04fe2de
Get rid of the proxy settings, once and for all.
...
They have nothing to do in here, just let the user
configure his/her system appropriately.
-------- diffstat follows --------
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 100 0 100 0 -----------------------------
/trunk/config/global/download.in | 148 0 148 0 -------------------------------------------
3 files changed, 249 deletions(-)
2009-04-19 16:34:59 +00:00
Yann E. MORIN"
9be02f047e
Use "${awk}", not gawk.
...
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
/trunk/scripts/functions | 4 2 2 0 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
2009-04-06 20:27:17 +00:00
Yann E. MORIN"
529d2f6cbe
Cleanup the tic build used for native ncurses build, itself needed for native gdb build.
...
/trunk/scripts/build/debug/300-gdb.sh | 24 12 12 0 ++++++++++++------------
/trunk/scripts/build/internals.sh | 1 0 1 0 -
2 files changed, 12 insertions(+), 13 deletions(-)
2009-03-30 21:17:21 +00:00
Yann E. MORIN"
edf2be89a1
Remove test files.
...
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2009-03-29 21:05:13 +00:00
Yann E. MORIN"
91a189c7ba
Only create the state dir if asked for a restartable build:
...
- introduce the config dir, where components can store their config files
- move the munged uClibc config file to the config dir
- now, the state dir really is an indication that a build can be restarted
Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency
of the state dir usage, and suggesting this change.
/trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++--
/trunk/scripts/functions | 15 12 3 0 ++++++++++++---
3 files changed, 22 insertions(+), 8 deletions(-)
2009-03-27 23:40:07 +00:00
Yann E. MORIN"
3a181fe514
Detect and abort on partially patched component.
...
/trunk/scripts/functions | 18 15 3 0 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
2009-03-27 21:30:47 +00:00
Yann E. MORIN"
b79ffe16c6
Refuse to build/install on file systems that are *not* case-sensitive.
...
/trunk/scripts/crosstool-NG.sh.in | 9 9 0 0 +++++++++
1 file changed, 9 insertions(+)
2009-03-27 18:53:54 +00:00
Yann E. MORIN"
6501c29fd1
Merge r1432:1437 from /branches/newlib into /trunk :
...
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)
/trunk/scripts/build/cc/gcc.sh | 4 4 0 0 ++++
/trunk/config/debug/gdb.in | 5 5 0 0 +++++
/trunk/config/libc/glibc.in | 1 1 0 0 +
/trunk/config/libc/uClibc.in | 1 1 0 0 +
/trunk/config/libc/eglibc.in | 2 1 1 0 +-
/trunk/config/config.mk | 20 8 12 0 ++++++++------------
/trunk/config/arch/sh.in | 2 1 1 0 +-
/trunk/config/arch/ia64.in | 2 1 1 0 +-
/trunk/config/arch/powerpc64.in | 2 1 1 0 +-
/trunk/config/libc.in | 4 0 4 0 ----
10 files changed, 23 insertions(+), 20 deletions(-)
2009-03-26 18:58:13 +00:00
Yann E. MORIN"
355586027b
Add support for building toolchains with gcc-4.4 snapshots.
...
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).
We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.
Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.
Patch was adpated by me, mostly to better fit the configuration layout.
/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
2009-03-26 18:47:34 +00:00
Yann E. MORIN"
6c060f2375
Finally make ncurses-5.7 corctly build:
...
- find the executables extension (needed under some OS, like Winblows)
- build tic in //
- simplify the make and install command lines
/trunk/scripts/build/debug/300-gdb.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-03-24 17:39:45 +00:00
Yann E. MORIN"
0e4c0c8815
Log the save/restore messages at a level that is always visible.
...
/trunk/scripts/functions | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-24 17:37:52 +00:00
Yann E. MORIN"
37d19f8954
Final touch to the ncurses build step:
...
- use build tools to build tic, instead of native ones.
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
2009-03-23 23:35:36 +00:00
Yann E. MORIN"
893f21944c
xlcwu <xlcwu.taiwan@gmail.com> wrote:
...
Seems ncurses 5.7 need build host stage for tic step; if use host tic
(ubuntu) the build process hang in the below step.
So I guess need to build ncurses host stage to build new tic
and provided a patch to that efect.
And in fact, we do need "tic" to run on the _build_ system to properly
generate the terminfo database.
Note: this is fully functional, but still requires a litle bit of
tweaking so that ${CT_BUILD}-gcc gets used instead of plain gcc.
But that's a minor problem for now...
/trunk/scripts/build/debug/300-gdb.sh | 35 33 2 0 +++++++++++++++++++++++++++++++++--
/trunk/scripts/build/internals.sh | 1 1 0 0 +
2 files changed, 34 insertions(+), 2 deletions(-)
2009-03-23 23:05:08 +00:00
Yann E. MORIN"
9d6fe97aae
Update the config.{guess,sub} files.
...
/trunk/scripts/config.guess | 21 16 5 0 ++++++++++++++++-----
/trunk/scripts/config.sub | 10 8 2 0 ++++++++--
2 files changed, 24 insertions(+), 7 deletions(-)
2009-03-15 20:52:50 +00:00
Yann E. MORIN"
509b3e52e9
Sanitise using glibc cvs exports:
...
- recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site
- always use a dot in version strings (eg. 2.9, not 2_9)
/trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++-------------------
/trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++--------
2 files changed, 121 insertions(+), 85 deletions(-)
2009-03-15 20:50:40 +00:00
Yann E. MORIN"
24003e416f
Do not copy ecj.jar when it's not required.
...
/trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2009-03-15 20:08:06 +00:00
Yann E. MORIN"
6d392339c6
When patching, always assume the package has been previously extraacted (don't check).
...
"chmod u+w" the full src tree: because of nochdir and cvs snapshots, we can't reliably know were we are...
/trunk/scripts/functions | 11 3 8 0 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
2009-03-15 20:06:40 +00:00
Yann E. MORIN"
36871474d3
Correctly use CT_DoExecLog with wget and curl.
...
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
2009-03-13 10:34:53 +00:00
Yann E. MORIN"
9bd1c96d1f
Fix building MPFR >= 2.4.0.
...
/trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)
2009-03-08 22:13:27 +00:00
Yann E. MORIN"
e1063055a2
Use "grep -E" instead of the deprecated "egrep".
...
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +-
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
2009-03-08 17:09:39 +00:00
Yann E. MORIN"
8d993f036a
Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
...
extract and patch sstrip from buildroot.
/trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
2009-03-08 11:15:58 +00:00
Yann E. MORIN"
8e49c29255
Add CT_GetSVN to commonalise retrieval from SVN (ala CT_GetCVS).
...
/trunk/scripts/functions | 34 33 1 0 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
2009-03-08 11:14:54 +00:00
Yann E. MORIN"
a0c6dea176
Fix extracting/patching DUMA:
...
- DUMA uses an underscore between the name and version, not a dash.
/trunk/scripts/build/debug/200-duma.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2009-03-06 13:27:40 +00:00
Yann E. MORIN"
5f5cf95dd0
Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by SuperH.
...
Set appropriate defaults depending on target.
/trunk/scripts/build/libc/glibc.sh | 14 7 7 0 +++++++-------
/trunk/config/libc/glibc-eglibc.in-common | 15 15 0 0 +++++++++++++++
2 files changed, 22 insertions(+), 7 deletions(-)
2009-03-05 17:50:42 +00:00
Yann E. MORIN"
fec3baeca6
Check that a pacakge was previously extracted prior to patching.
...
Fix a comment.
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-04 18:25:58 +00:00
Yann E. MORIN"
806a517cc2
Move do_finish from scripts/functions to its own file in scipts/build/internals.sh.
...
/trunk/scripts/build/internals.sh | 907 4 903 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 8 4 4 0
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 +
/trunk/scripts/functions | 48 0 48 0 --
4 files changed, 9 insertions(+), 955 deletions(-)
2009-03-04 17:59:35 +00:00
Yann E. MORIN"
46d3ec734a
Warn the user when he/she tries to save a sample that uses local patches
...
and/or custom Linux kernel headers.
/trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
2009-03-03 21:53:50 +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"
6822fae02e
Allow user to add a directory component in the sys-root path.
...
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR).
As a side effect, fix creating lib64->lib symlinks.
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 6 3 3 0 +++---
/trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++---------
/trunk/scripts/functions | 2 1 1 0 +-
/trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++
8 files changed, 34 insertions(+), 19 deletions(-)
2009-03-03 17:41:59 +00:00
Yann E. MORIN"
fd268ea38b
Fix extracting tarballs.
...
/trunk/scripts/functions | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2009-02-19 07:38:32 +00:00
Yann E. MORIN"
f962e240a3
On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. Offer an option to enable/disable the uClibc hostutils build.
...
/trunk/scripts/build/libc/uClibc.sh | 39 12 27 0 ++++++++++++---------------------------
/trunk/config/libc/uClibc.in | 10 10 0 0 ++++++++++
2 files changed, 22 insertions(+), 27 deletions(-)
2009-02-11 10:40:26 +00:00
Yann E. MORIN"
f621e51c3d
"chmod -R u+w" extracted tarballs, as some may have read-only files in them (ncurses-5.7 does).
...
/trunk/scripts/functions | 3 3 0 0 +++
1 file changed, 3 insertions(+)
2009-02-10 08:52:13 +00:00
Yann E. MORIN"
2177fb68ca
Put the uclibc munged config file in the "state" directory, so it survives a restart.
...
/trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2009-02-08 12:15:52 +00:00
Yann E. MORIN"
2e0b9c9e31
Make MPFR build under Cygwin.
...
/trunk/scripts/build/mpfr.sh | 24 20 4 0 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
2009-02-07 20:11:13 +00:00
Yann E. MORIN"
cb8cfd3d80
Don't add versions that already exist.
...
/trunk/scripts/addToolVersion.sh | 15 14 1 0 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
2009-02-02 21:56:30 +00:00
Yann E. MORIN"
7fc16eff80
Fix patch-renumber:
...
- look at the patch directory when using svnversion, not at current directory
- some code beautification.
/trunk/scripts/patch-renumber.sh | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2009-02-01 23:15:59 +00:00
Yann E. MORIN"
8eed91405e
Fix populate to correctly use tools discovered via ./configure.
...
/trunk/scripts/functions | 11 8 3 0 ++++++++---
/trunk/scripts/populate.in | 6 4 2 0 ++++--
2 files changed, 12 insertions(+), 5 deletions(-)
2009-02-01 22:41:16 +00:00
Yann E. MORIN"
692749b67e
Use tools discovered by ./configure in scripts/toolchain-config.in.
...
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 +
/trunk/scripts/toolchain-config.in | 2 1 1 0 +-
2 files changed, 2 insertions(+), 1 deletion(-)
2009-02-01 18:51:19 +00:00
Yann E. MORIN"
d80eda68dd
Use tools discovered via ./configure in scripts/showSample.sh; make it a POSIX shell script.
...
/trunk/scripts/showSamples.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-02-01 18:43:45 +00:00
Yann E. MORIN"
430ce931e1
Use tools discovered by ./configure in scripts/saveSample.sh
...
/trunk/Makefile.in | 7 6 1 0 ++++++-
/trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++----------
2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01 17:11:46 +00:00
Yann E. MORIN"
3f4bf75a27
Fix removing directories.
...
/trunk/scripts/functions | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-02-01 17:04:00 +00:00
Yann E. MORIN"
94e376af77
Add support for powerpc64, along with an EXPERIMENTAL sample.
...
/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 -
/trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 -
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++
/trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 +
/trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 -
/trunk/config/arch/powerpc.in | 15 0 15 0 -
/trunk/config/arch/powerpc64.in | 19 3 16 0 -
7 files changed, 400 insertions(+), 79 deletions(-)
2009-01-31 17:39:35 +00:00
Yann E. MORIN"
04fa7e0569
Further handle the lib64 -> lib symlinks.
...
It at least helps powerpc64 to build, and should innocuous to other archs.
/trunk/scripts/crosstool-NG.sh.in | 8 6 2 0 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
2009-01-31 17:38:26 +00:00
Yann E. MORIN"
1a346ed273
Fix downloading with CT_GetFile when no mirror is set.
...
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2009-01-31 13:15:18 +00:00
Yann E. MORIN"
2aaa5b8b68
Update populate:
...
- use tools found by ./configure
- some POSIX and eye-candy cleanups
/trunk/scripts/functions | 7 4 3 0 +++--
/trunk/scripts/populate.in | 70 46 24 0 ++++++++++++++++++++++++++++++++++------------------
2 files changed, 50 insertions(+), 27 deletions(-)
2009-01-29 22:35:26 +00:00