diff options
author | Michael Frysinger <vapier@gentoo.org> | 2011-03-27 03:40:00 +0000 |
---|---|---|
committer | Michael Frysinger <vapier@gentoo.org> | 2011-03-27 03:40:00 +0000 |
commit | 0f6ab41477d8c62e459215606b9caf7fb75280f6 (patch) | |
tree | 9f1c5c4ec03f66df32922f20bad5bc49b70c13a2 /libgloss | |
parent | d42e1efcf92ff00901151c4998e3183188e34009 (diff) | |
download | newlib-0f6ab41477d8c62e459215606b9caf7fb75280f6.zip newlib-0f6ab41477d8c62e459215606b9caf7fb75280f6.tar.gz newlib-0f6ab41477d8c62e459215606b9caf7fb75280f6.tar.bz2 |
libgloss: bfin: abort on install errors
Diffstat (limited to 'libgloss')
-rw-r--r-- | libgloss/ChangeLog | 5 | ||||
-rw-r--r-- | libgloss/bfin/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index ef03663..dcdacd2 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,8 @@ +2011-03-26 Mike Frysinger <vapier@gentoo.org> + + * bfin/Makefile.in (install-sim): Exit when install fails. + (install-board): Likewise. + 2011-03-24 Nick Clifton <nickc@redhat.com> * xstormy16/crt0.s (_hwint): Fix .size directive. diff --git a/libgloss/bfin/Makefile.in b/libgloss/bfin/Makefile.in index 01c48ad..13af4d2 100644 --- a/libgloss/bfin/Makefile.in +++ b/libgloss/bfin/Makefile.in @@ -146,12 +146,12 @@ install: ${SIM_INSTALL} ${BOARD_INSTALL} install-sim: for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do \ - ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ + ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \ done install-board: for x in ${BOARD_CRT0S} ${BOARD_BSP}; do \ - ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; \ + ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x || exit $$?; \ done -if [ -z "${MULTISUBDIR}" ]; then \ for x in ${BOARD_SCRIPTS}; do \ |