summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-27 15:50:22 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-28 15:11:09 +0100
commit003766fb2e50b11914ca06947ecfa039429b0815 (patch)
tree0478e45637294da9a2b13ee33d9e4f7aae30d3d8
parent9d659c6f20fa4a141b491c62a3ef0dfb1f896d9c (diff)
downloadopenembedded-core-003766fb2e50b11914ca06947ecfa039429b0815.tar.gz
patchelf: Add patchelf recipe
This is useful since it allows us to edit the RPATH and interpreter fields in ELF binaries. This is potentially particularly useful in improving the way we can use the SDK and also potentially making native binaries more relocatable. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/patchelf/patchelf_0.8.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-devtools/patchelf/patchelf_0.8.bb b/meta/recipes-devtools/patchelf/patchelf_0.8.bb
new file mode 100644
index 0000000000..c1b87f5539
--- /dev/null
+++ b/meta/recipes-devtools/patchelf/patchelf_0.8.bb
@@ -0,0 +1,12 @@
+SRC_URI = "http://nixos.org/releases/${BPN}/${BPN}-${PV}/${BPN}-${PV}.tar.bz2"
+LICENSE = "GPLv3"
+SUMMARY = "Tool to allow editing of RPATH and interpreter fields in ELF binaries"
+
+SRC_URI[md5sum] = "5b151e3c83b31f5931b4a9fc01635bfd"
+SRC_URI[sha256sum] = "c99f84d124347340c36707089ec8f70530abd56e7827c54d506eb4cc097a17e7"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
+
+inherit autotools
+
+BBCLASSEXTEND = "native nativesdk"