Fix clean prefix build

This commit is contained in:
Jeremy Soller 2023-12-13 12:10:42 -07:00
parent 979933b739
commit 7bec121856
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -23,6 +23,7 @@ PREFIX_STRIP=\
2> /dev/null
$(PREFIX)/relibc: $(ROOT)/relibc
mkdir -p "$(@D)"
rm -rf "$@.partial" "$@"
cp -r "$^" "$@.partial"
mv "$@.partial" "$@"