summaryrefslogtreecommitdiffstats
path: root/rules/host-patchelf.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2019-05-07 15:09:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-05-08 16:27:53 +0200
commitd6a7e45b8e4a1e59ba3a40592e21554f923c2404 (patch)
tree65269e8c0db826ee9c60a5292009b5553574792c /rules/host-patchelf.make
parente229cbcc5cc4f9d21ae128ab0e92e1b83684b8de (diff)
downloadptxdist-d6a7e45b8e4a1e59ba3a40592e21554f923c2404.tar.gz
ptxdist-d6a7e45b8e4a1e59ba3a40592e21554f923c2404.tar.xz
host-patchelf: new package
PatchELF is a simple utility for modifying existing ELF executables and libraries. It comes handy when dealing with existing binary tools with strange NEEDED or without RUNPATH in the ELF header. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-patchelf.make')
-rw-r--r--rules/host-patchelf.make34
1 files changed, 34 insertions, 0 deletions
diff --git a/rules/host-patchelf.make b/rules/host-patchelf.make
new file mode 100644
index 000000000..a56436a8c
--- /dev/null
+++ b/rules/host-patchelf.make
@@ -0,0 +1,34 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018, 2019 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_PATCHELF) += host-patchelf
+
+#
+# Paths and names
+#
+HOST_PATCHELF_VERSION := 0.10
+HOST_PATCHELF_MD5 := 228ade8c1b4033670bcf7f77c0ea1fb7
+HOST_PATCHELF := patchelf-$(HOST_PATCHELF_VERSION)
+HOST_PATCHELF_SUFFIX := tar.gz
+HOST_PATCHELF_URL := https://nixos.org/releases/patchelf/$(HOST_PATCHELF)/$(HOST_PATCHELF).$(HOST_PATCHELF_SUFFIX)
+HOST_PATCHELF_SOURCE := $(SRCDIR)/$(HOST_PATCHELF).$(HOST_PATCHELF_SUFFIX)
+HOST_PATCHELF_DIR := $(HOST_BUILDDIR)/$(HOST_PATCHELF)
+HOST_PATCHELF_LICENSE := GPL-3.0-or-later
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_PATCHELF_CONF_TOOL := autoconf
+
+# vim: syntax=make