5f5022daee
Xen is a hypervisor which supports running multiple guest operating systems on a single machine. Guest OSes (also called "domains") can be either paravirtualised (i.e. make hypercalls in order to access hardware), run in HVM (Hardware Virtualisation Mode) where they will be presented with virtual devices, or a combination where they use hypercalls to access hardware but manage memory themselves. At boot, the xen kernel is loaded along with the guest kernel for the first domain (called domain0). domain0 has privileges to access the physical hardware (PCI and ISA devices), administrate other domains and provide virtual devices (disks and network) to other domains.
84 lines
2.8 KiB
Text
84 lines
2.8 KiB
Text
$NetBSD: patch-tools_qemu-xen-traditional_Makefile,v 1.1 2021/04/18 12:31:26 bouyer Exp $
|
|
|
|
--- tools/qemu-xen-traditional/Makefile.orig 2014-10-06 17:50:24.000000000 +0200
|
|
+++ tools/qemu-xen-traditional/Makefile 2015-01-19 14:16:12.000000000 +0100
|
|
@@ -1,7 +1,7 @@
|
|
# Makefile for QEMU.
|
|
|
|
-include config-host.mak
|
|
-include $(SRC_PATH)/rules.mak
|
|
+-include config-host.mak
|
|
+-include $(SRC_PATH)/rules.mak
|
|
|
|
.PHONY: all clean cscope distclean dvi html info install install-doc \
|
|
recurse-all speed tar tarbin test
|
|
@@ -231,30 +231,30 @@
|
|
endif
|
|
|
|
install-doc: $(DOCS)
|
|
- mkdir -p "$(DESTDIR)$(docdir)"
|
|
- $(INSTALL) -m 644 qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(docdir)"
|
|
+ $(INSTALL_DATA) qemu-doc.html qemu-tech.html "$(DESTDIR)$(docdir)"
|
|
ifndef CONFIG_WIN32
|
|
- mkdir -p "$(DESTDIR)$(mandir)/man1"
|
|
- $(INSTALL) -m 644 qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
|
|
- mkdir -p "$(DESTDIR)$(mandir)/man8"
|
|
- $(INSTALL) -m 644 qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
|
|
+ $(INSTALL_DATA) qemu.1 qemu-img.1 "$(DESTDIR)$(mandir)/man1"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8"
|
|
+ $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
|
|
endif
|
|
|
|
install: all $(if $(BUILD_DOCS),install-doc)
|
|
- mkdir -p "$(DESTDIR)$(bindir)"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(bindir)"
|
|
ifneq ($(TOOLS),)
|
|
$(INSTALL_PROG) $(STRIP_OPT) $(TOOLS) "$(DESTDIR)$(bindir)"
|
|
endif
|
|
ifneq ($(BLOBS),)
|
|
- mkdir -p "$(DESTDIR)$(datadir)"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(datadir)"
|
|
set -e; for x in $(BLOBS); do \
|
|
- $(INSTALL) -m 644 $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
|
|
+ $(INSTALL_DATA) $(SRC_PATH)/pc-bios/$$x "$(DESTDIR)$(datadir)"; \
|
|
done
|
|
endif
|
|
ifndef CONFIG_WIN32
|
|
- mkdir -p "$(DESTDIR)$(datadir)/keymaps"
|
|
+ $(INSTALL_DIR) "$(DESTDIR)$(datadir)/keymaps"
|
|
set -e; for x in $(KEYMAPS); do \
|
|
- $(INSTALL) -m 644 $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
|
|
+ $(INSTALL_DATA) $(SRC_PATH)/keymaps/$$x "$(DESTDIR)$(datadir)/keymaps"; \
|
|
done
|
|
endif
|
|
for d in $(TARGET_DIRS); do \
|
|
@@ -275,7 +275,7 @@
|
|
|
|
# documentation
|
|
%.html: %.texi
|
|
- texi2html -monolithic -number $<
|
|
+ texi2html -monolithic -number-sections $<
|
|
|
|
%.info: %.texi
|
|
makeinfo $< -o $@
|
|
@@ -284,15 +284,15 @@
|
|
texi2dvi $<
|
|
|
|
qemu.1: qemu-doc.texi
|
|
- $(SRC_PATH)/texi2pod.pl $< qemu.pod
|
|
+ perl $(SRC_PATH)/texi2pod.pl $< qemu.pod
|
|
pod2man --section=1 --center=" " --release=" " qemu.pod > $@
|
|
|
|
qemu-img.1: qemu-img.texi
|
|
- $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
|
|
+ perl $(SRC_PATH)/texi2pod.pl $< qemu-img.pod
|
|
pod2man --section=1 --center=" " --release=" " qemu-img.pod > $@
|
|
|
|
qemu-nbd.8: qemu-nbd.texi
|
|
- $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod
|
|
+ perl $(SRC_PATH)/texi2pod.pl $< qemu-nbd.pod
|
|
pod2man --section=8 --center=" " --release=" " qemu-nbd.pod > $@
|
|
|
|
info: qemu-doc.info qemu-tech.info
|