Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 0/4] Host-package: RPATH fixup
@ 2015-07-13  8:18 Samuel Martin
  2015-07-13  8:18 ` [Buildroot] [PATCH v2 1/4] support/scripts: add fix_rpaths Samuel Martin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Samuel Martin @ 2015-07-13  8:18 UTC (permalink / raw)
  To: buildroot

Hi all,

2nd round for this short series, but this time with a python
implementation leveraging patchelf to fix RPATH.

This is a first step for a relocatable SDK, that allows to relocate
the toolchain (and only the toolchain), without any patch in the
toolchain packages.

These changes add hooks to target-finalize that fix the RPATHs in the
host tree, and clear those in the target tree.

Bonus, the staging symlink now uses relative path. ;-)

Regards,

Samuel Martin (4):
  support/scripts: add fix_rpaths
  package/patchelf: add HOST_FIX_RPATH_HOOK to TARGET_FINALIZE_HOOKS
  package/patchelf: add TARGET_CLEAR_RPATH_HOOK to TARGET_FINALIZE_HOOKS
  Makefile: staging symlink uses a relative path

 Makefile                     |   2 +-
 package/patchelf/patchelf.mk |  20 +++
 support/scripts/fix_rpaths   | 302 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 323 insertions(+), 1 deletion(-)
 create mode 100755 support/scripts/fix_rpaths

--
2.4.5

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2015-07-19  7:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13  8:18 [Buildroot] [PATCH v2 0/4] Host-package: RPATH fixup Samuel Martin
2015-07-13  8:18 ` [Buildroot] [PATCH v2 1/4] support/scripts: add fix_rpaths Samuel Martin
2015-07-13  8:26   ` Baruch Siach
2015-07-13  8:18 ` [Buildroot] [PATCH v2 2/4] package/patchelf: add HOST_FIX_RPATH_HOOK to TARGET_FINALIZE_HOOKS Samuel Martin
2015-07-13  8:32   ` Baruch Siach
2015-07-13  8:18 ` [Buildroot] [PATCH v2 3/4] package/patchelf: add TARGET_CLEAR_RPATH_HOOK " Samuel Martin
2015-07-13  8:18 ` [Buildroot] [PATCH v2 4/4] Makefile: staging symlink uses a relative path Samuel Martin
2015-07-16 10:17   ` Jérôme Pouiller
2015-07-19  7:15     ` Samuel Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox