diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-03-11 17:45:05 -0800 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-03-13 22:20:02 +0000 |
commit | bf4aa0c6a2f57951f995b2ac6f394c45ac852b9d (patch) | |
tree | 80e67d10f722a32251a0e4fe2e065fbca9a2a497 /scripts/cfe-partition-tag.py | |
parent | 29e2be69c4689f3438340f23a6eb5649516f0c6d (diff) | |
download | upstream-bf4aa0c6a2f57951f995b2ac6f394c45ac852b9d.tar.gz upstream-bf4aa0c6a2f57951f995b2ac6f394c45ac852b9d.tar.bz2 upstream-bf4aa0c6a2f57951f995b2ac6f394c45ac852b9d.zip |
tools/libelf: remove unneeded host library
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>
Diffstat (limited to 'scripts/cfe-partition-tag.py')
0 files changed, 0 insertions, 0 deletions