* grub-core/genmod.sh.in: Fix a bug in Apple part which caused
dependency discard.
This commit is contained in:
parent
40e80b9403
commit
85a730ca9f
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue