From b347b90b137db42281268c50803c0a70c9809709 Mon Sep 17 00:00:00 2001 From: Nick Alcock Date: Thu, 6 Jun 2013 17:56:18 +0100 Subject: [PATCH] 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 --- scripts/Makefile.modpost | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost index b7572b234cb8..322a332de32d 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)), \ -- 2.50.1