projects
/
vuplus_openembedded
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68b529f
)
package.bbclass: set PATH before running OBJDUMP to get dependencies calculated
author
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 12 Dec 2006 16:41:25 +0000
(16:41 +0000)
committer
Marcin Juszkiewicz
<hrw@openembedded.org>
Tue, 12 Dec 2006 16:41:25 +0000
(16:41 +0000)
I do not know does this is best way of fixing it but it is better to have it in
repository then having rootfs images without libc.
classes/package.bbclass
patch
|
blob
|
history
diff --git
a/classes/package.bbclass
b/classes/package.bbclass
index
c53b3ee
..
132fdcb
100644
(file)
--- a/
classes/package.bbclass
+++ b/
classes/package.bbclass
@@
-576,6
+576,7
@@
python package_do_shlibs() {
path = os.path.join(root, file)
if os.access(path, os.X_OK) or lib_re.match(file):
cmd = bb.data.getVar('OBJDUMP', d, 1) + " -p " + path + " 2>/dev/null"
+ cmd = "PATH=\"%s\" %s" % (bb.data.getVar('PATH', d, 1), cmd)
fd = os.popen(cmd)
lines = fd.readlines()
fd.close()