aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-17 23:44:13 -0700
committerKhem Raj <raj.khem@gmail.com>2012-10-06 11:16:31 -0700
commitf6d579ba66973218aee1f80cbf5afdcfc127a9e3 (patch)
tree574bdca0552d52ec16ce742d8502216dfa55ad3b
parent15400ac51655ef77d7fc0cba999a42f9a1a2a534 (diff)
downloadopenembedded-core-contrib-kraj/patchelf.tar.gz
openembedded-core-contrib-kraj/patchelf.tar.bz2
openembedded-core-contrib-kraj/patchelf.zip
classes: Rename chrpath.bbclass -> patchelf.bbclasskraj/patchelf
Fix references to chrpath bbclass Rename CHRPATH_BIN to PATCHELF_BIN Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta/classes/package.bbclass2
-rw-r--r--meta/classes/patchelf.bbclass (renamed from meta/classes/chrpath.bbclass)4
-rw-r--r--meta/classes/relocatable.bbclass2
3 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 73c4358aff..6197f88518 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -40,7 +40,7 @@
inherit packagedata
inherit prserv
-inherit chrpath
+inherit patchelf
PKGD = "${WORKDIR}/package"
PKGDEST = "${WORKDIR}/packages-split"
diff --git a/meta/classes/chrpath.bbclass b/meta/classes/patchelf.bbclass
index 3263505041..032bb022e8 100644
--- a/meta/classes/chrpath.bbclass
+++ b/meta/classes/patchelf.bbclass
@@ -1,11 +1,11 @@
-CHRPATH_BIN ?= "patchelf"
+PATCHELF_BIN ?= "patchelf"
PREPROCESS_RELOCATE_DIRS ?= ""
def process_dir (directory, d):
import subprocess as sub
import stat
- cmd = d.expand('${CHRPATH_BIN}')
+ cmd = d.expand('${PATCHELF_BIN}')
tmpdir = d.getVar('TMPDIR')
basedir = d.expand('${base_prefix}')
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass
index 4ca9981f44..64f392eb50 100644
--- a/meta/classes/relocatable.bbclass
+++ b/meta/classes/relocatable.bbclass
@@ -1,4 +1,4 @@
-inherit chrpath
+inherit patchelf
SYSROOT_PREPROCESS_FUNCS += "relocatable_binaries_preprocess"