[oe-commits] James Limbouris : debian.bbclass: invoke target objdump
git at git.openembedded.org
git at git.openembedded.org
Mon Jun 18 12:21:52 UTC 2012
Module: openembedded-core.git
Branch: master
Commit: 6d761ae17ddbd3d936e7fe985b40825ad62b2418
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6d761ae17ddbd3d936e7fe985b40825ad62b2418
Author: James Limbouris <james at digitalmatter.com.au>
Date: Mon Jun 18 10:33:33 2012 +0800
debian.bbclass: invoke target objdump
Using the host objdump can lead to errors like:
objdump: library.so.1.0.0: File format is ambiguous
objdump: Matching formats: elf32-littlearm elf32-littlearm-symbian elf32-littlearm-vxworks
with certain configurations of binutils.
Signed-off-by: James Limbouris <james at digitalmatter.com.au>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/debian.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/debian.bbclass b/meta/classes/debian.bbclass
index 3637e2e..bb4ae11 100644
--- a/meta/classes/debian.bbclass
+++ b/meta/classes/debian.bbclass
@@ -60,7 +60,7 @@ python debian_package_name_hook () {
for f in files:
if so_re.match(f):
fp = os.path.join(root, f)
- cmd = (d.getVar('BUILD_PREFIX', True) or "") + "objdump -p " + fp + " 2>/dev/null"
+ cmd = (d.getVar('TARGET_PREFIX', True) or "") + "objdump -p " + fp + " 2>/dev/null"
fd = os.popen(cmd)
lines = fd.readlines()
fd.close()
More information about the Openembedded-commits
mailing list