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>
# 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)), \