From 2f5a453af3fc4ac189caa6bac7c7a0a3bb23b9b2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 28 Jan 2022 14:08:21 +0100 Subject: build.sh: use CONFIG_LOCALVERSION_AUTO Signed-off-by: Denis 'GNUtoo' Carikli --- build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.sh b/build.sh index 9d5d175a5875..11913dcc4e5e 100755 --- a/build.sh +++ b/build.sh @@ -244,6 +244,12 @@ make replicant_defconfig unset_kconfig CONFIG_EXTRA_FIRMWARE_DIR set_kconfig_value CONFIG_EXTRA_FIRMWARE_DIR "${regdb_repository_path}" +# This script is meant to build a kernel for development purposes (so +# not for releases), so it's a good idea to be able to track which +# kernel is running, especially to record the git revision when some +# driver starts working +set_kconfig_y CONFIG_LOCALVERSION_AUTO + if [ "${os}" = "Android" ] ; then set_kconfig_y CONFIG_USB_FUNCTIONFS cmdline_append "root=PARTLABEL=SYSTEM init=/init rootwait" -- cgit v1.2.3