summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/path.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-08 15:17:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 10:34:08 +0000
commit5e73287ad88837c6fea9d03bb1af81a1f83e89cc (patch)
treef6b2daa969c1a87b563bca6417beab1c4c1132f1 /meta/lib/oe/path.py
parent4fdc3d77d4a875b7236536bf78849a4d1f6a7449 (diff)
downloadast2050-yocto-poky-5e73287ad88837c6fea9d03bb1af81a1f83e89cc.zip
ast2050-yocto-poky-5e73287ad88837c6fea9d03bb1af81a1f83e89cc.tar.gz
kernel: Use hardlinks during do_install for speed
Whilst the comment says we can't do this, its incorrect, install operates on WORKDIR and its hard for different parts of WORKDIR to be on different filesystems. Hardlinking instead of copying is therefore a nice performance gain. Also, completely skip the Documentation directory (adding a dummy Makefile to keep make happy) and tweak the other cp commands to link since if we don't we'd get "this is the same file" type errors from cp for some kernel versions. For do_install on linux-yocto, this takes it from 227s -> 84s. (From OE-Core rev: 0727e510f8533216518563b1533e804a1dc44402) (From OE-Core rev: f6e98af6b9f6729bb61f17e3b4203c3c79829205) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/path.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud