summaryrefslogtreecommitdiffstats
path: root/package/Config.in.host
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-07-31 00:57:16 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-31 23:53:23 +0200
commit8f570cd765d52da56b4cebd4e5149ab8ebceec7f (patch)
tree2417ad33473ecfa04c5d6bec218eafbe5ba55141 /package/Config.in.host
parenta930d9cef6bdcf8de7d086ea66d977530200b8e0 (diff)
downloadbuildroot-8f570cd765d52da56b4cebd4e5149ab8ebceec7f.tar.gz
buildroot-8f570cd765d52da56b4cebd4e5149ab8ebceec7f.zip
package/patchelf: new host package
In some situations, users may want to tweak the dynamic section of the binaries (for example to add/set the RPATH to $ORIGIN/../lib). Because it is not trivial to do it properly from the Buildroot infrastructure, allow those users to use patchelf (e.g. from a post-build script) to tweak binaries. patchelf is able to: - modify an existing DT_RUNPATH tags - add a DT_RUNPATH tag if not already present - do the above to the DT_RPATH tag, too - set the path to the interpreter - remove DT_NEEDED tags - query a binary for the DT_RUNPATH/DT_RPATH tag, or for the interpreter path Does not really fix #7172, but this is an appropriate workaround. [Thomas: change license to GPLv3+, as mentionned in the project's README file.] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Mike Zick <minimod@morethan.org> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/Config.in.host')
-rw-r--r--package/Config.in.host1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/Config.in.host b/package/Config.in.host
index 062c6c918b..e05bbfadf3 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -13,6 +13,7 @@ menu "Host utilities"
source "package/omap-u-boot-utils/Config.in.host"
source "package/openocd/Config.in.host"
source "package/parted/Config.in.host"
+ source "package/patchelf/Config.in.host"
source "package/pwgen/Config.in.host"
source "package/sam-ba/Config.in.host"
source "package/squashfs/Config.in.host"
OpenPOWER on IntegriCloud