Commit Graph

60 Commits

Author SHA1 Message Date
Maxime Petazzoni
d147b81fda Re-implement the source-check and external-deps targets
The new DL_MODE variable dispatches between the various download
implementations of each method (Git, Subversion, Wget) to deal with the
normal download (default mode, 'DOWNLOAD'), the source-check
('SOURCE_CHECK') and to show the external dependencies for external-deps
('SHOW_EXTERNAL_DEPS').

For the latter, the legacy script wget-show-external-deps.sh is no
longer required as $(WGET) isn't called directly anymore but always
through the DOWNLOAD helper.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-13 08:18:40 +02:00
Maxime Petazzoni
07b2af1a45 Remove the spider feature
In preparation for the re-work of the DOWNLOAD helper to support
multiple download methods and protocols, the spider feature used with
wget is removed for now until it is re-implemented on top of the new
download methods.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-09-13 08:17:46 +02:00
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
Peter Korsgaard
bdccd7b2e6 mpfr: use patch-kernel to apply downloaded patch
Reported by Emmanuel Riou <riou.emmanuel@googlemail.com>.

With the recent change to use $(TOPDIR)/dl as default for $(DL_DIR)
(416323e93), DL_DIR is now a relative path (./dl), which breaks the
mpfr patch handling as it changes dir.

Fix is by using patch-kernel instead of calling patch, which does
the right thing.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-24 17:14:31 +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
7f975775b4 mpfr: bump version 2009-03-16 15:47:58 +00:00
Peter Korsgaard
dd0345aeaa mpfr: bump version 2009-02-13 08:34:01 +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
91f780bc05 mpfr: bump version
I know that changing something as fundamental as mpfr this close to the
release isn't really ideal, but it's listed as the minimum version
for gcc 4.3.x:

http://gcc.gnu.org/install/prerequisites.html

Bernhard's tree has been using 2.3.2 since October, so the risk is probably
not that big though.
2009-02-01 19:37:09 +00:00
Peter Korsgaard
6beda1f236 package/mpfr: fix make source-check/external-deps issue 2009-01-16 12:34:44 +00:00
Peter Korsgaard
3ff43a6838 buildroot: convert remaining WGET users to DOWNLOAD helper 2009-01-16 12:07:53 +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
7bcbde3760 Remove superfluos slash character from MPFR_SITE 2008-05-22 21:40:50 +00:00
John Voltz
e73610e136 reverted last change 2008-03-11 17:52:40 +00:00
John Voltz
ea3a9122a6 fixed path to mpfr patch 2008-03-11 15:58:05 +00:00
David Anders
b3aad2c71f change download url to be dynamic basic on version number 2008-01-04 20:07:31 +00:00
Ulf Samuelsson
ebc4ad1e98 Cleanup logic of mpfr build, and patch using recommended switches 2007-10-31 06:52:26 +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
1dc51b2582 - wants --with-gmp-build nowadays 2007-09-17 13:44:03 +00:00
Bernhard Reutner-Fischer
ae456d8cf3 - apply fixes for 2.3.0 2007-09-17 11:20:14 +00:00
Bernhard Reutner-Fischer
0a157d2f05 - bump version 2007-08-31 14:30:22 +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
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
8b855510d5 - fix previous incomplete commit of mine 2007-03-22 16:14:42 +00:00
Bernhard Reutner-Fischer
d733bd626a - download eventual mpfr patchfile to dl_dir. Closes #1283 2007-03-22 13:21:05 +00:00
Bernhard Reutner-Fischer
5754880c4a - apply bugfixes ontop of 2.2.1 2007-03-19 14:16:10 +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
da84ff34d0 - forgot to mkdir 2007-01-16 21:00:54 +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
e41b98b1e2 - Add target for .so without the LIBVERSION. 2006-12-22 10:20:56 +00:00
Bernhard Reutner-Fischer
584402fd02 - forgot to bump the libversion 2006-12-21 17:20:42 +00:00