summaryrefslogtreecommitdiff
blob: 95ccdd7a4b1c9be2b4200ea7b8f172c7b65134be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/Makefile b/Makefile
index 04a0d450..e0013a59 100644
--- a/Makefile
+++ b/Makefile
@@ -803,6 +802,7 @@
 	$(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir))
 endif
 ifdef CONFIG_TRACE_SYSTEMTAP
+	mkdir -p $(DESTDIR)$(bindir)
 	$(INSTALL_PROG) "scripts/qemu-trace-stap" $(DESTDIR)$(bindir)
 endif
 ifneq ($(BLOBS),)