aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-defaults.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-05-11 14:33:41 -0700
committerJohn Crispin <john@phrozen.org>2017-05-25 09:22:43 +0200
commitd0a6340717b1103354ba9ca3552b321a909874b4 (patch)
treecabc56fa8d699d7fa5e809865206ef3c197cb10b /include/kernel-defaults.mk
parent855f2ae4da365ac5033e6e0e71556be81633ca81 (diff)
downloadupstream-d0a6340717b1103354ba9ca3552b321a909874b4.tar.gz
upstream-d0a6340717b1103354ba9ca3552b321a909874b4.tar.bz2
upstream-d0a6340717b1103354ba9ca3552b321a909874b4.zip
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@gmail.com>
Diffstat (limited to 'include/kernel-defaults.mk')
-rw-r--r--include/kernel-defaults.mk4
1 files changed, 0 insertions, 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