2
0
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:
Abdur-Rahman Mansoor 2024-08-19 07:49:09 -04:00
parent fb3d3968ff
commit af6b98d5a8
Signed by: ramenu
GPG Key ID: 8D15FCF6795779C8

View File

@ -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