Require xargo 0.3.20

This commit is contained in:
Jeremy Soller 2020-06-06 21:29:53 -06:00
parent 52982d83a4
commit 03e6618a10
No known key found for this signature in database
GPG key ID: E988B49EE78A7FB1
2 changed files with 9 additions and 0 deletions

View file

@ -1,6 +1,9 @@
# Configuration and variables
include mk/config.mk
# Dependencies
include mk/depends.mk
all: build/harddrive.bin
coreboot: build/coreboot.elf

6
mk/depends.mk Normal file
View file

@ -0,0 +1,6 @@
# Dependencies
XARGO_VERSION=0.3.20
ifeq ($(shell cargo install --list | grep '^xargo v$(XARGO_VERSION):$$'),)
$(error xargo $(XARGO_VERSION) not found, run "cargo install --force --version $(XARGO_VERSION) xargo")
endif