summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-22 10:39:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-23 12:28:31 +0100
commitd59d4306fca664182e48c17e7bb79702f695dfcc (patch)
treece536b2015f1fb758ad4ad72c83c3a6557cb3fc2 /meta/classes/package.bbclass
parent60a26d24964832ce390b4c1f0d134b744dc9201b (diff)
downloadpoky-d59d4306fca664182e48c17e7bb79702f695dfcc.tar.gz
package: Hardlink debug source to improve performance
When copying the source files needed for the -dbg package, use hardlinks where possible. This saves some disk space and hence helps performance of the builds. (From OE-Core rev: 6775feb9fe935ab01fd9cae2b2d3fce5824a9a72) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 75444235bc..15e505d4d6 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -292,7 +292,7 @@ def splitfile2(debugsrcdir, d):
292 # We need to ignore files that are not actually ours 292 # We need to ignore files that are not actually ours
293 # we do this by only paying attention to items from this package 293 # we do this by only paying attention to items from this package
294 processdebugsrc += "fgrep -z '%s' | " 294 processdebugsrc += "fgrep -z '%s' | "
295 processdebugsrc += "(cd '%s' ; cpio -pd0mL --no-preserve-owner '%s%s' 2>/dev/null)" 295 processdebugsrc += "(cd '%s' ; cpio -pd0mlL --no-preserve-owner '%s%s' 2>/dev/null)"
296 296
297 subprocess.call(processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir), shell=True) 297 subprocess.call(processdebugsrc % (sourcefile, workbasedir, workparentdir, dvar, debugsrcdir), shell=True)
298 298