0c4c2323c0
This is preparation for pvgrub support, where all VM kernel files will be installed inside of VM instead of dom0. But also the same could be used to prepare VM kernel image from any dom0 kernel.
10 lines
284 B
Makefile
10 lines
284 B
Makefile
ver := $(shell cat ../version)
|
|
srcdir := /usr/src/u2mfn-$(ver)
|
|
|
|
install: install-u2mfn
|
|
|
|
install-u2mfn:
|
|
install -d $(DESTDIR)$(srcdir)
|
|
install -m 644 u2mfn/u2mfn.c u2mfn/Makefile $(DESTDIR)$(srcdir)
|
|
sed -e 's#@@VERSION@@#$(ver)#' u2mfn/dkms.conf.in > $(DESTDIR)$(srcdir)/dkms.conf
|