See https://www.kernel.org/doc/html/latest/kbuild/reproducible-builds.html In order to support deterministic builds, set:
KBUILD_BUILD_TIMESTAMP
- (and/or?)
SOURCE_DATE_EPOCH
KBUILD_BUILD_USER
KBUILD_BUILD_HOST
Also of note:
If you enable CONFIG_GCC_PLUGIN_RANDSTRUCT, you will need to pre-generate the random seed in scripts/gcc-plugins/randomize_layout_seed.h so the same value is used in rebuilds.
See https://www.kernel.org/doc/html/latest/kbuild/reproducible-builds.html In order to support deterministic builds, set:
KBUILD_BUILD_TIMESTAMPSOURCE_DATE_EPOCHKBUILD_BUILD_USERKBUILD_BUILD_HOSTAlso of note: