Wind River Support Network


LIN6-6628 : Use hardlinks during do_install for speed

Created: Jan 26, 2014    Updated: Dec 3, 2018
Resolved Date: Jan 26, 2014
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config, Kernel


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

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

(From OE-Core rev: 0727e510f8533216518563b1533e804a1dc44402)

Steps to Reproduce

N/A. (It's a performance enhancement request.)

Other Downloads

Live chat