diff options
author | 2021-10-23 00:33:28 -0400 | |
---|---|---|
committer | 2021-10-23 00:33:28 -0400 | |
commit | 44ae70a638486dee0feb427ec9731bc4d723ce0b (patch) | |
tree | 48bdcce36f8f47c603de391b5937420e854dda14 /libsandbox | |
parent | TODO: add more work! (diff) | |
download | sandbox-44ae70a638486dee0feb427ec9731bc4d723ce0b.tar.gz sandbox-44ae70a638486dee0feb427ec9731bc4d723ce0b.tar.bz2 sandbox-44ae70a638486dee0feb427ec9731bc4d723ce0b.zip |
libsandbox: regen trace headers when symbols header changes
Since it uses the symbols header as input, make sure we regen on
changes to it so we don't get stuck in weird stale states.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox')
-rw-r--r-- | libsandbox/local.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsandbox/local.mk b/libsandbox/local.mk index 86a7d44..f0ef01f 100644 --- a/libsandbox/local.mk +++ b/libsandbox/local.mk @@ -73,14 +73,14 @@ TRACE_MAKE_HEADER = \ $(SB_AWK) $(GEN_TRACE_SCRIPT) -v MODE=gen | \ $(COMPILE) -E -P -include $(top_srcdir)/headers.h - $$f | \ $(SB_AWK) $(GEN_TRACE_SCRIPT) -v syscall_prefix=$$t > $$header -%D%/trace_syscalls.h: $(GEN_TRACE_SCRIPT) $(SB_SCHIZO_HEADERS) +%D%/trace_syscalls.h: $(SYMBOLS_FILE) $(GEN_TRACE_SCRIPT) $(SB_SCHIZO_HEADERS) if SB_SCHIZO $(AM_V_GEN)touch $@ else $(AM_V_GEN)t= f= header=$@; $(TRACE_MAKE_HEADER) endif -$(SB_SCHIZO_HEADERS): $(GEN_TRACE_SCRIPT) +$(SB_SCHIZO_HEADERS): $(SYMBOLS_FILE) $(GEN_TRACE_SCRIPT) @$(MKDIR_P) %D% $(AM_V_GEN)for pers in $(SB_SCHIZO_SETTINGS) ; do \ t=_$${pers%:*}; \ |