forked from xl0/illumos-virtio
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
initial check-in of smartos-live compatible makefile & manifest
- Loading branch information
1 parent
506b310
commit d3442f8
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ROOT=$(PWD) | ||
|
||
ifeq ($(DESTDIR),) | ||
DESTDIR=$(ROOT) | ||
endif | ||
|
||
world all: | ||
@cd virtio; gmake | ||
@cd virtio_blk; gmake | ||
|
||
install: | ||
@cp virtio/virtio $(DESTDIR)/kernel/misc/amd64/ | ||
@cp virtio_blk/vioblk $(DESTDIR)/kernel/drv/amd64/ | ||
|
||
|
||
manifest: | ||
cp manifest $(DESTDIR)/$(DESTNAME) | ||
|
||
.PHONY: manifest | ||
|
||
clean: | ||
@cd virtio; gmake clean | ||
@cd virtio_blk; gmake clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
d kernel 0755 root sys | ||
d kernel/misc 0755 root sys | ||
d kernel/misc/amd64 0755 root sys | ||
f kernel/misc/amd64/virtio 0755 root sys | ||
d kernel/drv 0755 root sys | ||
d kernel/drv/amd64 0755 root sys | ||
f kernel/drv/amd64/vioblk 0755 root sys |