summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/relocatable.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass
index 37e6610131..9237b459ba 100644
--- a/meta/classes/relocatable.bbclass
+++ b/meta/classes/relocatable.bbclass
@@ -14,10 +14,15 @@ def rpath_replace (path, d):
14 14
15 for d in bindirs: 15 for d in bindirs:
16 dir = path + "/" + d 16 dir = path + "/" + d
17 bb.note("Checking %s for binaries to process" % dir) 17 bb.debug("Checking %s for binaries to process" % dir)
18 if os.path.exists(dir): 18 if os.path.exists(dir):
19 for file in os.listdir(dir): 19 for file in os.listdir(dir):
20 fpath = dir + "/" + file 20 fpath = dir + "/" + file
21 if os.path.islink(fpath):
22 fpath = os.readlink(fpath)
23 if not os.path.isabs(fpath):
24 fpath = os.path.normpath(os.path.join(dir, fpath))
25
21 #bb.note("Testing %s for relocatability" % fpath) 26 #bb.note("Testing %s for relocatability" % fpath)
22 p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE) 27 p = sub.Popen([cmd, '-l', fpath],stdout=sub.PIPE,stderr=sub.PIPE)
23 err, out = p.communicate() 28 err, out = p.communicate()