MODSIGN: Avoid using .incbin in C source
authorTakashi Iwai <tiwai@suse.de>
Tue, 11 Dec 2012 01:07:13 +0000 (11:07 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 14 Dec 2012 02:36:44 +0000 (12:36 +1030)
commit919aa45e43a84d40c27c83f6117cfa6542cee14e
tree5da5152ca40016670a066abd948b0960da2c0d4b
parent82fab442f5322b016f72891c0db2436c6a6c20b7
MODSIGN: Avoid using .incbin in C source

Using the asm .incbin statement in C sources breaks any gcc wrapper which
assumes that preprocessed C source is self-contained. Use a separate .S
file to include the siging key and certificate.

[ This means we no longer need SYMBOL_PREFIX which is defined in kernel.h
  from cbdbf2abb7844548a7d7a6a2ae7af6b6fbcea401, so I removed it -- RR ]

Tested-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: James Hogan <james.hogan@imgtec.com>
kernel/Makefile
kernel/modsign_certificate.S [new file with mode: 0644]
kernel/modsign_pubkey.c