redox/mk/depends.mk
Konstantin Shabanov 3374d5a95e mk: Explicitly set SKIP_CHECK_TOOLS
Rather than checking for different env variables, explicitly set
SKIP_CHECK_TOOLS for podman build and hosted redox.
2026-08-18 22:30:24 +07:00

18 lines
605 B
Makefile

# Configuration file for the build system dependencies
# don't check for compile tools, used when tools are managed externally, like in nix or CI
ifneq ($(SKIP_CHECK_TOOLS),1)
ifeq ($(shell which rustup),)
$(error rustup not found, install from "https://rustup.rs/")
endif
ifeq ($(shell which cbindgen),)
$(error cbindgen not found, install from crates.io or from your package manager)
endif
ifeq ($(shell which nasm),)
$(error nasm not found, install from your package manager)
endif
ifeq ($(shell which just),)
$(error 'just' not found, install from crates.io or from your package manager)
endif
endif