summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 5dca1043d7..447a74bcb7 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -242,6 +242,8 @@ def splitdebuginfo(file, debugfile, debugsrcdir, d):
242 workparentdir = d.getVar("DEBUGSRC_OVERRIDE_PATH", True) or os.path.dirname(os.path.dirname(workdir)) 242 workparentdir = d.getVar("DEBUGSRC_OVERRIDE_PATH", True) or os.path.dirname(os.path.dirname(workdir))
243 sourcefile = d.expand("${WORKDIR}/debugsources.list") 243 sourcefile = d.expand("${WORKDIR}/debugsources.list")
244 244
245 bb.utils.remove(sourcefile)
246
245 # We ignore kernel modules, we don't generate debug info files. 247 # We ignore kernel modules, we don't generate debug info files.
246 if file.find("/lib/modules/") != -1 and file.endswith(".ko"): 248 if file.find("/lib/modules/") != -1 and file.endswith(".ko"):
247 return 1 249 return 1