| Submitter | Saul Wold |
|---|---|
| Date | July 16, 2012, 3:47 p.m. |
| Message ID | <32b1fde106bf423873a4a56e1111f230494e2d4a.1342453118.git.sgw@linux.intel.com> |
| Download | mbox | patch |
| Permalink | /patch/32119/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index ec7de2c..dfd4211 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -190,7 +190,7 @@ def splitfile(file, debugfile, debugsrcdir, d): objcopy = d.getVar("OBJCOPY", True) debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit") workdir = d.getVar("WORKDIR", True) - workparentdir = os.path.dirname(workdir) + workparentdir = d.getVar("DEBUGSRC_OVERRIDE_PATH", True) or os.path.dirname(workdir) sourcefile = d.expand("${WORKDIR}/debugsources.list") # We ignore kernel modules, we don't generate debug info files.