Hans-Christian Egtvedt
d86faadff9
Move creation of $(PROJECT_BUILD_DIR)/autotools-stamps into top level Makefile
...
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>
2008-11-05 10:41:31 +00:00
Peter Korsgaard
43af3d3578
buildroot: add QUIET variable and use it for wget/git/svn/configure
...
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.
2008-10-21 08:56:26 +00:00
Peter Korsgaard
886b274a5c
BR2_HAVE_DOCUMENTATION: add option to remove documentation from target
...
Some packages' install-strip target install quite big documentation,
so create an option to remove it similar to the existing man/info options.
2008-10-20 11:32:25 +00:00
Peter Korsgaard
fedf24cf51
Makefile.autotools.in: default to install-strip for non-debug target install
2008-10-20 11:32:22 +00:00
Wade Berrier
5b0e7a5ddb
Makefile.autotools.in: honor CONFIG_SHELL and TAR.
...
Don't use recursively expanded definition
(Use ':=' instead of '=')
2008-10-07 17:08:27 +00:00
Wade Berrier
56eebd08c0
Makefile.autotools.in:
...
-Make tar switches 1.14 compatible
(Not sure of a more elegant way to handle this ... ?)
2008-10-06 19:20:58 +00:00
Daniel Laird
52097d2dad
Makefile.autotools.in: Get my $(Q)'s in the correct place
...
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
2008-09-19 14:43:50 +00:00
Daniel Laird
4ab8aa443b
Makefile.autotools.in: Extended to cope with more bad packages
...
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
2008-09-19 13:37:14 +00:00
Peter Korsgaard
7b2a502857
Makefile.autotools.in: fix DESTDIR= help text
...
DESTDIR per default points to TARGET_DIR / STAGING_DIR without /usr
appended.
2008-09-14 19:19:10 +00:00
Peter Korsgaard
79d7e95d5a
Makefile.autotools.in: fix FOO_UNINSTALL_TARGET_OPT help text
...
It defaults to TARGET_DIR, not STAGING_DIR.
2008-09-14 19:19:06 +00:00
Hamish Moffatt
22258ea860
Move project-specific stamp files into a project-specific directory
...
$(PROJECT_BUILD_DIR)/autotools-stamps. Without this, autotools-using
packages won't be installed into any other projects than the first.
2008-09-11 02:15:07 +00:00
Hamish Moffatt
7b759f0910
Make the autotools xyz-clean target call xyz-uninstall first, rather than duplicating its actions
2008-09-04 02:34:42 +00:00
Hamish Moffatt
18a7694675
Fix duplicate $(AUTORECONF) run in autoreconf and configure targets
2008-09-04 01:19:52 +00:00
Hamish Moffatt
feb569d3cd
In the uninstall and clean targets, remove the built/installed stamp files
...
so that those actions will do something if executed again.
2008-09-04 01:05:17 +00:00
Daniel Laird
022b95d6ef
Makefile.autotools.in: Add extra POST_HOOK targets
...
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
2008-08-29 12:04:26 +00:00
Peter Korsgaard
2983381337
Makefile.autotools.in: remove unused BR2_HAVE_INCLUDES handling
...
Patch by Wade Berrier.
2008-08-22 14:01:56 +00:00
Peter Korsgaard
533f5e01a7
Makefile.autotools.in: add missing continuation for PKG_CONF_OPT
...
The silent support added in r23041 was missing a shell continuation character
breaking PKG_CONF_OPT support - Fixed.
2008-08-16 11:59:56 +00:00
Peter Korsgaard
a87d82081d
Makefile.autotools.in: remove extra newlines in MESSAGE macro
2008-08-04 19:08:48 +00:00
Peter Korsgaard
ddd73e012c
Makefile.autotools.in: quiet configure on silent (-s) builds
...
Use --quiet configure argument when make is invoked with the -s (silent)
option.
2008-08-04 19:08:45 +00:00
Peter Korsgaard
3d4ac57987
Makefile.autotools.in: fix patch dir for version specific subdir
2008-08-04 19:08:35 +00:00
Peter Korsgaard
02a623ddf9
buildroot: remove trailing spaces
...
for i in `find -name 'Config*' -o -name 'Makefile*' -o -name '*.mk'`;
do
sed -i 's/ \+$//' $i;
done
2008-08-04 19:07:05 +00:00
Peter Korsgaard
bcad6288f5
Makefile.autotools.in: fix make source-check/external-deps differently
...
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.
2008-07-24 13:38:39 +00:00
Peter Korsgaard
1c1712eb0e
Makefile.autotools.in: revert broken r22659
...
Ulfs r22659 commit broke make source-check/external deps, so reverting it.
2008-07-07 05:08:39 +00:00
Ulf Samuelsson
5ac33b59aa
Avoid duplicate downloading, when rebuilding failed package like libgtk2
2008-07-06 06:23:21 +00:00
Peter Korsgaard
ea1eb9e9f9
Makefile.autotools.in: fix source handling
...
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.
2008-07-02 08:58:18 +00:00
Peter Korsgaard
555a7f5e50
Makefile.autotools.in: also remove man pages from /usr/share/man
2008-07-01 12:04:18 +00:00
Peter Korsgaard
d2bed82def
Makefile.autotools.in: fix BR2_PRIMARY_SITE check
...
Empty strings gets defined to "", so check for that instead of if
the variable is defined.
2008-06-26 11:43:02 +00:00
Peter Korsgaard
f55ae3cdcf
Makefile.autotools.in: also support source/source-check
2008-06-24 13:26:45 +00:00
Peter Korsgaard
40af930421
package/Makefile.autotools.in: support 'make external-deps'
2008-06-14 21:01:03 +00:00
Arnar Mar Sigurðsson
65063afec9
Add option to set default site to download package source from. FreeBSD ports mirrors (like: ftp2.uk.freebsd.org/pub/FreeBSD/ports/distfiles) are a good place to find almost all of the source packages.
2008-06-01 17:58:48 +00:00
John Voltz
f11fa22d0e
remove unnecessary libdir-la.patch patches and modify Makefile.autotools.in to patch libtool automatically.
2008-05-01 14:07:11 +00:00
Peter Korsgaard
e556bff41d
Makefile.autotools.in: Do uninstall in staging/target dirs on -clean
2008-04-01 10:30:32 +00:00
Peter Korsgaard
3d3775e3cd
AUTOTARGETS: also support non-version-dependent arch specific patches
2008-03-28 10:40:28 +00:00
Peter Korsgaard
8b64a86e8c
AUTOTARGETS: support arch specific *.patch.$(ARCH) patches
2008-03-28 10:39:55 +00:00
John Voltz
bc67ca29d3
added dev files in target option
2008-03-10 15:22:43 +00:00
John Voltz
1ec48b2e52
remove .a files from lib directories after install
2008-03-07 16:54:45 +00:00
John Voltz
de54a6ebc8
fixed nasty makefile bugs
2008-03-06 18:39:42 +00:00
Bernhard Reutner-Fischer
00b8456cd5
- whitespace cleanup (Cristian Ionescu-Idbohrn)
2007-09-30 12:46:02 +00:00
Bernhard Reutner-Fischer
0f55fe9116
- extend AUTOTARGETS with an argument DIR_PREFIX for the location of the package
...
(Ivan Kuten)
2007-09-29 09:58:13 +00:00
Bernhard Reutner-Fischer
c38d1df997
- add missing ';'
2007-09-20 11:14:47 +00:00
Bernhard Reutner-Fischer
adb399f54a
- this is generic infrastructure, there is no point in special-casing any individual package here.
...
Don't workaround deficiencies but fix them for real
2007-09-20 11:08:13 +00:00
Ulf Samuelsson
5f17c052bc
Update various packages to make X run
2007-09-12 04:37:31 +00:00
Bernhard Reutner-Fischer
d918871dbc
remove _SKIP_CONFIGURE since it's pointless to try to run it on non-autotool'ed packages anyway (for now)
2007-08-24 14:18:47 +00:00
Bernhard Reutner-Fischer
c4931c315a
- fix misplaced @
...
- fix typos in x11r7 packages
2007-08-23 11:49:50 +00:00
Bernhard Reutner-Fischer
59390db4a6
- if $(PKG)_SKIP_CONFIGURE is non-empty then ./configure is skipped
2007-08-22 16:56:36 +00:00
Bernhard Reutner-Fischer
95d1a70286
- don't print the second time autoreconf would be run
2007-08-22 16:44:41 +00:00
Bernhard Reutner-Fischer
6be775f892
- add some $(Q) here and there
2007-08-22 16:28:31 +00:00
Bernhard Reutner-Fischer
7ebb9e97b9
- reinstate accidentally deleted hunk
2007-08-22 16:21:13 +00:00
Bernhard Reutner-Fischer
72e402609c
2007-08-22 16:19:10 +00:00
Bernhard Reutner-Fischer
c8db158fe3
- pass TARGET_CONFIGURE_ARGS
2007-08-22 16:02:22 +00:00
Bernhard Reutner-Fischer
e3f14912b0
- honour BR2_HAVE_MANPAGES BR2_HAVE_INFOPAGES, BR2_HAVE_INCLUDES
2007-08-22 15:59:56 +00:00
Bernhard Reutner-Fischer
7d8e28cc91
- fix typo
...
- Start to add infrastructure to be able to download a patch.
2007-08-22 15:52:01 +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
Eric Andersen
a7e49eb2af
Merge in X11R7 patches from Julien Letessier, posted 04 Jul 2007. Doesn't
...
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-10 19:07:51 +00:00