]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: fix the signed-modules case
authorNick Alcock <nick.alcock@oracle.com>
Fri, 10 Aug 2012 22:52:19 +0000 (23:52 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:30 +0000 (22:40 +0100)
commit1589d5c3ab7934e9579112247393c62a10fb8f4d
treeba655b2cd5cd98f6bd158ad38221d722cd28151f
parentd7ea997059ccf6c75248d62b5df440efcabc5c80
ctf: fix the signed-modules case

The code in Makefile.modpost's module-ctf-flags variable which computes the name
of the CTF file, given the name of the kernel module being linked, was torpedoed
by the name of the unsigned module that is linked when module signing is in use.
So introduce a new ctf-module-name variable that substitutes the name
appropriately given the state of module signing.

Also, fix up some related places where I used spaces instead of tabs by mistake.

(3.6: most signed-modules code omitted, but a bit of supporting code remains
 in readiness for signed modules in 3.7.)

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/Makefile.modpost