This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add plugin support for bfd
Mike Frysinger <vapier@gentoo.org> writes:
>> cpu-i386.lo: cpu-i386.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
>>+cpu-plugin.lo: cpu-plugin.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
>> cpu-i860.lo: cpu-i860.c $(INCDIR)/filenames.h $(INCDIR)/hashtab.h
>
> shouldnt the .lo dependency list be kept sorted ? "plugin" does not come
> after "i386" and before "i860".
The dependency list is automatically generated by running "make dep-am",
which magically edits Makefile.am. Rafael, you should not be adding
dependencies manually. Of course, this requires that you add cpu-plugin
to ALL_MACHINES and ALL_MACHINES_CFILES. You should also verify that
BFD builds with --enable-targets=all.
Ian