diff options
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index ec7de2c36e..dfd42117c5 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -190,7 +190,7 @@ def splitfile(file, debugfile, debugsrcdir, d): | |||
190 | objcopy = d.getVar("OBJCOPY", True) | 190 | objcopy = d.getVar("OBJCOPY", True) |
191 | debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit") | 191 | debugedit = d.expand("${STAGING_LIBDIR_NATIVE}/rpm/bin/debugedit") |
192 | workdir = d.getVar("WORKDIR", True) | 192 | workdir = d.getVar("WORKDIR", True) |
193 | workparentdir = os.path.dirname(workdir) | 193 | workparentdir = d.getVar("DEBUGSRC_OVERRIDE_PATH", True) or os.path.dirname(workdir) |
194 | sourcefile = d.expand("${WORKDIR}/debugsources.list") | 194 | sourcefile = d.expand("${WORKDIR}/debugsources.list") |
195 | 195 | ||
196 | # We ignore kernel modules, we don't generate debug info files. | 196 | # We ignore kernel modules, we don't generate debug info files. |