diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-22 10:39:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-23 12:28:31 +0100 |
commit | d59d4306fca664182e48c17e7bb79702f695dfcc (patch) | |
tree | ce536b2015f1fb758ad4ad72c83c3a6557cb3fc2 | |
parent | 60a26d24964832ce390b4c1f0d134b744dc9201b (diff) | |
download | poky-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>
-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 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 | ||