mirror of
https://git.missingno.dev/kolibrios-nvme-driver/
synced 2024-12-22 13:58:47 +01:00
build: add install target
This commit is contained in:
parent
fb3d3968ff
commit
af6b98d5a8
5
Makefile
5
Makefile
@ -10,6 +10,11 @@ DRIVE := nvm.img
|
|||||||
all: $(NVME_SYS)
|
all: $(NVME_SYS)
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
|
install: $(NVME_SYS)
|
||||||
|
@cd ./drivers/nvme && $(MAKE)
|
||||||
|
@$(MCOPY) -moi kolibri.img $(NVME_SYS) ::DRIVERS/NVME.SYS
|
||||||
|
.PHONY: install
|
||||||
|
|
||||||
run: $(NVME_SYS)
|
run: $(NVME_SYS)
|
||||||
$(QEMU) -m $(MEMORY) -fda $(IMAGE) -boot a -drive file=$(DRIVE),if=none,id=nvm -device nvme,serial=deadbeef,drive=nvm
|
$(QEMU) -m $(MEMORY) -fda $(IMAGE) -boot a -drive file=$(DRIVE),if=none,id=nvm -device nvme,serial=deadbeef,drive=nvm
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
Loading…
Reference in New Issue
Block a user