Ensure build directory exists before touching fstools tag

This commit is contained in:
Jeremy Soller 2023-03-09 12:23:16 -07:00
parent ade8e7085a
commit 7f40e64fde
No known key found for this signature in database
GPG key ID: DCFCA852D3906975

View file

@ -7,6 +7,7 @@ else
$(HOST_CARGO) build --manifest-path cookbook/Cargo.toml --release $(HOST_CARGO) build --manifest-path cookbook/Cargo.toml --release
$(HOST_CARGO) build --manifest-path installer/Cargo.toml --release $(HOST_CARGO) build --manifest-path installer/Cargo.toml --release
$(HOST_CARGO) build --manifest-path redoxfs/Cargo.toml --release --bin redoxfs $(HOST_CARGO) build --manifest-path redoxfs/Cargo.toml --release --bin redoxfs
mkdir -p build
touch $@ touch $@
endif endif
@ -18,4 +19,4 @@ else
$(HOST_CARGO) clean --manifest-path installer/Cargo.toml $(HOST_CARGO) clean --manifest-path installer/Cargo.toml
$(HOST_CARGO) clean --manifest-path redoxfs/Cargo.toml $(HOST_CARGO) clean --manifest-path redoxfs/Cargo.toml
rm -f $(FSTOOLS_TAG) rm -f $(FSTOOLS_TAG)
endif endif