Commit Graph

42 Commits

Author SHA1 Message Date
Peter Korsgaard
f561763e91 gmp/mpfr: make sure host builds add source targets to HOST_SOURCE
Closes #1183.

When gmp/mpfr is needed for the host (E.G. when using an internal toolchain),
the host-lib{gmp,mpfr}-source targets weren't added to HOST_SOURCE, so
make source / external-deps didn't handle them.

Notice that we have the same issue with the new host package support,
there we should probably use HOST_<package>_DEPENDENCIES for -source
dependencies.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-02-25 17:27:50 +01:00
Peter Korsgaard
3fdf0bffb8 buildroot: silence ./configure step when building with 'make -s'
We have been passing -q to ./configure when using 'make -s' for
packages using Makefile.autotools.in for some time. Do the same
for packages using autotools, but not using the
Makefile.autotools.in infrastructure, taking care to not do it
for packages with hand written configure scripts.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01 21:24:42 +02:00
Michael Roth
cb5710c538 rename TOOL_BUILD_DIR to TOOLCHAIN_DIR
To reflect the new output directory hierachy rename the Makefile variable
TOOL_BUILD_DIR to TOOLCHAIN_DIR.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:15:27 +02:00
Will Newton
422ce6536b package: Remove unnecessary dependencies on uclibc.
A C library will have been built by the toolchain makefiles, so there is no
need for packages to explicitly depend on uclibc.

Signed-off-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03 20:22:38 +02:00
Peter Korsgaard
5373ea118d gmp: use GNU_MIRROR for site 2009-02-13 08:33:57 +00:00
Peter Korsgaard
585bc18384 gmp: bump version 2009-02-13 08:33:50 +00:00
Peter Korsgaard
cf34241144 gmp/mpfr: use static libraries as make targets
The host shared objects are no more.
2009-02-10 16:38:53 +00:00
Peter Korsgaard
7897a950fe gmp/mpfr: fix up dependencies to stop continous rebuild with --disable-shared
Don't list the shared objects as targets for the host compilation now that
we compile with --disable-shared.
2009-02-10 15:19:31 +00:00
Peter Korsgaard
42f985687d gmp/mpfr: force static linking
Patch by Maxim Grigoriev.

GCC 4.3.x would link with the correct shared library versions, but without
any RPATH, so it ended up looking for then in /usr/lib/ at runtime.
This is less than good, as the version there might not be compatible, and
even worse for distributions like Ubuntu, which doesn't install those
libs by default, the build breaks.

