[PATCH 2/2][nexus4] UBUNTU: remove CONFIG_NO_ERROR_ON_MISMATCH check

Colin King colin.king at canonical.com
Tue May 14 14:58:19 UTC 2013


From: Colin Ian King <colin.king at canonical.com>

Commit 3f2bc4d6eb5a4fada842462ba22bb6bbb41d00c7 added in a
CONFIG_NO_ERROR_ON_MISMATCH which deviates from the normal Ubuntu
configs and makes this kernel more pedantic than normal Ubuntu
kernels.  This breaks DKMS builds such as lttng-modules which may
have section mismatch warnings which otherwise are trival issues and
won't actually cause breakage.

Signed-off-by: Colin Ian King <colin.king at canonical.com>
---
 scripts/Makefile.modpost |    1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
index c1bc458..08dce14 100644
--- a/scripts/Makefile.modpost
+++ b/scripts/Makefile.modpost
@@ -80,7 +80,6 @@ modpost = scripts/mod/modpost                    \
  $(if $(KBUILD_EXTRA_SYMBOLS), $(patsubst %, -e %,$(KBUILD_EXTRA_SYMBOLS))) \
  $(if $(KBUILD_EXTMOD),-o $(modulesymfile))      \
  $(if $(CONFIG_DEBUG_SECTION_MISMATCH),,-S)      \
- $(if $(CONFIG_NO_ERROR_ON_MISMATCH),,-E)	 \
  $(if $(KBUILD_EXTMOD)$(KBUILD_MODPOST_WARN),-w) \
  $(if $(cross_build),-c)
 
-- 
1.7.9.5





More information about the kernel-team mailing list