Jo-Philipp Wich
1e0decbb96
[buildroot] rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-11 03:15:10 +00:00
Jo-Philipp Wich
efeae2d233
[include] autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 22:59:07 +00:00
Jo-Philipp Wich
26cebaa3da
[include] autotools.mk: remove autom4ate.cache directory when autoreconf-ing
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 16:28:20 +00:00
Felix Fietkau
955afe2b80
support the autoreconf fixup without libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 15:20:51 +00:00
Jo-Philipp Wich
2dc5b96600
[include] autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 15:55:05 +00:00
Jo-Philipp Wich
a5b5726b4c
[include] autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 11:55:41 +00:00
Jo-Philipp Wich
e989746744
[include] autotools.mk: allow disabling autoreconf, remove libdir fixup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 02:24:21 +00:00
Jo-Philipp Wich
5b6a0bc948
[include] autotools.mk: allow autogen.sh / autoreconf to fail (for now)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:19:52 +00:00
Jo-Philipp Wich
dae3c43cc3
[include] autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 01:15:38 +00:00
Jo-Philipp Wich
07d0739c17
[include] deploy the steamroller tactics and autoreconfigure any package carring the libtool fixup,
...
this should solve a number of issues ranging from linking into the host, syntax errors in libtool and
missing make targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:54:14 +00:00
Jo-Philipp Wich
a2ac1d5f64
[include] re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 19:56:47 +00:00
Mirko Vogt
0d0efee113
[trunk/include/autotools.mk] ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be removed afterwards - this actually should be done within respective package-Makefiles itself, however they need to stay compatible with libtool v1.5.x which is used in backfire, since it (may) require those files
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 13:44:43 +00:00
Mirko Vogt
06878dba17
[trunk/include/autotools.mk] disable libtool fixups in trunk globally
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-04 00:11:09 +00:00
Felix Fietkau
b480498d1b
fix libtool fixup for libstdc++
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-19 17:46:11 +00:00
Felix Fietkau
a2ec87dfec
add a new helper macro to deal with conditional ./configure flags
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-29 03:38:40 +00:00
Lars-Peter Clausen
05c56d8ee4
autotools.mk: Don't try to fixup .la files in the DevInstall host path, because
...
those .la files shouldn't go there anyway.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-20 23:40:53 +00:00
Lars-Peter Clausen
141b270ff3
autotools.mk: Add PKG_LIBTOOL_PATHS variable.
...
PKG_LIBTOOL_PATHS can be used to specify to tell libtool_fixup where to look
for libtool scripts of a package. This is useful if a package has it's libtool
script in a non-standard location or has multiple libtool scripts.
The value should be a space seperated list of paths which are relative to
$(PKG_BUILD_DIR). It defautls to $(CONFIGURE_PATH).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-02-18 23:50:44 +00:00
Lars-Peter Clausen
e201d1990d
autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir.
...
Fixes build of packages which use libtool and link against packages which link against libstdc++
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19399 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-30 14:51:22 +00:00
Lars-Peter Clausen
a5b1993a12
More libtool madness: Every package which was using c++ and libtool fixup
...
was linked against libstd++ even though if it should have been linked
against uclibc++. This is fixed by providing a special version of libtool
fixup for packages which should use uclibc++. Not pretty but functional.
Packages linking against uclibc++ should use PKG_FIXUP:=libtool-ucxx instead of
PKG_FIXUP:=libtool
Somebody should probably check all packages using c++ with a dependency on stdlibc++
if uclibc++ can be used instead now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-06-04 00:20:01 +00:00
Felix Fietkau
5bdd866100
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17 14:09:46 +00:00
Lars-Peter Clausen
b4e43d5d2b
Change libtool fixup behaviour. Still ugly but it works until we have a real
...
fix.
It uses a InstallDev/Post hook to find all .la files which are going to be
installed in the staging dir and prefixes every path in those files which starts
with /usr/lib with $(STAGING_DIR).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-13 00:29:13 +00:00
Felix Fietkau
2e1c09dafe
fix libtool version checks in some configure scripts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:11:11 +00:00
Felix Fietkau
fdd0070a73
add improved autotools fixups
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-27 02:11:07 +00:00