BACKPORT: kheaders: Do not regenerate archive if config is not changed
Linus reported an issue that doing an allmodconfig was causing the kheaders archive to be regenerated even though the config is the same. This patch fixes the issue by ignoring the config-related header files for "knowing when to regenerate based on timestamps". Instead, if the CONFIG_X_Y option really changes, then we there are the include/config/X/Y.h which will already tells us "if a config really changed". So we don't really need these files for regeneration detection anyway, and ignoring them fixes Linus's issue. (cherry picked from commit 1457dc9ed8da871fbbc0a2ebdaed0405eeeed0cf) Bug: 78013494 Reported-by:Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by:
Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Change-Id: Ieab28efee4218660acaa79f914c0e33dbfd7bb15
Loading
Please register or sign in to comment