tools: Avoid rebuilding libc and friends every single time
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
We do this by preserving timestamps when copying headers so CMake doesn't think they have changed.
This commit is contained in:
parent
635437a4a4
commit
8098ff0616
@ -9,5 +9,5 @@ mkdir -p $LUNA_BASE
|
|||||||
mkdir -p $LUNA_BASE/usr/include
|
mkdir -p $LUNA_BASE/usr/include
|
||||||
mkdir -p $LUNA_BASE/usr/include/luna
|
mkdir -p $LUNA_BASE/usr/include/luna
|
||||||
|
|
||||||
cp -RT libc/include/ $LUNA_BASE/usr/include
|
cp --preserve=timestamps -RT libc/include/ $LUNA_BASE/usr/include
|
||||||
cp -RT luna/include/luna/ $LUNA_BASE/usr/include/luna
|
cp --preserve=timestamps -RT luna/include/luna/ $LUNA_BASE/usr/include/luna
|
||||||
|
Loading…
Reference in New Issue
Block a user