summaryrefslogtreecommitdiff
path: root/package/Makefile.in
AgeCommit message (Collapse)Author
2008-12-15Fix TARGET_PATH for external toolchain buildsThomas Petazzoni
TARGET_PATH didn't contain $(STAGING_DIR)/usr/bin, which means that programs installed in $(STAGING_DIR)/usr/bin were not considered for execution during Buildroot build process. This was a problem with host automake/autoconf/libtool, which could not be found. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-13Another external toolchain support solutionThomas Petazzoni
* In toolchain/external-toolchain/ext-tool.mk, copy the contents of the sysroot directory to the staging dir. * In package/Makefile.in, add a --sysroot CFLAGS pointing to the staging dir * Remove the CFLAGS and LDFLAGS definition from TARGET_CONFIGURE_OPTS. I haven't investigated exactly why, but with these options, DirectFB fails to build because it cannot find PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, even if DirectFB's Makefile properly sets -D_GNU_SOURCE. I have already sent this patch on December, 2nd to the mailing-list, but got no feedback. So let's commit and see what happens :-) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-12-08package/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-11-28Adding Central config.cache optionsDaniel Laird
The following changes allow for use of a central configure cache file. This speeds up configuration of packages. Its use is configurable at the top level (BR2_CONFIG_CACHE - default n). Old style makefiles can use it if they use the following MACRO in makefiles: $(AUTO_CONFIGURE_TARGET) see my change to directfb.mk. New style Autotools.in will use it if you set the global option. However you can enable the global option and on a per package overrule it by doing the following: $(PKGNAME)_USE_CONFIG_CACHE = NO see fontconfig.mk for an example of this. Finally I have removed a few config variable settings which indicated no CXX compiler as this is wrong and breaks the build when using this central cache. Config.in | 8 ++++++++ package/Makefile.autotools.in | 5 ++++- package/Makefile.in | 28 +++++++++++++++++++++++++++- package/atk/atk.mk | 2 +- package/directfb/directfb.mk | 7 +------ package/fontconfig/fontconfig.mk | 3 +++ package/libglib2/libglib2.mk | 2 +- package/libgtk2/libgtk2.mk | 1 - 8 files changed, 45 insertions(+), 11 deletions(-) I would appreciate feedback on this change (I have been testing for 2-3 weeks) But I can never test all cases! If you enable the BR2_CONFIG_CACHE option some Makefile.autotools.in based packages may now break - I cannot build them all. In this case you may need to remove config options that are being hardcoded all over the place (like gtk saying we have 2 CXX compiler) or disable the use of CONFIG CACHE file like I have done in fontconfig. I can build all packages required to get WebKit on DirectFB up and running and it runs fine. I will try to resolve any issues this creates as fast as I can. Signed-off-by: Daniel Laird <daniel.j.laird@nxp.com>
2008-11-21Revert r24000: "Fix external toolchain build"Peter Korsgaard
This breaks builds with internal toolchain, so let's revert this until we find a proper solution.
2008-11-11Fix external toolchain buildThomas Petazzoni
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>
2008-11-07package/Makefile.in: revert rpath setup for toolchains.Daniel Laird
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>
2008-11-06package/Makefile.in: rpath setup for toolchains.Daniel Laird
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>
2008-10-22package/Makefile.in: Remove rpath fix as it breaks Thomas png buildDaniel Laird
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>
2008-10-22package/Makefile.in: Add -rpath-link Daniel Laird
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>
2008-08-04package: global largefile CFLAGS handlingPeter Korsgaard
2008-07-11package/Makefile.in: cleanup MAKE/MAKE1Peter Korsgaard
The extra stuff doesn't seem to be needed, so lets just get rid of it.
2008-07-01package/Makefile.in: propagate -s make flag to sub makesPeter Korsgaard
2008-06-14pkgconfig: bump version and cleanupPeter Korsgaard
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.
2008-05-31Makefile: honor silent (-s) flagPeter Korsgaard
2008-03-12added more debugging options for packagesJohn Voltz
2008-03-11added debug optionJohn Voltz
2008-01-10Use host ldconfig, if external toolchain is usedUlf Samuelsson
2007-10-30FIx syntax errorUlf Samuelsson
2007-10-18Allow to remove _nofpu from directories and imagesUlf Samuelsson
2007-10-18Remove debugging info from package/Makefile.inUlf Samuelsson
2007-10-18Remove hyphen from images if empty rootfs suffixUlf Samuelsson
2007-10-07Allow date to be added to ImageUlf Samuelsson
2007-10-05- fix some whitespace damage..Bernhard Reutner-Fischer
- add COPYTO settings for cpio and tar and remove that ugly hardcoded DATE from that was added by Ulf
2007-10-02- default to mips I for mipsel and mips III for mips Bernhard Reutner-Fischer
- suggest some target flags for abi64
2007-10-01- just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-09-29- fix quotes for STRIP.Bernhard Reutner-Fischer
Sorry for any inconvenience this may have caused..
2007-09-29- make sure that strip and all it's arguments are passed if used viaBernhard Reutner-Fischer
STRIP=$(TARGET_STRIP) (i.e. without quoting). Thanks to Dimitry Golubovsky for mentioning this.
2007-09-28- cleanup configure optionsBernhard Reutner-Fischer
2007-09-28- add FC, remove some duplicate entries, cleanupBernhard Reutner-Fischer
- fixup after Ulf: CXX doesn't take CFLAGS but CXXFLAGS
2007-09-28Sort HOST/TARGET_CONFIGURE_OPTS, add some more, needed for gcc-4.1.2Ulf Samuelsson
2007-09-27- add a query for suggestions on how to deal with MALLOC_GLIBC_COMPATBernhard Reutner-Fischer
2007-09-26- revert some bad checkins, fixup bad settings in atmel targets and move the ↵Bernhard Reutner-Fischer
gcc target abi back to a place where the other arch-specific settings live
2007-09-20- revert r19918 for nowBernhard Reutner-Fischer
2007-09-20- Reset flags, packages are usually built with -O2 otherwise.Bernhard Reutner-Fischer
Packages that need to pass additional CFLAGS in their .mk have to do something like this: ...configure $(foreach i,$(foo_CFLAGS),CFLAGS+=$$i) --prefix=...
2007-09-17- add v9a and v9b settings.Bernhard Reutner-Fischer
Will need to change the GCC_TARGET_TUNE accordingly.
2007-09-15- some more sparc{,64} twiddlingBernhard Reutner-Fischer
2007-09-12Add version info (date) to root fs imageUlf Samuelsson
2007-09-12Update various packages to make X runUlf Samuelsson
2007-09-01- cosmetic cleanupBernhard Reutner-Fischer
2007-08-28Add default X11 install directoryUlf Samuelsson
2007-08-28- add apropriate variables for the host-toolchain to HOST_CONFIGURE_OPTSBernhard Reutner-Fischer
2007-08-22- global whitespace trimmingBernhard Reutner-Fischer
2007-08-22- random whitespace cleanupBernhard Reutner-Fischer
2007-08-21- our dependencies are project specific. First (untested) attempt to take ↵Bernhard Reutner-Fischer
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)..
2007-08-21- move the PROJECT variable setting to a more sensible placeBernhard Reutner-Fischer
2007-08-21Remove switches if sstrip is runUlf Samuelsson
2007-08-10Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn'tEric Andersen
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.
2007-08-08Use cross ldconfig instead of host versionPeter Korsgaard
2007-07-31- add possibility to select different flavours of strip (or none at all for ↵Bernhard Reutner-Fischer
debugging purposes)