]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Disable build-time module check on emu.
authorVladimir Serbinenko <phcoder@gmail.com>
Thu, 31 Dec 2015 17:20:11 +0000 (18:20 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Thu, 31 Dec 2015 17:20:11 +0000 (18:20 +0100)
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.

grub-core/genmod.sh.in

index 005cb198504d5d53ca1b499bd943640a40ddec68..f74edd55181b4fc19e03fed0185f9318b1352d41 100644 (file)
@@ -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