]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/genmod.sh.in: Fix a bug in Apple part which caused
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 28 May 2012 15:32:24 +0000 (17:32 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 28 May 2012 15:32:24 +0000 (17:32 +0200)
dependency discard.

ChangeLog
grub-core/genmod.sh.in

index 6c6c7a341c286aef0427eed23e6a594bfdd94fb5..442797ccc2d16ef3bc556100efbd935e6f5096e1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-28  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/genmod.sh.in: Fix a bug in Apple part which caused
+       dependency discard.
+
 2012-05-27  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * grub-core/normal/main.c (read_config_file): Provide config_file and
index a992599f1804ac2ee44881fac4df15e23cab9606..f4674c6ade72fa6af18e563ac4d754e69b063509 100644 (file)
@@ -76,7 +76,7 @@ else
     # Attach .modname and .moddeps sections
     echo "char modname[]  __attribute__ ((section(\"_modname, _modname\"))) = \"$modname\";" >$t1
 
-    for dep in $deps; do echo "char moddep_$dep[] __attribute__ ((section(\"_moddeps, _moddeps\"))) = \"$dep\";" >$t2; done
+    for dep in $deps; do echo "char moddep_$dep[] __attribute__ ((section(\"_moddeps, _moddeps\"))) = \"$dep\";" >>$t2; done
 
     if test -n "$deps"; then
        @TARGET_CC@ @TARGET_LDFLAGS@ -ffreestanding -nostdlib -o $tmpfile2 $t1 $t2 $tmpfile -Wl,-r,-d