2023-03-06 21:41:45 +01:00
|
|
|
fstools: $(FSTOOLS_TAG)
|
|
|
|
|
|
|
|
$(FSTOOLS_TAG): cookbook installer redoxfs $(CONTAINER_TAG)
|
|
|
|
ifeq ($(PODMAN_BUILD),1)
|
|
|
|
$(PODMAN_RUN) $(MAKE) $@
|
|
|
|
else
|
|
|
|
$(HOST_CARGO) build --manifest-path cookbook/Cargo.toml --release
|
|
|
|
$(HOST_CARGO) build --manifest-path installer/Cargo.toml --release
|
|
|
|
$(HOST_CARGO) build --manifest-path redoxfs/Cargo.toml --release --bin redoxfs
|
2023-03-09 20:23:16 +01:00
|
|
|
mkdir -p build
|
2023-03-06 21:41:45 +01:00
|
|
|
touch $@
|
|
|
|
endif
|
|
|
|
|
|
|
|
fstools_clean: FORCE $(CONTAINER_TAG)
|
|
|
|
ifeq ($(PODMAN_BUILD),1)
|
|
|
|
$(PODMAN_RUN) $(MAKE) $@
|
|
|
|
else
|
|
|
|
$(HOST_CARGO) clean --manifest-path cookbook/Cargo.toml
|
|
|
|
$(HOST_CARGO) clean --manifest-path installer/Cargo.toml
|
|
|
|
$(HOST_CARGO) clean --manifest-path redoxfs/Cargo.toml
|
|
|
|
rm -f $(FSTOOLS_TAG)
|
2023-03-09 20:23:16 +01:00
|
|
|
endif
|