Skip to contentSkip to conversation

ban-config_localversion_auto-with-allmodconfig.patch removed from -mm tree

merged [email protected] 1 participant 1 message Aug 3, 2016

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: init/Kconfig: ban CONFIG_LOCALVERSION_AUTO with allmodconfig
has been removed from the -mm tree. Its filename was
ban-config_localversion_auto-with-allmodconfig.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Alexey Dobriyan <[email protected]>
Subject: init/Kconfig: ban CONFIG_LOCALVERSION_AUTO with allmodconfig

Doing patches with allmodconfig kernel compiled and committing stuff into local tree have unfortunate consequence: kernel version changes (as it should) leading to recompiling and relinking of several files even if they weren't touched (or interesting at all). This and "git-whatever" figuring out current version slow down compilation for no good reason.

But lets face it, "allmodconfig" kernels don't care about kernel version, they are simply compile check guinea pigs.

Make LOCALVERSION_AUTO depend on !COMPILE_TEST, so it doesn't sneak into allmodconfig .config.

---

 init/Kconfig |    1 +
 1 file changed, 1 insertion(+)
init/Kconfig renamed from init/Kconfig~ban-config_localversion_auto-with-allmodconfig +1 -0
diff -puN init/Kconfig~ban-config_localversion_auto-with-allmodconfig init/Kconfig
@@ -81,6 +81,7 @@ config LOCALVERSION
 config LOCALVERSION_AUTO
 	bool "Automatically append version information to the version string"
 	default y
+	depends on !COMPILE_TEST
 	help
 	  This will try to automatically determine if the current tree is a
 	  release tree by looking for git tags that belong to the current

_

Patches currently in -mm which might be from [email protected] are

kbuild-simpler-generation-of-assembly-constants.patch