Raul Rangel has posted comments on this change. ( https://review.coreboot.org/27884 )
Change subject: security/vboot: Split fwid.region build target ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/#/c/27884/1//COMMIT_MSG Commit Message:
https://review.coreboot.org/#/c/27884/1//COMMIT_MSG@11 PS1, Line 11: objects are not invalidated when bumping the fwid.
I don't believe this, actually. […]
You assessment is correct, the target will only get created once and never touched again. This is the current behavior. When .config or Kconfig change we also need to blow away the $(obj) dir as well.
The coreboot ebuild currently passes along the VBOOT_FWID_VERSION via .config. https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/r... This means we need to blow away essentially everything because the config.h changes on every build. By modifying the coreboot ebuild to write out fwid.version and not update the .config then the .config will remain constant when only making source changes. By modifying the ebuild to only re-run make oldconfig if the new.config != old.config then the config.h timestamp will not change either.
I'll get the patches for the ebuild uploaded soon. I need to clean them up.