diff options
author | Alan Modra <amodra@gmail.com> | 2008-08-03 03:26:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-08-03 03:26:03 +0000 |
commit | cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421 (patch) | |
tree | 7b618351d2dde9f2df4f50eb67c544f5fc948458 /ld/Makefile.am | |
parent | 245f377a1ee1ae39f98c4f157e70699d5ecf59b8 (diff) | |
download | binutils-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.zip binutils-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.tar.gz binutils-cc9b841ce6bfdd8383a76f0f9f4eaf2cf4b2d421.tar.bz2 |
* Makefile.am (spu_ovl.o): Merge rule into..
(spu_ovl.o_c): ..this one. Only run cpp for spu target.
* Makefile.in: Regenerate.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r-- | ld/Makefile.am | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am index 0e6cf62..5c212d7 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -731,13 +731,12 @@ eelf32_spu.c: $(srcdir)/emulparams/elf32_spu.sh $(srcdir)/emultempl/spuelf.em \ ldemul-list.h \ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} ${GENSCRIPTS} elf32_spu "$(tdir_elf32_spu)" -$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ spu_ovl.o - ../binutils/bin2c <spu_ovl.o >$@ -spu_ovl.o: @MAINT@ $(srcdir)/emultempl/spu_ovl.S - cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s +$(srcdir)/emultempl/spu_ovl.o_c: @MAINT@ $(srcdir)/emultempl/spu_ovl.S if ../gas/as-new --version \ | grep 'target.*spu' >/dev/null 2>/dev/null; then \ - ../gas/as-new -o $@ spu_ovl.s; \ + cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s + ../gas/as-new -o spu_ovl.o spu_ovl.s; \ + ../binutils/bin2c <spu_ovl.o >$@ fi eelf32_i860.c: $(srcdir)/emulparams/elf32_i860.sh \ $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} |