meta-openembedded/meta-oe/recipes-kernel/libtracefs
Changqing Li 20b8ac86a1
libtracefs: support reproducible builds
[snip of Makefile]
 # bison will create both sqlhist.tab.c and sqlhist.tab.h
sqlhist.tab.h:
sqlhist.tab.c: sqlhist.y sqlhist.tab.h
    bison --debug -v --report-file=bison.report -d -o $@ $<
[snip]

sources of libtracefs is fetched by git, the mtime of sqlhist.y,
sqlhist.tab.c is random. so sometimes, sqlhist.tab.c is regenerated,
sometimes, sqlhist.tab.c in original sources in used. bison used to
gernerate sqlhist.tab.c by upstream libtracefs maybe has different
version with the build host one. This make the final libtracefs.so not
reproducible. This fix touch sqlhist.tab.c to make it has the newest
mtime, and sqlhist.tab.c is not regenerated during build.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-20 02:01:29 -08:00
..
libtracefs libtracefs: upgrade 1.7.0 -> 1.8.0 2024-06-07 09:11:58 -07:00
libtracefs_1.8.2.bb libtracefs: support reproducible builds 2025-11-20 02:01:29 -08:00