summaryrefslogtreecommitdiffstats
path: root/package/Makefile.autotools.in
Commit message (Collapse)AuthorAgeFilesLines
* Adding Central config.cache optionsDaniel Laird2008-11-281-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Makefile.autotools.in: make MESSAGE output stand outPeter Korsgaard2008-11-071-2/+2
| | | | | | | | | | | | | The following patch makes the MESSAGE Macro in Makefile.autotools.in work. I think it was originally intended to print the messages in bold type but it doesn't appear to work correctly. This patch should work on all platforms. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> (Fixed to not continously call tput)
* Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level MakefileHans-Christian Egtvedt2008-11-051-1/+0
| | | | | | | | | This patch will create the autotools-stamps directory early in the build process, thus making it possible for non Makefile.autotools.in packages to use this directory to hold stamp files. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* buildroot: add QUIET variable and use it for wget/git/svn/configurePeter Korsgaard2008-10-211-2/+1
| | | | | | A lot of tools take a -q option to be quiet. Set this if make is called with the -s (silent) option and use for wget, git, svn and configure.
* BR2_HAVE_DOCUMENTATION: add option to remove documentation from targetPeter Korsgaard2008-10-201-0/+3
| | | | | Some packages' install-strip target install quite big documentation, so create an option to remove it similar to the existing man/info options.
* Makefile.autotools.in: default to install-strip for non-debug target installPeter Korsgaard2008-10-201-1/+5
|
* Makefile.autotools.in: honor CONFIG_SHELL and TAR.Wade Berrier2008-10-071-1/+1
| | | | | Don't use recursively expanded definition (Use ':=' instead of '=')
* Makefile.autotools.in:Wade Berrier2008-10-061-1/+3
| | | | | | -Make tar switches 1.14 compatible (Not sure of a more elegant way to handle this ... ?)
* Makefile.autotools.in: Get my $(Q)'s in the correct placeDaniel Laird2008-09-191-2/+2
| | | | | | | | Minor fix for Makefile.autotools.in that deals with the packages that use AUTOCONF to regenerate configure etc. (my mistake to start with) Daniel Laird
* Makefile.autotools.in: Extended to cope with more bad packagesDaniel Laird2008-09-191-4/+19
| | | | | | | | | | | | | | | | | | | | | | 1. I added a HOOK_POST_EXTRACT previously so that I could cope with the bad libxml2 package. This required me to remove some dead patches (.rej) files after I extracted the package, the issue is that the EXTRACT target runs patch-kernel.sh to patch the ltmain.sh. It then finds some.rej files and bombs out. I have altered the sequence so that the HOOK_POST_EXTRACT target runs before the make target that patches libtool to deal with this. 2.) I have added a $(PKG)_LIBTOOL_PATCH variable. This is defaulted to YES however if you override it in the package makefile to NO then the ltmain.sh file will not be patched automatically but only if you have added your own patches. This is necessary for freetype 2.3.7 as it cannot use the buildroot-libtool patch. I am using this patch for building a set of packages, however it is not a complete set of packages so await feedback of issues (if any) Daniel Laird
* Makefile.autotools.in: fix DESTDIR= help textPeter Korsgaard2008-09-141-4/+4
| | | | | DESTDIR per default points to TARGET_DIR / STAGING_DIR without /usr appended.
* Makefile.autotools.in: fix FOO_UNINSTALL_TARGET_OPT help textPeter Korsgaard2008-09-141-1/+1
| | | | It defaults to TARGET_DIR, not STAGING_DIR.
* Move project-specific stamp files into a project-specific directoryHamish Moffatt2008-09-111-6/+8
| | | | | $(PROJECT_BUILD_DIR)/autotools-stamps. Without this, autotools-using packages won't be installed into any other projects than the first.
* Make the autotools xyz-clean target call xyz-uninstall first, rather than ↵Hamish Moffatt2008-09-041-5/+2
| | | | duplicating its actions
* Fix duplicate $(AUTORECONF) run in autoreconf and configure targetsHamish Moffatt2008-09-041-6/+4
|
* In the uninstall and clean targets, remove the built/installed stamp filesHamish Moffatt2008-09-041-0/+5
| | | | so that those actions will do something if executed again.
* Makefile.autotools.in: Add extra POST_HOOK targetsDaniel Laird2008-08-291-2/+13
| | | | | | | | | | | | | | | It is not possible currently in Makefile.autotools.in packages to do something extra after an extract or configure. This may be useful for example extract libxml2-2.6.32 POST_EXTRACT = remove some .rej files that are in offical release patch (not fail because of remaining .rej files) configure I think this is useful improvement (necessary for Makefile.autotools.in packages) Daniel Laird
* Makefile.autotools.in: remove unused BR2_HAVE_INCLUDES handlingPeter Korsgaard2008-08-221-3/+0
| | | | Patch by Wade Berrier.
* Makefile.autotools.in: add missing continuation for PKG_CONF_OPTPeter Korsgaard2008-08-161-1/+1
| | | | | The silent support added in r23041 was missing a shell continuation character breaking PKG_CONF_OPT support - Fixed.
* Makefile.autotools.in: remove extra newlines in MESSAGE macroPeter Korsgaard2008-08-041-3/+1
|
* Makefile.autotools.in: quiet configure on silent (-s) buildsPeter Korsgaard2008-08-041-0/+1
| | | | | Use --quiet configure argument when make is invoked with the -s (silent) option.
* Makefile.autotools.in: fix patch dir for version specific subdirPeter Korsgaard2008-08-041-1/+1
|
* buildroot: remove trailing spacesPeter Korsgaard2008-08-041-1/+1
| | | | | | | for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`; do sed -i 's/ \+$//' $i; done
* Makefile.autotools.in: fix make source-check/external-deps differentlyPeter Korsgaard2008-07-241-1/+1
| | | | | | | | The MAKELEVEL test is not that robust; It fails with the recent log support or if buildroot is driven from an external Makefile. Rework it to instead detect source-check/external-deps by the fact that they set SPIDER.
* Makefile.autotools.in: revert broken r22659Peter Korsgaard2008-07-071-3/+1
| | | | Ulfs r22659 commit broke make source-check/external deps, so reverting it.
* Avoid duplicate downloading, when rebuilding failed package like libgtk2Ulf Samuelsson2008-07-061-1/+3
|
* Makefile.autotools.in: fix source handlingPeter Korsgaard2008-07-021-2/+3
| | | | | | | | | | | Handling source/source-check/external-deps together doesn't work, as wget will then download the sources every time make source is called even if it's available in DL_DIR Instead detect source-check/external-deps from MAKELEVEL. Support downloadable package patches in source-check/external-deps while we're at it.
* Makefile.autotools.in: also remove man pages from /usr/share/manPeter Korsgaard2008-07-011-1/+1
|
* Makefile.autotools.in: fix BR2_PRIMARY_SITE checkPeter Korsgaard2008-06-261-1/+2
| | | | | Empty strings gets defined to "", so check for that instead of if the variable is defined.
* Makefile.autotools.in: also support source/source-checkPeter Korsgaard2008-06-241-2/+2
|
* package/Makefile.autotools.in: support 'make external-deps'Peter Korsgaard2008-06-141-0/+5
|
* Add option to set default site to download package source from. FreeBSD ↵Arnar Mar Sigurðsson2008-06-011-0/+3
| | | | ports mirrors (like: ftp2.uk.freebsd.org/pub/FreeBSD/ports/distfiles) are a good place to find almost all of the source packages.
* remove unnecessary libdir-la.patch patches and modify Makefile.autotools.in ↵John Voltz2008-05-011-1/+9
| | | | to patch libtool automatically.
* Makefile.autotools.in: Do uninstall in staging/target dirs on -cleanPeter Korsgaard2008-04-011-0/+2
|
* AUTOTARGETS: also support non-version-dependent arch specific patchesPeter Korsgaard2008-03-281-2/+2
|
* AUTOTARGETS: support arch specific *.patch.$(ARCH) patchesPeter Korsgaard2008-03-281-2/+2
|
* added dev files in target optionJohn Voltz2008-03-101-4/+0
|
* remove .a files from lib directories after installJohn Voltz2008-03-071-0/+3
|
* fixed nasty makefile bugsJohn Voltz2008-03-061-4/+5
|
* - whitespace cleanup (Cristian Ionescu-Idbohrn)Bernhard Reutner-Fischer2007-09-301-44/+41
|
* - extend AUTOTARGETS with an argument DIR_PREFIX for the location of the packageBernhard Reutner-Fischer2007-09-291-19/+14
| | | | (Ivan Kuten)
* - add missing ';'Bernhard Reutner-Fischer2007-09-201-1/+1
|
* - this is generic infrastructure, there is no point in special-casing any ↵Bernhard Reutner-Fischer2007-09-201-1/+5
| | | | | | individual package here. Don't workaround deficiencies but fix them for real
* Update various packages to make X runUlf Samuelsson2007-09-121-2/+13
|
* remove _SKIP_CONFIGURE since it's pointless to try to run it on ↵Bernhard Reutner-Fischer2007-08-241-1/+1
| | | | non-autotool'ed packages anyway (for now)
* - fix misplaced @Bernhard Reutner-Fischer2007-08-231-1/+1
| | | | - fix typos in x11r7 packages
* - if $(PKG)_SKIP_CONFIGURE is non-empty then ./configure is skippedBernhard Reutner-Fischer2007-08-221-1/+2
|
* - don't print the second time autoreconf would be runBernhard Reutner-Fischer2007-08-221-1/+0
|
* - add some $(Q) here and thereBernhard Reutner-Fischer2007-08-221-16/+17
|
* - reinstate accidentally deleted hunkBernhard Reutner-Fischer2007-08-221-1/+1
|