aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh6
1 files changed, 6 insertions, 0 deletions
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"