From d0a6340717b1103354ba9ca3552b321a909874b4 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Thu, 11 May 2017 14:33:41 -0700 Subject: [PATCH] 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 --- include/kernel-defaults.mk | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index 407c1924a1..b201865657 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