From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> As sqlhist is statically linked to the libtracefs.a file, it should be rebuilt if the libtracefs.a is updated. Because sqlhist.c is extracted from the man pages, it does not get the automatic dependency updates like the rest of the source tree has. Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- samples/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/Makefile b/samples/Makefile index c1392fbbb12b..6628679e6227 100644 --- a/samples/Makefile +++ b/samples/Makefile @@ -46,7 +46,7 @@ sqlhist: $(sdir)/sqlhist $(TARGETS): $(sdir) # sqlhist is unique and stands on its own -$(sdir)/sqlhist: $(bdir)/sqlhist.c +$(sdir)/sqlhist: $(bdir)/sqlhist.c $(LIBTRACEFS_STATIC) $(call do_sample_build,$@,$<) $(sdir)/%: $(bdir)/%.o -- 2.35.1