Hi Folks,
I'm new on Coreboot and I'm trying to compile Grub2 as a payload for Coreboot. I'm following the steps provided under http://www.coreboot.org/Talk:GRUB2 and i'm getting the following compilation error:

cc1: warnings being treated as errors
kern/i386/coreboot/init.c:45:9: error: unknown option after '#pragma GCC diagnostic' kind
make[3]: *** [kern/i386/coreboot/kernel_exec-init.o] Error 1
make[3]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nachiketh/coreboot/grub/grub-core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nachiketh/coreboot/grub'
make: *** [all] Error 2

Please let me know what I'm doing wrong or is there any step that has got missed out which is causing this problem.
Thanks in advance!

Regards,
Nachiketh