summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-11-28 15:10:54 +0000
committerGraeme Gregory <dp@xora.org.uk>2006-11-28 15:10:54 +0000
commit4b127550884048827753325400f10a2e9461a07b (patch)
tree09adbfe85accb062310095f7ead10001db3b1497 /classes
parent3f470438075ff760f3ccbcb11535b41c8c106dae (diff)
bitbake.conf : introduce the OBJDUMP variable, by default set to
${HOST_PREFIX}objdump package.bbclass : make use of the OBJDUMP variable rather than calling ${BUILD_PREFIX}objdump inside do_shlibs. As the original usage was faulty and ended up calling host objdump which works for some arm targets but not all.
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index 4909fc61df..c53b3ee708 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -575,7 +575,7 @@ python package_do_shlibs() {
soname = None
path = os.path.join(root, file)
if os.access(path, os.X_OK) or lib_re.match(file):
- cmd = (bb.data.getVar('BUILD_PREFIX', d, 1) or "") + "objdump -p " + path + " 2>/dev/null"
+ cmd = bb.data.getVar('OBJDUMP', d, 1) + " -p " + path + " 2>/dev/null"
fd = os.popen(cmd)
lines = fd.readlines()
fd.close()