[patch] Add plugin support for bfd

Ian Lance Taylor iant@google.com
Thu Apr 30 22:25:00 GMT 2009


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



More information about the Binutils mailing list