[syslinux] mk/efi.mk: Add libefi.a dependency

Geert Stappers stappers at stappers.nl
Sun Feb 23 14:02:13 PST 2014


Op 2014-02-23 om 15:23 schreef Gene Cumm:
> On Sun, Feb 23, 2014 at 3:17 PM, Gene Cumm <gene.cumm op gmail.com> wrote:
> > On Sun, Feb 23, 2014 at 3:14 PM, Geert Stappers <stappers op stappers.nl> wrote:
> >> .From the commit mailinglist
> >> Op 2014-02-23 om 10:57 schreef syslinux-bot for Gene Cumm:
> >>> Commit-ID:  819783d0c8b5af43423e9e5bbe0e233c728d6346
> >>> Gitweb:     http://www.syslinux.org/commit/819783d0c8b5af43423e9e5bbe0e233c728d6346
> >>>
> >>> diff --git a/mk/efi.mk b/mk/efi.mk
> >>> index 3390cfc..f90ce5c 100644
> >>> --- a/mk/efi.mk
> >>> +++ b/mk/efi.mk
> >>> @@ -55,11 +55,11 @@ $(LIBEFI):
> >>>  %.o: %.c
> >>>
> >>>  .PRECIOUS: %.o
> >>> -%.o: %.S
> >>> +%.o: %.S $(LIBEFI)
> >>>       $(CC) $(SFLAGS) -c -o $@ $<
> >>>
> >>>  .PRECIOUS: %.o
> >>> -%.o: %.c
> >>> +%.o: %.c $(LIBEFI)
> >>>       $(CC) $(CFLAGS) -c -o $@ $<
> >>>
> >>
> >> I see duplicate lines.
> >> Why do they exist?
> >>
> >
> > The two rules look similar but have very different prerequisites and
> > recipes.  Both make .o files but one is from .S files and the other
> > from .c files, each needing slightly different recipes.
> >
> 
> Sorry, I guess the better way to state it is that they are very
> similar but the resultant command lines from the recipes are very
> different.

Yes, now I see that the '.S' and the '.c' make those lines different.

Thanks for elaborating


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list