[LEDE-DEV] [PATCH 1/3] Revert "kernel: prevent addition of scm marker to localversion"

Florian Fainelli f.fainelli at gmail.com
Thu May 11 14:33:41 PDT 2017


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 407c1924a152..b20186565737 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
-- 
2.12.2




More information about the Lede-dev mailing list