summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:21:21 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-04-07 21:21:21 +0000
commitd911f4c2c0641ffdfe60b55d224551454724ea3e (patch)
tree9b64671957a469e8b61ffc61a7a23f6956cf4a3b
parentadded prototype for missing routine. (diff)
downloadrtems-d911f4c2c0641ffdfe60b55d224551454724ea3e.tar.bz2
added test to avoid spurious error
-rw-r--r--c/src/exec/score/cpu/powerpc/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/powerpc/Makefile.in b/c/src/exec/score/cpu/powerpc/Makefile.in
index 09d1731cc8..114ca43be3 100644
--- a/c/src/exec/score/cpu/powerpc/Makefile.in
+++ b/c/src/exec/score/cpu/powerpc/Makefile.in
@@ -73,7 +73,7 @@ preinstall: ${PROJECT_RELEASE}/include/rtems/score/ppc.h \
# we will share the basic cpu file
$(INSTALL) -m 444 ${EXTERNAL_H_FILES} ${PROJECT_RELEASE}/include
# make a link in case we are not compiling in the source directory
- -$(LN) -s $(srcdir)/irq_stub.s irq_stub.s
+ test -f irq_stub.s || $(LN) -s $(srcdir)/irq_stub.s irq_stub.s
${PROJECT_RELEASE}/include/rtems/score/ppc.h: ppc.h
$(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \