* aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies

of scripts.
	(all): Build the in-tree copies of the scripts.
	(clean): Also delete the in-tree copies of the scripts.
This commit is contained in:
Richard Earnshaw 2014-02-03 10:30:34 +00:00
parent 5d9070ba97
commit 75d1027ccd
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2014-02-03 Richard Earnshaw <rearnsha@arm.com>
* aarch64/Makefile.in (RDIMON_SCRIPTS): Rule to build in-tree copies
of scripts.
(all): Build the in-tree copies of the scripts.
(clean): Also delete the in-tree copies of the scripts.
2014-01-29 DJ Delorie <dj@redhat.com>
* msp430/Makefile.in (crt0-minrt.o, crtn-minrt.o): New. Build

View File

@ -93,7 +93,7 @@ CFLAGS = -g
# build a test program for each target board. Just trying to get
# it to link is a good test, so we ignore all the errors for now.
#
all: ${CRT0} ${RDIMON_CRT0} ${RDIMON_BSP}
all: ${CRT0} ${RDIMON_CRT0} ${RDIMON_BSP} ${RDIMON_SCRIPTS}
@rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
for dir in .. ${SUBDIRS}; do \
@ -142,7 +142,7 @@ $(RDIMON_BSP): $(RDIMON_OBJS)
${RANLIB} $@
clean mostlyclean:
rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP)
rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) ${RDIMON_SCRIPTS}
@rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
for dir in .. ${SUBDIRS}; do \
@ -175,6 +175,9 @@ install-rdimon:
set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
# Make copies of the scripts to facilitate in-tree bootstrapping.
${RDIMON_SCRIPTS}: %: ${objtype}%
cp $< $@
doc:
info: