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.
36 lines
657 B
Makefile
36 lines
657 B
Makefile
ifeq ($(shell uname -m),x86_64)
|
|
LIBDIR = /usr/lib64
|
|
else
|
|
LIBDIR = /usr/lib
|
|
endif
|
|
INCLUDEDIR = /usr/include
|
|
|
|
export LIBDIR INCLUDEDIR
|
|
|
|
help:
|
|
echo "Use rpmbuild to compile this pacakge"
|
|
exit 0
|
|
|
|
|
|
rpms:
|
|
rpmbuild --define "_rpmdir rpm/" --define "_builddir ." -bb rpm_spec/qubes-utils.spec
|
|
all:
|
|
$(MAKE) -C qrexec-lib all
|
|
$(MAKE) -C qmemman all
|
|
$(MAKE) -C core all
|
|
|
|
install:
|
|
$(MAKE) -C udev install
|
|
$(MAKE) -C qrexec-lib install
|
|
$(MAKE) -C qmemman install
|
|
$(MAKE) -C core install
|
|
|
|
install-kernel-support:
|
|
$(MAKE) -C dracut install
|
|
$(MAKE) -C kernel-modules install
|
|
|
|
clean:
|
|
$(MAKE) -C qrexec-lib clean
|
|
$(MAKE) -C qmemman clean
|
|
$(MAKE) -C core clean
|