summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Tokarev2014-05-08 13:06:03 +0200
committerPaolo Bonzini2014-05-08 15:09:04 +0200
commit264f8b4fdc7b4ef304c426589b7fe198ca693823 (patch)
tree3b80a6b26978f69459c9bca5059d8f7afe24cd37 /Makefile
parentMakefile.target: use $(INSTALL_PROG) for installing, not $(INSTALL) (diff)
downloadqemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.tar.gz
qemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.tar.xz
qemu-264f8b4fdc7b4ef304c426589b7fe198ca693823.zip
Makefile: use $(INSTALL_LIB) for modules not $(INSTALL_PROG)
We have $(INSTALL_LIB) which is the same as $(INSTALL_PROG) but uses correct permissions. Loadable objects (modules) are like shared libraries, not like programs. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Cc: Fam Zheng <famz@redhat.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 23ca4446da..12ea46424f 100644
--- a/Makefile
+++ b/Makefile
@@ -381,7 +381,7 @@ ifneq ($(CONFIG_MODULES),)
$(INSTALL_DIR) "$(DESTDIR)$(qemu_moddir)"
for s in $(modules-m:.mo=$(DSOSUF)); do \
t="$(DESTDIR)$(qemu_moddir)/$$(echo $$s | tr / -)"; \
- $(INSTALL_PROG) $$s "$$t"; \
+ $(INSTALL_LIB) $$s "$$t"; \
test -z "$(STRIP)" || $(STRIP) "$$t"; \
done
endif