Add PRE_DEFCONFIG + POST_KERNEL_BUILD hooks

Kernel LTS merge builds need to watch the entire kernel directory
with inotifywait in order to determine which files were used during
compilation. This file list is then used to build an annotated commit
message for the merge by marking those commits that actually affected
the build.

Add PRE_DEFCONFIG hook for starting inotifywait.

Add POST_KERNEL_BUILD hook for terminating inotifywait and creating
the annotated commit message.

build.config.lts will be created to utilize these hooks.

Change-Id: If65f59817cf8c3455b7d2fc6c3931da950ef3d9f
Signed-off-by: Matthias Maennich <maennich@google.com>
1 file changed