From: Nick Alcock Date: Thu, 6 Jun 2013 16:56:18 +0000 (+0100) Subject: ctf: no longer reference 'ctf.ko.unsigned' in CTF debuginfo stripping machinery X-Git-Tag: v4.1.12-92~313^2~76 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=b347b90b137db42281268c50803c0a70c9809709;p=users%2Fjedix%2Flinux-maple.git ctf: no longer reference 'ctf.ko.unsigned' in CTF debuginfo stripping machinery We used to generate .ko.unsigned modules, which were renamed to .ko after signing: so when stripping the debugging information out of ctf.ko, we had to consider the possibility that we might have to strip it out of ctf.ko.unsigned instead. With the new signing machinery, this is no longer the case, and that hack can be removed. Signed-off-by: Nick Alcock --- diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index b7572b234cb85..322a332de32d8 100644 --- a/scripts/Makefile.modpost +++ b/scripts/Makefile.modpost @@ -200,7 +200,7 @@ ctf-module-name = $(addprefix $(ctf-dir)/,$(notdir $(basename $@)).mod.ctf) # We also take advantage of the opportunity to strip the guaranteed- # useless debugging information out of ctf.ko at the same time. -module-ctf-flags = $(if $(filter ctf.ko ctf.ko.unsigned,$(notdir $@)), \ +module-ctf-flags = $(if $(filter ctf.ko,$(notdir $@)), \ --strip-debug \ $(foreach builtin,$(wildcard $(ctf-dir)/*.builtin.ctf), \ --add-section $(patsubst %.builtin.ctf,.ctf.%,$(notdir $(builtin)))=$(builtin)), \