]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ctf: no longer reference 'ctf.ko.unsigned' in CTF debuginfo stripping machinery
authorNick Alcock <nick.alcock@oracle.com>
Thu, 6 Jun 2013 16:56:18 +0000 (17:56 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:41:45 +0000 (22:41 +0100)
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 <nick.alcock@oracle.com>
scripts/Makefile.modpost

index b7572b234cb85240e76cb8e52fe95ac38513901f..322a332de32d8a1bebf541953c41d2a5eca6269a 100644 (file)
@@ -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)), \