tools: Avoid rebuilding libc and friends every single time
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:
apio 2023-01-25 21:16:20 +01:00
parent 635437a4a4
commit 8098ff0616
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -9,5 +9,5 @@ mkdir -p $LUNA_BASE
mkdir -p $LUNA_BASE/usr/include
mkdir -p $LUNA_BASE/usr/include/luna
cp -RT libc/include/ $LUNA_BASE/usr/include
cp -RT luna/include/luna/ $LUNA_BASE/usr/include/luna
cp --preserve=timestamps -RT libc/include/ $LUNA_BASE/usr/include
cp --preserve=timestamps -RT luna/include/luna/ $LUNA_BASE/usr/include/luna