aboutsummaryrefslogtreecommitdiffstats
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:14:01 +0000
commitf6e98af6b9f6729bb61f17e3b4203c3c79829205 (patch)
tree5015a9820417044cb16a636d321e4535a7c4f1de /meta/lib/oe/path.py
parenteac8cb7cacab7f2fb392128aa5ebc2046ca4a793 (diff)
downloadopenembedded-core-contrib-f6e98af6b9f6729bb61f17e3b4203c3c79829205.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) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/path.py')
0 files changed, 0 insertions, 0 deletions