This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Build failure due to .incbin
Alan Modra <amodra@bigpond.net.au> writes:
> +spu_inc.o: $(srcdir)/emultempl/spu_inc.s $(srcdir)/emultempl/spu_none.s \
> + $(srcdir)/emultempl/spu_ovl.o
> + cp $(srcdir)/emultempl/spu_ovl.o spu_ovl.o; \
> + if ! ld -r -o $@ -b binary spu_ovl.o; then \
> + if ! $(CC) -c -o $@ $(srcdir)/emultempl/spu_inc.s; then \
This is not portable, according to (autoconf)Limitations of Builtins the
Solaris /bin/sh still does not support negating the exit status.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."