Revert "kernel: prevent addition of scm marker to localversion"

This reverts commit 0df2c6563a 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@gmail.com>
This commit is contained in:
Florian Fainelli 2017-05-11 14:33:41 -07:00 committed by John Crispin
parent 855f2ae4da
commit d0a6340717

View File

@ -42,10 +42,6 @@ ifdef CONFIG_USE_SPARSE
KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
endif endif
ifneq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
KERNEL_MAKEOPTS += LOCALVERSION=
endif
export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include
# defined in quilt.mk # defined in quilt.mk