Fix it by forcing static linking instead.
2009-02-09 13:01:32 +00:00
Peter Korsgaard
4a7bfd2775 package/: convert to DOWNLOAD helper 2009-01-16 11:42:52 +00:00
Peter Korsgaard
ac1d92c425 package/: get rid of unneeded $(strip ..) 2008-12-08 08:15:27 +00:00
Peter Korsgaard
84ddc66a41 toolchain/*: use CONFIG_UPDATE
Based on e0e0945e in Bernhard's tree.
2008-12-05 15:27:26 +00:00
Peter Korsgaard
4683420c4c Kconfig: remove 'default n'
'default n' is the default, so there's no need to say it explicitly.
2008-07-17 20:01:44 +00:00
Ulf Samuelsson
1ade867d5e Remove superfluous 'slash' in GMP_SITE 2007-10-13 23:09:49 +00:00
Bernhard Reutner-Fischer
14a71561a3 - just use the strip binary to avoid confusing libtool (quotes)
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-10-01 16:15:31 +00:00
Bernhard Reutner-Fischer
117fd56611 - libversion was changed 2007-09-17 13:12:38 +00:00
Bernhard Reutner-Fischer
b14ff97012 - bump version 2007-09-17 11:20:32 +00:00
Bernhard Reutner-Fischer
956d3eb78b - semicolon touchup. No other changes 2007-08-22 09:56:41 +00:00
Bernhard Reutner-Fischer
6c6cb06709 - sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* toolchain/*/*.mk */Makefile.in -l) 2007-08-21 19:20:18 +00:00
Bernhard Reutner-Fischer
f88b8e0bf3 - a few more cleanups (Cristian Ionescu-Idbohrn) 2007-08-21 10:40:18 +00:00
Ulf Samuelsson
e4ead9c13c Remove switches if sstrip is run 2007-08-21 01:53:57 +00:00
Bernhard Reutner-Fischer
74d518dc2a - add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGS
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-06-27 12:01:27 +00:00
Bernhard Reutner-Fischer
8027784c35 - add full sysroot support for non-ancient toolchains.
- start to separate usr/lib and lib to match normal system-layout
2007-06-20 11:26:36 +00:00
Bernhard Reutner-Fischer
885da5d67a - fix typo 2007-06-06 20:25:16 +00:00
Bernhard Reutner-Fischer
1a5c324167 - better also copy the link targets.. 2007-06-06 19:50:05 +00:00
Bernhard Reutner-Fischer
cca0bfe4e3 - prefer shared libs on the host 2007-06-06 19:45:46 +00:00
Bernhard Reutner-Fischer
c6eb2ed657 - adjust to use the gcc-4.2.0 release
- adjust default gdb version to 6.6
- fix stripping gmp/mpfr due to recent LIBTGTEXT changes
2007-06-06 18:14:00 +00:00
Bernhard Reutner-Fischer
c6e43c9da3 - fixup the extension for the host and start to honor BR2_PREFER_STATIC_LIB 2007-06-02 11:22:17 +00:00
Bernhard Reutner-Fischer
3096f34d27 - add BR2_PREFER_STATIC_LIB config option to be able to select if we prefer to build static or dynamic libs/bins.
- depending on the BR2_GNU_BUILD_SUFFIX, set the respective EXEEXT, LIBEXT, SHREXT extensions for use on the target.
Thanks to Tom for suplying a diff which implements these.
2007-06-01 22:16:28 +00:00
Eric Andersen
85d7f6f05f fixup package LDFLAGS handling 2007-03-13 22:59:59 +00:00
Bernhard Reutner-Fischer
6789698237 - fix prerequisites of binutils_target 2007-01-24 15:56:11 +00:00
Bernhard Reutner-Fischer
3968d231ff - don't rely on buggy gmp/mpfr on the host but use our own build iff we are about to build a somewhat current toolchain. 2007-01-22 19:17:23 +00:00
Bernhard Reutner-Fischer
a4427ac6c0 - use the correct path to configure 2007-01-16 19:48:46 +00:00
Bernhard Reutner-Fischer
4079ef67ca - provide host-libgmp and host-libmpfr 2007-01-16 13:26:32 +00:00
Eric Andersen
732d94d25f fixup a whole steaming pile of insanity. When packages are configured,
they should be configured with --prefix=/usr and we then need to use
make DESTDIR=$(STAGING_DIR) install to get things installed into the
staging directory.  The current situation for many packages, which use
--prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled
into the binary itself.

This also adds in a pile of libtool fixups.  Between broken pkgconfig,
broken libtool handling, and broken --prefix settings, its a wonder
things have worked as well as they have up till now.
 -Erik
2007-01-14 03:52:21 +00:00
Bernhard Reutner-Fischer
371120ce0e - small tweaks to the gmp and mpfr -clean targets to uninstall them frmo the target.
- minor adjustments.
2006-12-14 08:12:18 +00:00
Bernhard Reutner-Fischer
0d90c8ad17 - Add libgmp-host and libmpfr-host support. I'll need this for fortran support. 2006-12-13 19:57:05 +00:00
Bernhard Reutner-Fischer
66eb4c38a1 - pass target specific settings to configure when configuring for the target. 2006-12-02 18:32:33 +00:00
Bernhard Reutner-Fischer
3a65d24db5 - add "lib" prefix 2006-11-28 16:54:30 +00:00
Bernhard Reutner-Fischer
6e2823c1fa - add and use BR2_BZCAT config option. 2006-11-17 15:43:51 +00:00
Bernhard Reutner-Fischer
56fadb2259 - Typo fix: copy headers to the correct location on the target. 2006-11-17 11:51:17 +00:00
Bernhard Reutner-Fischer
35eecb2319 - add stubs for gmp and mpfr
not yet enabled
2006-09-28 17:38:06 +00:00