Matthias Schiffer
37cf77d946
treewide: fix build depends to refer to source package names
...
Build depends must refer to source packages rather than binary package
names.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years ago
Matthias Schiffer
3d71786154
build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common directory for all targets
...
Using a single host package staging dir (and build dir) significantly speeds up
builds when multiple targets are built in succession, especially for large host
packages like NodeJS.
$(STAGING_DIR)/host is kept in addition to $(STAGING_DIR_HOSTPKG) in most
places; it is still used as destination for host files in Build/InstallDev.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Matthias Schiffer
12d0a66942
include/autotools.mk: use STAGING_DIR_HOSTPKG where appropriate
...
Make sure binaries install to STAGING_DIR_HOSTPKG are still found when
this variable is eventually modified.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years ago
Dirk Neukirchen
336e277e8b
autotools: use correct version for gettext FIXUP
...
0.19.8.1 gettext-full uses "archive-version" of 0.19.8
to replace makros, leading to breakage of PKG_FIXUP:=gettext-version
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
8 years ago
Felix Fietkau
1193dc4e05
include/autotools.mk: fix gettext installation path
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48421
9 years ago
Felix Fietkau
f8cdadc832
Revert "include/autoconf.mk: decouple host fixups from target fixups"
...
This reverts commit r48403
SVN-Revision: 48412
9 years ago
Felix Fietkau
d542d8e3c1
include/autoconf.mk: decouple host fixups from target fixups
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48403
9 years ago
Nicolas Thill
ce9b49046c
include: improve 'gettext-version' fixup
...
* enclose the fixup in brackets
* match anything in the call to AM_GNU_GETTEXT_VERSION
* call it early (before autoreconf if both are specified)
* chain a call to autoreconf since it messes with configure.ac
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44225
10 years ago
Jo-Philipp Wich
7074927533
autotools.mk: add a gettext-version PKG_FIXUP ( #11236 )
...
This fixup aligns the required gettext version in shipped macros to the one
available in $(STAGING_DIR_HOST).
SVN-Revision: 33708
12 years ago
Jo-Philipp Wich
d40fe9d24e
autotools.mk: cope with Debian version strings in libtool
...
SVN-Revision: 32207
13 years ago
Jo-Philipp Wich
a5d34b8613
autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
...
SVN-Revision: 29835
13 years ago
Jo-Philipp Wich
d8d9130e45
autotools.mk: link config.rpath before running autoreconf, also touch ABOUT-NLS - needed by minidlna CVS version
...
SVN-Revision: 28464
13 years ago
Jo-Philipp Wich
e7b094e849
include: autotools.mk: do not fail in patch-libtool fixup if patch is already applied
...
SVN-Revision: 28419
13 years ago
Jo-Philipp Wich
bd982fb72c
autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply OpenWrt, Buildroot and OE libtool fixes to packages which fail badly at autoreconf. The fixup covers the common libtool versions 1.5, 2.2 and 2.4 and automatically determines the correct version to use.
...
SVN-Revision: 27855
13 years ago
Jo-Philipp Wich
a65b43a46f
autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
...
SVN-Revision: 26589
14 years ago
Jo-Philipp Wich
073c5e0e74
add config.rpath and link it in autotools.mk if missing, some packages might need it, especially users of lib-link.m4 or iconv.m4
...
SVN-Revision: 25753
14 years ago
Jo-Philipp Wich
4fec7f7edb
autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes PKG_MACRO_PATHS
...
SVN-Revision: 25312
14 years ago
Jo-Philipp Wich
ec45087403
autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default to ./m4, add LIBTOOL to AM_TOOL_PATHS
...
SVN-Revision: 24830
14 years ago
Jo-Philipp Wich
f28b49208b
autotools.mk: like libintl, make all libtool fixup packages depend on the libiconv stub
...
SVN-Revision: 24708
14 years ago
Jo-Philipp Wich
fd181101aa
autotools.mk: add a (dummy) libintl build dependency to any package using the libtool fixup
...
SVN-Revision: 24700
14 years ago
Jo-Philipp Wich
c9f9fc8154
autotools.mk: remove HOST_BUILD_DEPENDS on libtool
...
SVN-Revision: 24676
14 years ago
Jo-Philipp Wich
4e19240b9b
autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either
...
SVN-Revision: 24664
14 years ago
Jo-Philipp Wich
a4350e3861
autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants them
...
SVN-Revision: 24588
14 years ago
Jo-Philipp Wich
249693d50b
autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS (or any at all..)
...
SVN-Revision: 24574
14 years ago
Jo-Philipp Wich
6489a9c575
autotools.mk: don't rely on shipped autogen.sh files
...
SVN-Revision: 24573
14 years ago
Jo-Philipp Wich
f3ac8849a5
autotools.mk: explicately pass toolchain versions of automake, autoconf, libtoolize, ... to autoreconf
...
SVN-Revision: 24570
14 years ago
Jo-Philipp Wich
dbf8d9c516
- implement hooks for hostbuilds - use host build hooks to implement fixups for host build - move separator declaration to rules.mk
...
SVN-Revision: 24551
14 years ago
Jo-Philipp Wich
135cfe50c9
autotools.mk: add yet another aclocal path
...
SVN-Revision: 24547
14 years ago
Jo-Philipp Wich
c48a705702
autotools.mk: support autoreconf at different paths, introduce PKG_AUTOMAKE_PATHS which defaults to '.'
...
SVN-Revision: 24534
14 years ago
Jo-Philipp Wich
bf9e9b6a91
rework aclocal handling, packages have issues writing through the symlink so keep the host aclocal as include path for now
...
SVN-Revision: 24474
14 years ago
Jo-Philipp Wich
88a1c20900
autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
...
SVN-Revision: 24458
14 years ago
Jo-Philipp Wich
3560c34214
autotools.mk: remove autom4ate.cache directory when autoreconf-ing
...
SVN-Revision: 24434
14 years ago
Felix Fietkau
ffbed0f08a
support the autoreconf fixup without libtool
...
SVN-Revision: 24423
14 years ago
Jo-Philipp Wich
6541593b34
autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after applying patches and before doing any fixups
...
SVN-Revision: 24348
14 years ago
Jo-Philipp Wich
fa3c5ac38a
autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)
...
SVN-Revision: 24344
14 years ago
Jo-Philipp Wich
48b953fa1c
autotools.mk: allow disabling autoreconf, remove libdir fixup
...
SVN-Revision: 24321
14 years ago
Jo-Philipp Wich
f3f3be3dfe
autotools.mk: allow autogen.sh / autoreconf to fail (for now)
...
SVN-Revision: 24320
14 years ago
Jo-Philipp Wich
69aeb3a06c
autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if configure.in or configure.ac exists
...
SVN-Revision: 24319
14 years ago
Jo-Philipp Wich
591190e215
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
...
SVN-Revision: 24317
14 years ago
Jo-Philipp Wich
c10515db65
re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation warning. Packages must specify PKG_BUILD_DEPENDS:=libtool
...
SVN-Revision: 24246
14 years ago
Mirko Vogt
9a18fff28e
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
...
SVN-Revision: 24241
14 years ago
Mirko Vogt
b599f7dc42
disable libtool fixups in trunk globally
...
SVN-Revision: 24234
14 years ago
Felix Fietkau
c4b3e38fc0
fix libtool fixup for libstdc++
...
SVN-Revision: 22732
14 years ago
Felix Fietkau
e10df8d2b5
add a new helper macro to deal with conditional ./configure flags
...
SVN-Revision: 20570
15 years ago
Lars-Peter Clausen
bd2e3ccd6f
autotools.mk: Don't try to fixup .la files in the DevInstall host path, because those .la files shouldn't go there anyway.
...
SVN-Revision: 19785
15 years ago
Lars-Peter Clausen
d38ce9313b
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).
SVN-Revision: 19713
15 years ago
Lars-Peter Clausen
93567fed7a
autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir. Fixes build of packages which use libtool and link against packages which link against libstdc++
...
SVN-Revision: 19399
15 years ago
Lars-Peter Clausen
246a5b334d
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.
SVN-Revision: 16317
16 years ago
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
16 years ago
Lars-Peter Clausen
6f774d468f
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).
...
SVN-Revision: 12586
16 years ago