[PATCH 0/2] libtracefs: Update sqlhist bison and flex
Steven Rostedt <[email protected]> Fri, 4 Apr 2025 12:12:09 -0400
| Newsgroups | org.kernel.vger.linux-trace-devel |
|---|---|
| Message-ID | <[email protected]> |
From: "Steven Rostedt (Google)" <[email protected]> The way that git doesn't save timestamps of files causes the flex and bison source to regenerate the flex and bison output files. This can be annoying when the source of the flex and bison files are not updated. Worse, it can cause the build to fail if the system doesn't have flex nor bison. Instead add a new make target: sqlhist_remake The bison and flex utilities will only be run when this target is specified. Otherwise it will not build the output file from bison nor flex. Steven Rostedt (Google) (2): libtracefs: Add make sqlhist_remake to run bison and flex libtracefs: Rerun bison and flex via make sqlhist_remake Makefile | 3 + src/Makefile | 14 +- src/sqlhist-lex.c | 66 +++--- src/sqlhist.l | 2 + src/sqlhist.tab.c | 504 +++++++++++++++++++--------------------------- src/sqlhist.tab.h | 14 +- src/sqlhist.y | 1 + 7 files changed, 262 insertions(+), 342 deletions(-) -- 2.47.2