aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEmilio G. Cota <cota@braap.org>2017-08-30 18:39:53 -0400
committerAlex Bennée <alex.bennee@linaro.org>2019-10-28 15:12:38 +0000
commit54cb65d8588b67853a8898eb73e82d76c1a1e2e1 (patch)
treee3edb15e9f29e4a4603985e06963a158a258e1c1 /Makefile
parent975c455346f9aaabe044252a3960be1a2b4ed27b (diff)
downloadqemu-54cb65d8588b67853a8898eb73e82d76c1a1e2e1.zip
qemu-54cb65d8588b67853a8898eb73e82d76c1a1e2e1.tar.gz
qemu-54cb65d8588b67853a8898eb73e82d76c1a1e2e1.tar.bz2
plugin: add core code
Signed-off-by: Emilio G. Cota <cota@braap.org> [AJB: moved directory and merged various fixes] Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0e994a2..94d2518 100644
--- a/Makefile
+++ b/Makefile
@@ -853,7 +853,11 @@ endif
ICON_SIZES=16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512
-install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir \
+install-includedir:
+ $(INSTALL_DIR) "$(DESTDIR)$(includedir)"
+
+install: all $(if $(BUILD_DOCS),install-doc) \
+ install-datadir install-localstatedir install-includedir \
$(if $(INSTALL_BLOBS),$(edk2-decompressed)) \
recurse-install
ifneq ($(TOOLS),)
@@ -916,6 +920,9 @@ endif
ifdef CONFIG_GTK
$(MAKE) -C po $@
endif
+ifeq ($(CONFIG_PLUGIN),y)
+ $(INSTALL_DATA) $(SRC_PATH)/include/qemu/qemu-plugin.h "$(DESTDIR)$(includedir)/qemu-plugin.h"
+endif
$(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
set -e; for x in $(KEYMAPS); do \
$(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadir)/keymaps"; \