[source] Revert "kernel: prevent addition of scm marker to localversion"

LEDE Commits lede-commits at lists.infradead.org
Thu May 25 00:22:53 PDT 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/d0a6340717b1103354ba9ca3552b321a909874b4

commit d0a6340717b1103354ba9ca3552b321a909874b4
Author: Florian Fainelli <f.fainelli at gmail.com>
AuthorDate: Thu May 11 14:33:41 2017 -0700

    Revert "kernel: prevent addition of scm marker to localversion"
    
    This reverts commit 0df2c6563a3537ed21b28a9fb6874bf2718afd05 since it
    gets in the way of identifying properly which kernel we are running.
    This is particularly important if LEDE is using external kernels/git
    cloned kernels. We want to make sure we only load modules from that
    specific kernel.
    
    Signed-off-by: Florian Fainelli <f.fainelli at gmail.com>
---
 include/kernel-defaults.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
index 407c192..b201865 100644
--- a/include/kernel-defaults.mk
+++ b/include/kernel-defaults.mk
@@ -42,10 +42,6 @@ ifdef CONFIG_USE_SPARSE
   KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
 endif
 
-ifneq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
- KERNEL_MAKEOPTS += LOCALVERSION=
-endif
-
 export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include
 
 # defined in quilt.mk



More information about the lede-commits mailing list