From: Vladimir Serbinenko Date: Thu, 31 Dec 2015 17:20:11 +0000 (+0100) Subject: Disable build-time module check on emu. X-Git-Tag: 2.02-beta3~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b21499506b633494cccb1cdb3fc757594ef0ef0;p=thirdparty%2Fgrub.git Disable build-time module check on emu. On emu some checks can be laxer like check for relocation range. Additionally module loading in emu is rarely used. So skip this check rather than making it laxer for all platforms. In ideal we may want to have slightly different check for emu but for now this is good enough. --- diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in index 005cb1985..f74edd551 100644 --- a/grub-core/genmod.sh.in +++ b/grub-core/genmod.sh.in @@ -93,5 +93,7 @@ else -wd1106 -nu -nd $tmpfile.bin $tmpfile || exit 1 rm -f $name.bin fi -./build-grub-module-verifier $tmpfile @target_cpu@ +if test x@platform@ != xemu; then + ./build-grub-module-verifier $tmpfile @target_cpu@ +fi mv $tmpfile $outfile