aboutsummaryrefslogtreecommitdiffstats
path: root/tools/automake
Commit message (Collapse)AuthorAgeFilesLines
* automake: use STAGING_DIR_HOST in relocatable patchChristian Marangi2023-01-092-6/+6
| | | | | | | | Instead of using STAGING_DIR and then go up one dir with '../' use directly STAGING_DIR_HOST env variable. This should produce cleaner symbolic links. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* tools: add Host/Uninstall where possibleRosen Penev2022-10-201-3/+2
| | | | | | This cleans staging_dir when calling tool/x/clean. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* automake: always use correct path for aclocal.realLeonardo Mörlein2022-07-141-1/+1
| | | | | | | | | | | | | | | | Before this commit, it was assumed that aclocal.real is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. The command failed with: /home/.../openwrt/staging_dir/host/bin/aclocal: line 2: aclocal.real: command not found autoreconf: /home/.../openwrt/staging_dir/host/bin/aclocal failed with exit status: 127 After the commit, the package is built sucessfully. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* tools/automake: Revert "Do not use $(V) - force AM_V=1"Fredrik Olofsson2019-11-061-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 43365ca66253 ("Do not use $(V) - force AM_V=1") as it breaks verbose output in automake packages, deviating from the upstream and expected behaviour. As you can see, neither make command outputs the expected verbose compile command lines: ``` $ make package/mtd-utils/{clean,compile} V=sc ... CCLD lsmtd CC nand-utils/nanddump.o CCLD nanddump ... ``` ``` $ make -C build_dir/target*/mtd-utils-2.1.1 clean ... $ make -C build_dir/target*/mtd-utils-2.1.1 V=1 ... CC lib/libmtd.o CC lib/libfec.o CC lib/common.o CC lib/libcrc32.o ``` The original reason for this commit was some packages failing to build if V is set to something other than 0 or 1. See the discussion in PR https://github.com/openwrt/openwrt/pull/2481 for how to fix this in the package Makefile. Ref: PR#2481 Acked-by: Mirko Vogt <mirko-openwrt@nanl.de> Signed-off-by: Fredrik Olofsson <fredrik.olofsson@anyfinetworks.com> [commit title/description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* add PKG_CPE_ID ids to package and toolsAlexander Couzens2017-11-171-0/+1
| | | | | | | | | | | CPE ids helps to tracks CVE in packages. https://cpe.mitre.org/specification/ Thanks to swalker for CPE to package mapping and keep tracking CVEs. Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* automake: Update to version 1.15.1Thomas Langer2017-07-043-37/+7
| | | | | | | The new version includes the fix for new perl versions, so remove the related patch. Signed-off-by: Thomas Langer <thomas.langer.71@gmail.com>
* automake: import upstream fix for perl 5.26Daniel Golle2017-06-071-0/+30
| | | | | | | | Build broke as distributions now include Perl 5.26 and automake triggered an "Unescaped left brace in regex" error. Import upstream commit 13f00eb449 to fix that. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* treewide: clean up download hashesFelix Fietkau2016-12-161-1/+1
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* automake: portability fixesJo-Philipp Wich2015-03-243-5/+59
| | | | | | | | | | | | | The rework of the host tools discovery caused automake to embed absolute paths to staging_dir/host/bin/perl into the shebang of the generated automake executables. Switch to the portable "/usr/bin/env perl" and enable global warnings through "$^W" instead of the "-w" interpreter argument. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 44972
* disable silent-rules by defaultMirko Vogt2015-03-121-1/+4
| | | | | | | | | | | | OpenWrt hides verbose output by default, regardless of automake silent-rules being en-/disabled. If we enable verbose output for package builds (V=s) however, we'd like to see as most as possible. Signed-off-by: Mirko Vogt <mirko@openwrt.org> SVN-Revision: 44685
* Do not use $(V) - force AM_V=1Mirko Vogt2015-03-121-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Projects using silent-rules might otherwise fail to compile. This is due to the following resulting Makefile code: AM_V_P = $(am__v_P_$(V)) am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) am__v_P_0 = false am__v_P_1 = : Automake directly uses $(V) for variable name expansion which fails if $(V) is set to sth. else other than '0' or '1'. This patch forces automake to not take $(V) into account but to always use the default config for verbosity. A better approach would be to actually take $(V) into account, however not just pass it through (AM_V='$(V)') but set AM_V to 0 if $V=0 / unset and to 1 otherwise. This plan however is foiled due to my frustration about automake as well as my lack of m4 skills. automake bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20077 Signed-off-by: Mirko Vogt <mirko@openwrt.org> SVN-Revision: 44684
* tools: bootstrap automake to pickup the correct in-tree autoconfJo-Philipp Wich2015-01-131-0/+5
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43958
* tools: automake: update to v1.15Jo-Philipp Wich2015-01-093-40/+42
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 43895
* automake: update to 1.11.6Luka Perkov2013-12-174-24/+10
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 39108
* fixes python related autokrampf install bugJohn Crispin2012-06-071-0/+14
| | | | | | this commit fixes a compile bug triggered by pygobject SVN-Revision: 32109
* automake: update to 1.11.3Florian Fainelli2012-04-023-11/+11
| | | | | | Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> SVN-Revision: 31173
* automake: forcibly disable perl ithreads support The SDK when build on a ↵Jo-Philipp Wich2012-02-011-1/+2
| | | | | | machine with perl ithreads enabled will fail to run on many Gentoo systems because perl is usually built without thread capability there. In order to circumvent this issue forcibly disable the ithreads support, tested on CentOS 5.6, Ubuntu 10.04 LTS and Gentoo. SVN-Revision: 29979
* automake: generate relative aclocal symlinks in staging_dirJo-Philipp Wich2012-01-281-4/+4
| | | | SVN-Revision: 29929
* automake: further relocation fixesJo-Philipp Wich2012-01-202-1/+12
| | | | SVN-Revision: 29828
* automake: make relocatable by searching resources relative to STAGING_DIRJo-Philipp Wich2012-01-201-0/+35
| | | | SVN-Revision: 29820
* tools: clean up Makefiles / make ccache workJohn Crispin2012-01-151-9/+1
| | | | SVN-Revision: 29754
* automake: rework patch; only skip when the directories does not exist, this ↵Jo-Philipp Wich2010-12-101-7/+10
| | | | | | preserves error cases like missing access permissions SVN-Revision: 24427
* automake: use symlinks instead of hardlinks to link aclocal versionsJo-Philipp Wich2010-12-101-4/+4
| | | | SVN-Revision: 24425
* automake: skip over not existing m4 macro directories, don't failJo-Philipp Wich2010-12-101-0/+12
| | | | SVN-Revision: 24424
* tools/automake: add symbolic links upto version 1.11.1Alexandros C. Couloumbis2010-12-061-0/+2
| | | | SVN-Revision: 24287
* tools/automake: update to version 1.11.1Alexandros C. Couloumbis2010-12-061-2/+2
| | | | SVN-Revision: 24278
* update automake to 1.10, fixes #6022Florian Fainelli2009-11-241-2/+3
| | | | SVN-Revision: 18527
* clean up / fix various Host/Clean templates in tools/Felix Fietkau2009-05-081-2/+1
| | | | SVN-Revision: 15714
* clean up automake/pkg-config handling, move separate host/package variable ↵Felix Fietkau2009-04-221-9/+1
| | | | | | exports to templates, fix automake path for host builds SVN-Revision: 15339
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-10/+10
| | | | | | host-build steps SVN-Revision: 14610
* Check for existence of target aclocal folder before including them.Lars-Peter Clausen2008-10-091-4/+9
| | | | SVN-Revision: 12934
* Add wrapper around aclocal which also search in the targets staging dir ↵Lars-Peter Clausen2008-10-082-1/+9
| | | | | | aclocal folder for m4 files. SVN-Revision: 12929
* add automake to tools/Felix Fietkau2007-12-251-0/+38
SVN-Revision: 9901