* grub-core/genmod.sh.in: Fix a bug in Apple part which caused

dependency discard.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-05-28 17:32:24 +02:00
parent 40e80b9403
commit 85a730ca9f
2 changed files with 6 additions and 1 deletions

View file

@ -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

View 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