Fixes https://bugs.launchpad.net/qemu/+bug/1319493/

Signed-off-by: Christopher Covington <c...@codeaurora.org>
---
 Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 93af871..fcc6314 100644
--- a/Makefile
+++ b/Makefile
@@ -408,7 +408,11 @@ ifneq ($(CONFIG_MODULES),)
        done
 endif
 ifneq ($(HELPERS-y),)
-       $(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir))
+       $(INSTALL_DIR) "$(DESTDIR)$(libexecdir)"
+       $(INSTALL_PROG) $(HELPERS-y) "$(DESTDIR)$(libexecdir)"
+ifneq ($(STRIP),)
+       $(STRIP) $(addprefix "$(DESTDIR)$(libexecdir)/",$(notdir $(HELPERS-y)))
+endif
 endif
 ifneq ($(BLOBS),)
        set -e; for x in $(BLOBS); do \
-- 
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


Reply via email to