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.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0068a50258..ac2d71cfa4 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -414,7 +414,8 @@ def copydebugsources(debugsrcdir, d):
414 bb.utils.mkdirhier(basepath) 414 bb.utils.mkdirhier(basepath)
415 cpath.updatecache(basepath) 415 cpath.updatecache(basepath)
416 416
417 processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '(<internal>|<built-in>)$' | " 417 # Ignore files from the recipe sysroots (target and native)
418 processdebugsrc = "LC_ALL=C ; sort -z -u '%s' | egrep -v -z '((<internal>|<built-in>)$|/.*recipe-sysroot.*/)' | "
418 # We need to ignore files that are not actually ours 419 # We need to ignore files that are not actually ours
419 # we do this by only paying attention to items from this package 420 # we do this by only paying attention to items from this package
420 processdebugsrc += "fgrep -zw '%s' | " 421 processdebugsrc += "fgrep -zw '%s' | "