Wind River Support Network

HomeDefectsLIN6-6628
Fixed

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: 6.0.0.3
Fix Version: 6.0.0.3
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config, Kernel

Description

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.

(From OE-Core rev: 0727e510f8533216518563b1533e804a1dc44402)

Steps to Reproduce

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

Other Downloads


Live chat
Online