summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 7bcfa02755..bdc4d37af6 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -234,17 +234,17 @@ def splitfile2(debugsrcdir, d):
234 234
235 import commands, stat 235 import commands, stat
236 236
237 dvar = d.getVar('PKGD', True)
238 pathprefix = "export PATH=%s; " % d.getVar('PATH', True)
239 strip = d.getVar("STRIP", True)
240 objcopy = d.getVar("OBJCOPY", True)
241 debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit")
242 workdir = d.getVar("WORKDIR", True)
243 workparentdir = os.path.dirname(workdir)
244 workbasedir = os.path.basename(workdir)
245 sourcefile = d.expand("${WORKDIR}/debugsources.list") 237 sourcefile = d.expand("${WORKDIR}/debugsources.list")
238 if debugsrcdir and os.path.isfile(sourcefile):
239 dvar = d.getVar('PKGD', True)
240 pathprefix = "export PATH=%s; " % d.getVar('PATH', True)
241 strip = d.getVar("STRIP", True)
242 objcopy = d.getVar("OBJCOPY", True)
243 debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit")
244 workdir = d.getVar("WORKDIR", True)
245 workparentdir = os.path.dirname(workdir)
246 workbasedir = os.path.basename(workdir)
246 247
247 if debugsrcdir:
248 nosuchdir = [] 248 nosuchdir = []
249 basepath = dvar 249 basepath = dvar
250 for p in debugsrcdir.split("/"): 250 for p in debugsrcdir.split("/"):