From 2111e67c80d0c2084734ccecec4e8b4a56422a3b Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Fri, 4 Aug 2000 08:30:00 +0000 Subject: [PATCH] Fix this so it is a Makefile and not a shell script -- now issuing `make' a second time does not rebuild the binary. --- sys/boot/arc/loader/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/boot/arc/loader/Makefile b/sys/boot/arc/loader/Makefile index a12c1824a1d1..40aec3771a15 100644 --- a/sys/boot/arc/loader/Makefile +++ b/sys/boot/arc/loader/Makefile @@ -20,7 +20,7 @@ CFLAGS+= -I${.CURDIR}/../../.. -I. CFLAGS+= -DLOADER CLEANFILES+= setdef0.c setdef0.o setdef1.c setdef1.o setdefs.h start.o \ - vers.c vers.o ${BASE} ${BASE}.exe ${BASE}.sym ${BASE}.list + vers.c vers.o ${BASE}.exe ${BASE}.sym ${BASE}.list CLEANFILES+= loader.help CLEANFILES+= machine @@ -39,10 +39,10 @@ vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} ${CC} -c vers.c -${BASE}.exe: ${BASE} ${BASE}.help +${BASE}.exe: ${BASE}.sym ${BASE}.help elf2exe ${BASE}.sym ${BASE}.exe -${BASE}: ${OBJS} ${LIBSTAND} ${LIBARC} ${CRT} vers.o setdef0.o setdef1.o +${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBARC} ${CRT} vers.o setdef0.o setdef1.o ${LD} -o ${BASE}.sym -M -N -Ttext ${LOAD_ADDRESS} \ ${CRT} setdef0.o ${OBJS} setdef1.o vers.o -L${DESTDIR}${LIBDIR} \ ${LIBSTAND} ${LIBARC} ${LIBSTAND} >${.OBJDIR}/${BASE}.list