Toolchain: Do not use install -D in BuildIt.sh

`-D` doesn't exist on macOS. Just call `mkdir -p` instead.
This commit is contained in:
Nico Weber 2023-01-08 19:08:51 -05:00 committed by Andrew Kaster
parent 491af34d36
commit 2949824849
Notes: sideshowbarker 2024-07-17 09:37:30 +09:00

View file

@ -400,7 +400,8 @@ pushd "$DIR/Build/$ARCH"
-e "s@$SRC_ROOT/AK/@AK/@" \
-e "s@$SRC_ROOT/Userland/Libraries/LibC@@" \
-e "s@$SRC_ROOT/Kernel/@Kernel/@")
buildstep "system_headers" $INSTALL -D "$header" "Root/usr/include/$target"
buildstep "system_headers" mkdir -p "$(dirname "Root/usr/include/$target")"
buildstep "system_headers" $INSTALL "$header" "Root/usr/include/$target"
done
unset SRC_ROOT
popd