From: Florian Fainelli Date: Thu, 11 May 2017 21:33:41 +0000 (-0700) Subject: Revert "kernel: prevent addition of scm marker to localversion" X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0a6340717b1103354ba9ca3552b321a909874b4;p=librecmc%2Flibrecmc.git 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 --- 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