aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libelf
Commit message (Collapse)AuthorAgeFilesLines
* tools/libelf: remove unneeded host libraryTony Ambardar2021-03-132-256/+0
| | | | | | | | | | | | | | | | | | | | This old ELF library dating to 2009 used to be necessary on MacOS but is not required for building the kernel or tools since [1]. On Linux systems, libelf is already an OpenWRT build-system prerequisite [2]. Presence of the older library can mask or conflict with the system libelf and lead to build errors, as seen compiling Linux kernels since v5.8 or host tools such as dwarves (e.g. pahole). Remove the unnecessary tools/libelf library and avoid the related issues. [1] 5f8e587240 ("build: force disable stack validation during kernel build on non-linux systems") [2] https://openwrt.org/docs/guide-developer/build-system/install-buildsystem#prerequisites Tested-by: Rosen Penev <rosenp@gmail.com> (Linux) Tested-by: Georgi Valkov <gvalkov@abv.bg> (MacOS) Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* tools/libelf: use autoreconf to fix build failure on macOS with recent Xcode ↵Felix Fietkau2020-11-141-0/+4
| | | | | | versions Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools: libelf: fix headers to trigger -Wundef warningsJo-Philipp Wich2019-09-031-0/+198
| | | | | | | | | | | | When libelf from tools/ is used for building the kernel, compilation aborts due to access to undefined defines since Kbuild adds -Wundef to the compiler flags. Patch the header files to use `#if defined(...)` instead of `#if ...` to prevent such issues. Ref: https://github.com/NixOS/nixpkgs/issues/59929 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: libelf: install pkg-config fileJo-Philipp Wich2019-09-031-1/+3
| | | | | | | Install the pkg-config definition for libelf in order to allow the kernel build process discover it later on. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools/libelf: Add mirrors as main site is deadDaniel Engberg2019-03-171-2/+3
| | | | | | Main site hasn't resolved for days so just add a few mirrors instead Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* 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>
* build: add the + token to any commands that can pass through the jobserver, ↵Felix Fietkau2012-09-231-1/+1
| | | | | | fixes parallel build on some systems SVN-Revision: 33523
* tools/libelf: enable parallel buildsFelix Fietkau2012-09-151-1/+3
| | | | SVN-Revision: 33437
* fix graphite options with gcc-4.5, add libelf for LTO, fix mbsd_multi patch, ↵Florian Fainelli2010-04-201-0/+49
patch from Bernhard Loos SVN-Revision: 21046