aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-10-28 05:53:34 -0400
committerMike Frysinger <vapier@gentoo.org>2021-10-28 05:53:34 -0400
commit7aef2481be644aa3117dea4ffa96e0fa94709fa2 (patch)
tree3d8e5902c30cde88666386038a8fd44a512e4727 /libsandbox
parentsandbox: undefine dprintf (diff)
downloadsandbox-7aef2481be644aa3117dea4ffa96e0fa94709fa2.tar.gz
sandbox-7aef2481be644aa3117dea4ffa96e0fa94709fa2.tar.bz2
sandbox-7aef2481be644aa3117dea4ffa96e0fa94709fa2.zip
build: create libsandbox for trace_syscalls.h too
Commit ef35a16d1b5dcc1a99d17470799e680879278600 ("build: create libsandbox dir before writing files") added a mkdir call to most targets, but trace_syscalls.h was missed. Bug: https://issuetracker.google.com/issues/204404822 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r--libsandbox/local.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsandbox/local.mk b/libsandbox/local.mk
index a386505..131bcd8 100644
--- a/libsandbox/local.mk
+++ b/libsandbox/local.mk
@@ -72,6 +72,7 @@ TRACE_MAKE_HEADER = \
$(COMPILE) -E -P -include $(top_srcdir)/headers.h - $$f | \
$(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header
%D%/trace_syscalls.h: $(SYMBOLS_FILE) $(GEN_TRACE_SCRIPT) $(SB_SCHIZO_HEADERS)
+ @$(MKDIR_P) %D%
if SB_SCHIZO
$(AM_V_GEN)touch $@
else