aboutsummaryrefslogtreecommitdiffstats
path: root/include/autotools.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: use SPDX license tagsPaul Spooren2021-02-051-5/+2
| | | | | | | | | The license folder is a core part of OpenWrt and all GPL-2.0 licensed. Use SPDX license tags to allow machines to check licenses. Signed-off-by: Paul Spooren <mail@aparcar.org> [rebase, keep some Copyright lines, sharpen commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* autotools.mk: autoreconf: fix missing install-shPetr Štetiar2019-07-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I'm trying to create a package for libgpiod, which uses AC_CONFIG_AUX_DIR macro, which is probably leading to the following configure error: autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'. OpenWrt-libtoolize: linking file `autostuff/ltmain.sh' OpenWrt-libtoolize: putting macros in `m4'. ... configure: error: cannot find install-sh, install.sh, or shtool in autostuff "."/autostuff >From the build output it's clear, that libtoolize isn't installing install-sh symlink, because libtoolize would install install-sh only if it's being run with --install parameter. Corresponding part in libtoolize: if $opt_install; then func_config_update config.guess \ "$pkgdatadir/config" "$auxdir" pkgconfig_header func_config_update config.sub \ "$pkgdatadir/config" "$auxdir" pkgconfig_header func_install_update install-sh \ "$pkgdatadir/config" "$auxdir" pkgconfig_header fi func_ltmain_update ltmain.sh \ "$pkgdatadir/config" "$auxdir" pkgconfig_header Adding --install parameter to libtoolize fixes this build issue: autoreconf: running: /openwrt.git/staging_dir/host/bin/libtoolize --install --force OpenWrt-libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autostuff'. OpenWrt-libtoolize: linking file `autostuff/config.guess' OpenWrt-libtoolize: linking file `autostuff/config.sub' OpenWrt-libtoolize: linking file `autostuff/install-sh' OpenWrt-libtoolize: linking file `autostuff/ltmain.sh' OpenWrt-libtoolize: putting macros in `m4'. Cc: Felix Fietkau <nbd@nbd.name> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* treewide: fix build depends to refer to source package namesMatthias Schiffer2018-01-131-2/+2
| | | | | | | Build depends must refer to source packages rather than binary package names. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* build: move STAGING_DIR_HOSTPKG and BUILD_DIR_HOST back to a common ↵Matthias Schiffer2017-01-181-1/+1
| | | | | | | | | | | | | 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>
* include/autotools.mk: use STAGING_DIR_HOSTPKG where appropriateMatthias Schiffer2017-01-141-2/+2
| | | | | | | 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>
* autotools: use correct version for gettext FIXUPDirk Neukirchen2016-10-131-1/+1
| | | | | | | 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>
* include/autotools.mk: fix gettext installation pathFelix Fietkau2016-01-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48421
* Revert "include/autoconf.mk: decouple host fixups from target fixups"Felix Fietkau2016-01-201-4/+10
| | | | | | This reverts commit r48403 SVN-Revision: 48412
* include/autoconf.mk: decouple host fixups from target fixupsFelix Fietkau2016-01-201-10/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48403
* include: improve 'gettext-version' fixupNicolas Thill2015-01-311-10/+14
| | | | | | | | | | | * 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
* autotools.mk: add a gettext-version PKG_FIXUP (#11236)Jo-Philipp Wich2012-10-101-0/+13
| | | | | | | This fixup aligns the required gettext version in shipped macros to the one available in $(STAGING_DIR_HOST). SVN-Revision: 33708
* autotools.mk: cope with Debian version strings in libtoolJo-Philipp Wich2012-06-111-3/+3
| | | | SVN-Revision: 32207
* autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting ↵Jo-Philipp Wich2012-01-201-1/+1
| | | | | | this SVN-Revision: 29835
* autotools.mk: link config.rpath before running autoreconf, also touch ↵Jo-Philipp Wich2011-10-161-3/+3
| | | | | | ABOUT-NLS - needed by minidlna CVS version SVN-Revision: 28464
* include: autotools.mk: do not fail in patch-libtool fixup if patch is ↵Jo-Philipp Wich2011-10-111-1/+1
| | | | | | already applied SVN-Revision: 28419
* autotools.mk: implement PKG_FIXUP:=patch-libtool This change allows to apply ↵Jo-Philipp Wich2011-08-011-1/+37
| | | | | | 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
* autotools.mk: disable autoreconf recursion if more than one dir is given in ↵Jo-Philipp Wich2011-04-111-0/+1
| | | | | | PKG_AUTOMAKE_PATHS SVN-Revision: 26589
* add config.rpath and link it in autotools.mk if missing, some packages might ↵Jo-Philipp Wich2011-02-271-0/+2
| | | | | | need it, especially users of lib-link.m4 or iconv.m4 SVN-Revision: 25753
* autotools.mk: -B is not passed on by autoreconf, use -I instead - fixes ↵Jo-Philipp Wich2011-02-021-1/+1
| | | | | | PKG_MACRO_PATHS SVN-Revision: 25312
* autotools.mk: introduce PKG_MACRO_PATHS and HOST_MACRO_PATHS which default ↵Jo-Philipp Wich2010-12-261-4/+7
| | | | | | to ./m4, add LIBTOOL to AM_TOOL_PATHS SVN-Revision: 24830
* autotools.mk: like libintl, make all libtool fixup packages depend on the ↵Jo-Philipp Wich2010-12-191-2/+2
| | | | | | libiconv stub SVN-Revision: 24708
* autotools.mk: add a (dummy) libintl build dependency to any package using ↵Jo-Philipp Wich2010-12-191-2/+2
| | | | | | the libtool fixup SVN-Revision: 24700
* autotools.mk: remove HOST_BUILD_DEPENDS on libtoolJo-Philipp Wich2010-12-181-2/+0
| | | | SVN-Revision: 24676
* autotools.mk: set AUTOPOINT to "true", not all hosts have it install and it ↵Jo-Philipp Wich2010-12-181-1/+2
| | | | | | makes autoreconf fail if not present, it also needs cvs which isn't installed on all hosts either SVN-Revision: 24664
* autotools.mk: touch NEWS, AUTHORS, COPYING and ChangeLog, automake wants themJo-Philipp Wich2010-12-151-0/+1
| | | | SVN-Revision: 24588
* autotools.mk: always pass -I m4, some package don't seem to set correct ↵Jo-Philipp Wich2010-12-151-1/+1
| | | | | | AMFLAGS (or any at all..) SVN-Revision: 24574
* autotools.mk: don't rely on shipped autogen.sh filesJo-Philipp Wich2010-12-151-3/+1
| | | | SVN-Revision: 24573
* autotools.mk: explicately pass toolchain versions of automake, autoconf, ↵Jo-Philipp Wich2010-12-151-2/+12
| | | | | | libtoolize, ... to autoreconf SVN-Revision: 24570
* - implement hooks for hostbuilds - use host build hooks to implement fixups ↵Jo-Philipp Wich2010-12-131-14/+58
| | | | | | for host build - move separator declaration to rules.mk SVN-Revision: 24551
* autotools.mk: add yet another aclocal pathJo-Philipp Wich2010-12-131-0/+1
| | | | SVN-Revision: 24547
* autotools.mk: support autoreconf at different paths, introduce ↵Jo-Philipp Wich2010-12-131-10/+13
| | | | | | PKG_AUTOMAKE_PATHS which defaults to '.' SVN-Revision: 24534
* rework aclocal handling, packages have issues writing through the symlink so ↵Jo-Philipp Wich2010-12-111-0/+1
| | | | | | keep the host aclocal as include path for now SVN-Revision: 24474
* autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4Jo-Philipp Wich2010-12-101-0/+1
| | | | SVN-Revision: 24458
* autotools.mk: remove autom4ate.cache directory when autoreconf-ingJo-Philipp Wich2010-12-101-0/+1
| | | | SVN-Revision: 24434
* support the autoreconf fixup without libtoolFelix Fietkau2010-12-101-0/+5
| | | | SVN-Revision: 24423
* autotools.mk: introduce PKG_REMOVE_FILES to delete certain files after ↵Jo-Philipp Wich2010-12-081-1/+3
| | | | | | applying patches and before doing any fixups SVN-Revision: 24348
* autotools.mk: remove GNUmakefile before running autoreconf (spotted libgcrypt++)Jo-Philipp Wich2010-12-081-0/+1
| | | | SVN-Revision: 24344
* autotools.mk: allow disabling autoreconf, remove libdir fixupJo-Philipp Wich2010-12-081-9/+4
| | | | SVN-Revision: 24321
* autotools.mk: allow autogen.sh / autoreconf to fail (for now)Jo-Philipp Wich2010-12-081-2/+2
| | | | SVN-Revision: 24320
* autotools.mk: if ./autogen.sh exists, call that. Call autoreconfig only if ↵Jo-Philipp Wich2010-12-081-1/+8
| | | | | | configure.in or configure.ac exists SVN-Revision: 24319
* deploy the steamroller tactics and autoreconfigure any package carring the ↵Jo-Philipp Wich2010-12-081-37/+10
| | | | | | 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
* re-enable the libtool PKG_BUILD_DEPENDS for PKG_FIXUP and emit a deprecation ↵Jo-Philipp Wich2010-12-041-14/+9
| | | | | | warning. Packages must specify PKG_BUILD_DEPENDS:=libtool SVN-Revision: 24246
* ensure accidentally installed *.la-files (into $STAGING_DIR) are going to be ↵Mirko Vogt2010-12-041-0/+8
| | | | | | 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
* disable libtool fixups in trunk globallyMirko Vogt2010-12-041-13/+14
| | | | SVN-Revision: 24234
* fix libtool fixup for libstdc++Felix Fietkau2010-08-191-1/+1
| | | | SVN-Revision: 22732
* add a new helper macro to deal with conditional ./configure flagsFelix Fietkau2010-03-291-0/+1
| | | | SVN-Revision: 20570
* autotools.mk: Don't try to fixup .la files in the DevInstall host path, ↵Lars-Peter Clausen2010-02-201-3/+0
| | | | | | because those .la files shouldn't go there anyway. SVN-Revision: 19785
* autotools.mk: Add PKG_LIBTOOL_PATHS variable.Lars-Peter Clausen2010-02-181-5/+19
| | | | | | | | | | | 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
* autotools.mk: Add libstdc++ quirk to libtool_fixup_libdir. Fixes build of ↵Lars-Peter Clausen2010-01-301-2/+4
| | | | | | packages which use libtool and link against packages which link against libstdc++ SVN-Revision: 19399
* More libtool madness: Every package which was using c++ and libtool fixup ↵Lars-Peter Clausen2009-06-041-4/+15
| | | | | | | | | 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