]> git.proxmox.com Git - mirror_qemu.git/blobdiff - Makefile.target
build-sys: introduce install-prog macro to install&strip binaries and use it
[mirror_qemu.git] / Makefile.target
index fc5827cd7286b6da0d3b8b5527d39c8f5d910dac..6089d290dfb31c278c4dd7f887c945e60935f916 100644 (file)
@@ -190,10 +190,7 @@ endif
 
 install: all
 ifneq ($(PROGS),)
-       $(INSTALL_PROG) $(PROGS) "$(DESTDIR)$(bindir)"
-ifneq ($(STRIP),)
-       $(STRIP) $(PROGS:%="$(DESTDIR)$(bindir)/%")
-endif
+       $(call install-prog,$(PROGS),$(DESTDIR)$(bindir))
 endif
 ifdef CONFIG_TRACE_SYSTEMTAP
        $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/../systemtap/tapset"