Re: Require GNU make to build binutils-gdb

Simon Marchi
2016-11-19T03:04:54Z

On 2016-11-18 12:04, Nick Clifton wrote:
> Well, the top-level Makefile is shared with gcc, so we would have
> to get approval there as well. Putting the check in the binutils/
> Makefile would certainly be easier, and it should be sufficient
> (The only target that I could find that does not build the binutils
> sub-directory is the v810, which is not supported as a binutils
> target anyway).

Hi Nick,

I tried to prototype putting a check in binutils/Makefile.am, but my
automake knowledge did not get me very far. Being one level of
abstraction above make, it doesn't seem possible at first sight to use
something like

ifdef .FEATURES
$(error "defined")
else
$(error "not defined")
endif

Any idea how to proceed?

Simon