move git hash into /etc/config instead of Linux kernel version and track clean/dirty status (#398)

This commit is contained in:
Trammell hudson
2018-05-04 14:36:56 -04:00
parent 958c26e0f5
commit 492b94afb5
2 changed files with 23 additions and 8 deletions

View File

@ -92,7 +92,7 @@ linux_target := \
AFLAGS_KERNEL="$(EXTRA_FLAGS)" \
CFLAGS_KERNEL="$(EXTRA_FLAGS)" \
CFLAGS_MODULE="$(EXTRA_FLAGS)" \
KBUILD_BUILD_USER="$(GIT_HASH)" \
KBUILD_BUILD_USER=$(notdir $(linux_kconfig)) \
KBUILD_BUILD_HOST=linuxboot \
KBUILD_BUILD_TIMESTAMP="1970-00-00" \
KBUILD_BUILD_VERSION=0 \