Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix external toolchain build | Thomas Petazzoni | 2008-11-11 | 1 | -4/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a new version of a patch already sent several times on the mailing-list, committed and reverted a few times by Daniel Laird, due to several imperfections. This version is a new try at finding a solution that works for everybody. Hopefully it'll work :-) The original problem is that external toolchain builds failed because packages couldn't find their dependent libraries at configure time and could not be linked with them. To fix these two problems, two things are added: * The TARGET_LDFLAGS variable was exposed as LDFLAGS at ./configure time thanks to TARGET_CONFIGURE_OPTS. The TARGET_LDFLAGS variable contains -L options with the path in the STAGING_DIR for the libraries. It allows ./configure scripts to properly compile the small test programs testing whether a dependency is properly installed. * The TARGET_CFLAGS contains a new -Wl,--rpath-link option for both $(STAGING_DIR)/lib and $(STAGING_DIR)/usr/lib. It allows library depending on other libraries to link properly. The TARGET_CFLAGS is exposed as CFLAGS in TARGET_CONFIGURE_OPTS. This new version fixes a problem encountered by hartleys <hartleys@visionengravers.com> when building the kernel. The problem was that the -Wl,--rpath-link options were added to LDFLAGS, while there are options for the C compiler, not the ld linker. Moving them to CFLAGS seems to fix the issue. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | ||||
* | package/Makefile.in: revert rpath setup for toolchains. | Daniel Laird | 2008-11-07 | 1 | -4/+3 |
| | | | | | | | | | | Revert the rpath patch, it looked good up until someone tried to build a kernel as well. This seems to break as a result. Will post a new patch soon and see how that goes.. Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com> | ||||
* | package/Makefile.in: rpath setup for toolchains. | Daniel Laird | 2008-11-06 | 1 | -3/+4 |
| | | | | | | | | | | Apply the patch I posted some time ago that fixes rpath issues with external toolchains. Has been tested by users of buildroot and feedback looks good. Signed-off-by: Thomas Petazzoni Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com> | ||||
* | package/Makefile.in: Remove rpath fix as it breaks Thomas png build | Daniel Laird | 2008-10-22 | 1 | -4/+2 |
| | | | | | | | | Remove my fix for rpath-link until I can find out why it works for me and not Thomas. Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com> | ||||
* | package/Makefile.in: Add -rpath-link | Daniel Laird | 2008-10-22 | 1 | -2/+4 |
| | | | | | | | | | | | As per various email discussions add -rpath-link to the LDFLAGS. This definately fixes a few issues for Thomas and myself Any objections and it can be pulled again. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@...> Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com> | ||||
* | package: global largefile CFLAGS handling | Peter Korsgaard | 2008-08-04 | 1 | -0/+4 |
| | |||||
* | package/Makefile.in: cleanup MAKE/MAKE1 | Peter Korsgaard | 2008-07-11 | 1 | -7/+2 |
| | | | | The extra stuff doesn't seem to be needed, so lets just get rid of it. | ||||
* | package/Makefile.in: propagate -s make flag to sub makes | Peter Korsgaard | 2008-07-01 | 1 | -5/+4 |
| | |||||
* | pkgconfig: bump version and cleanup | Peter Korsgaard | 2008-06-14 | 1 | -3/+1 |
| | | | | | | | Upgrade to pkgconfig 0.23 which has native sysroot support (buggy, but easily fixable), which allows us to get rid of pkgconfig-filter.sh. At the same time cleanup the makefile. | ||||
* | Makefile: honor silent (-s) flag | Peter Korsgaard | 2008-05-31 | 1 | -0/+6 |
| | |||||
* | added more debugging options for packages | John Voltz | 2008-03-12 | 1 | -0/+25 |
| | |||||
* | added debug option | John Voltz | 2008-03-11 | 1 | -0/+5 |
| | |||||
* | Use host ldconfig, if external toolchain is used | Ulf Samuelsson | 2008-01-10 | 1 | -0/+4 |
| | |||||
* | FIx syntax error | Ulf Samuelsson | 2007-10-30 | 1 | -1/+1 |
| | |||||
* | Allow to remove _nofpu from directories and images | Ulf Samuelsson | 2007-10-18 | 1 | -4/+10 |
| | |||||
* | Remove debugging info from package/Makefile.in | Ulf Samuelsson | 2007-10-18 | 1 | -3/+0 |
| | |||||
* | Remove hyphen from images if empty rootfs suffix | Ulf Samuelsson | 2007-10-18 | 1 | -1/+6 |
| | |||||
* | Allow date to be added to Image | Ulf Samuelsson | 2007-10-07 | 1 | -4/+10 |
| | |||||
* | - fix some whitespace damage.. | Bernhard Reutner-Fischer | 2007-10-05 | 1 | -1/+1 |
| | | | | - add COPYTO settings for cpio and tar and remove that ugly hardcoded DATE from that was added by Ulf | ||||
* | - default to mips I for mipsel and mips III for mips | Bernhard Reutner-Fischer | 2007-10-02 | 1 | -0/+4 |
| | | | | - suggest some target flags for abi64 | ||||
* | - just use the strip binary to avoid confusing libtool (quotes) | Bernhard Reutner-Fischer | 2007-10-01 | 1 | -4/+4 |
| | | | | - use $(STRIPCMD) in packages to avoid clashes with $(STRIP) | ||||
* | - fix quotes for STRIP. | Bernhard Reutner-Fischer | 2007-09-29 | 1 | -31/+31 |
| | | | | Sorry for any inconvenience this may have caused.. | ||||
* | - make sure that strip and all it's arguments are passed if used via | Bernhard Reutner-Fischer | 2007-09-29 | 1 | -3/+3 |
| | | | | | STRIP=$(TARGET_STRIP) (i.e. without quoting). Thanks to Dimitry Golubovsky for mentioning this. | ||||
* | - cleanup configure options | Bernhard Reutner-Fischer | 2007-09-28 | 1 | -38/+49 |
| | |||||
* | - add FC, remove some duplicate entries, cleanup | Bernhard Reutner-Fischer | 2007-09-28 | 1 | -10/+17 |
| | | | | - fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS | ||||
* | Sort HOST/TARGET_CONFIGURE_OPTS, add some more, needed for gcc-4.1.2 | Ulf Samuelsson | 2007-09-28 | 1 | -10/+29 |
| | |||||
* | - add a query for suggestions on how to deal with MALLOC_GLIBC_COMPAT | Bernhard Reutner-Fischer | 2007-09-27 | 1 | -0/+2 |
| | |||||
* | - revert some bad checkins, fixup bad settings in atmel targets and move the ↵ | Bernhard Reutner-Fischer | 2007-09-26 | 1 | -2/+2 |
| | | | | gcc target abi back to a place where the other arch-specific settings live | ||||
* | - revert r19918 for now | Bernhard Reutner-Fischer | 2007-09-20 | 1 | -1/+0 |
| | |||||
* | - Reset flags, packages are usually built with -O2 otherwise. | Bernhard Reutner-Fischer | 2007-09-20 | 1 | -0/+13 |
| | | | | | Packages that need to pass additional CFLAGS in their .mk have to do something like this: ...configure $(foreach i,$(foo_CFLAGS),CFLAGS+=$$i) --prefix=... | ||||
* | - add v9a and v9b settings. | Bernhard Reutner-Fischer | 2007-09-17 | 1 | -4/+2 |
| | | | | Will need to change the GCC_TARGET_TUNE accordingly. | ||||
* | - some more sparc{,64} twiddling | Bernhard Reutner-Fischer | 2007-09-15 | 1 | -0/+7 |
| | |||||
* | Add version info (date) to root fs image | Ulf Samuelsson | 2007-09-12 | 1 | -2/+2 |
| | |||||
* | Update various packages to make X run | Ulf Samuelsson | 2007-09-12 | 1 | -0/+3 |
| | |||||
* | - cosmetic cleanup | Bernhard Reutner-Fischer | 2007-09-01 | 1 | -1/+1 |
| | |||||
* | Add default X11 install directory | Ulf Samuelsson | 2007-08-28 | 1 | -0/+3 |
| | |||||
* | - add apropriate variables for the host-toolchain to HOST_CONFIGURE_OPTS | Bernhard Reutner-Fischer | 2007-08-28 | 1 | -0/+6 |
| | |||||
* | - global whitespace trimming | Bernhard Reutner-Fischer | 2007-08-22 | 1 | -2/+2 |
| | |||||
* | - random whitespace cleanup | Bernhard Reutner-Fischer | 2007-08-22 | 1 | -1/+1 |
| | |||||
* | - our dependencies are project specific. First (untested) attempt to take ↵ | Bernhard Reutner-Fischer | 2007-08-21 | 1 | -42/+0 |
| | | | | | | | this fact into account. Will need to try to copy eventual pre-existing project-specific deps back to package/config in order not to mess up the corresponding timestamps (to avoid superfluous rebuilds).. | ||||
* | - move the PROJECT variable setting to a more sensible place | Bernhard Reutner-Fischer | 2007-08-21 | 1 | -6/+0 |
| | |||||
* | Remove switches if sstrip is run | Ulf Samuelsson | 2007-08-21 | 1 | -0/+10 |
| | |||||
* | Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't | Eric Andersen | 2007-08-10 | 1 | -1/+11 |
| | | | | | | quite work yet for me, but this clearly is a huge project and not having it quite work on the first pass is hardly unexpected. We definately want this stuff in buildroot. | ||||
* | Use cross ldconfig instead of host version | Peter Korsgaard | 2007-08-08 | 1 | -0/+1 |
| | |||||
* | - add possibility to select different flavours of strip (or none at all for ↵ | Bernhard Reutner-Fischer | 2007-07-31 | 1 | -2/+9 |
| | | | | debugging purposes) | ||||
* | - nil the CXX env var if we don't have a CXX cross-compiler | Bernhard Reutner-Fischer | 2007-07-31 | 1 | -1/+1 |
| | |||||
* | - fix typo in previous commit | Bernhard Reutner-Fischer | 2007-07-23 | 1 | -3/+3 |
| | |||||
* | - iff the cross-compiler supports certain mtune,march,mabi flags then use ↵ | Bernhard Reutner-Fischer | 2007-07-23 | 1 | -0/+16 |
| | | | | | | them for the packages. This should make it obvious if the wrong compiler is used to build the target. | ||||
* | No platform code in this file. | "Steven J. Hill" | 2007-07-22 | 1 | -4/+0 |
| | |||||
* | ATMEL_MIRROR needs to be available before toolchain is built | Ulf Samuelsson | 2007-07-22 | 1 | -0/+5 |
| |