relocatable: Class to post-process packages for relocatability
authorJoshua Lock <josh@linux.intel.com>
Wed, 31 Mar 2010 10:41:58 +0000 (11:41 +0100)
committerRichard Purdie <rpurdie@linux.intel.com>
Wed, 5 May 2010 14:05:36 +0000 (15:05 +0100)
commitd1a8b276c0f7c2838816071bca797bb56fcccef7
treea1a12202a097981e0bc58e9e63163903c920ef9e
parent3440328ac1ccbd5ca6aeea4a4b6084ecafd6fdda
relocatable: Class to post-process packages for relocatability

This class helps make packages relocatable by post-processing the binaries and
using chrpath to set the RPATH relative to $ORIGIN.

Patch also enables this post-processing for native packages and adds chrpath to
the required utilties.

Based on ideas from a patch from Tom Rini <tom_rini@mentor.com>

Signed-off-by: Joshua Lock <josh@linux.intel.com>
classes/cross.bbclass
classes/native.bbclass
classes/relocatable.bbclass [new file with mode: 0644]
classes/sanity.bbclass