Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build.sh: add repo meta information to kbuild build version
If this was built out of a repo tree (which is usually the case for the prebuilt kernel images), compute KBUILD_BUILD_VERSION out of repo's current manifest branch. This creates an entry that can be inspected by `uname -v` at runtime or can be derived from the kernel binary: $ zgrep -a 'Linux version' Image.gz Linux version 5.4.0 .... #1 repo:common-android-mainline SMP PREEMPT .. Bug: 143359504 Change-Id: Ib6c2ce1f96e9a4003a74d448751750d61e97d584 Signed-off-by: Matthias Maennich <[email protected]>
- Loading branch information