0041-Revert-kernel-prevent-addition-of-scm-marker-to-localversion.patch 1.0 KB

123456789101112131415161718192021222324252627
  1. From: Florian Fainelli <f.fainelli@gmail.com>
  2. Date: Thu, 11 May 2017 14:33:41 -0700
  3. Subject: Revert "kernel: prevent addition of scm marker to localversion"
  4. This reverts commit 0df2c6563a3537ed21b28a9fb6874bf2718afd05 since it
  5. gets in the way of identifying properly which kernel we are running.
  6. This is particularly important if LEDE is using external kernels/git
  7. cloned kernels. We want to make sure we only load modules from that
  8. specific kernel.
  9. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
  10. diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk
  11. index 201c258835bd59b1da64a5c40e757a2845f27684..f9722a4904762e6885deaa76ba6efe40e359adcd 100644
  12. --- a/include/kernel-defaults.mk
  13. +++ b/include/kernel-defaults.mk
  14. @@ -47,10 +47,6 @@ ifdef CONFIG_USE_SPARSE
  15. KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse
  16. endif
  17. -ifneq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"")
  18. - KERNEL_MAKEOPTS += LOCALVERSION=
  19. -endif
  20. -
  21. export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include
  22. # defined in quilt.mk