summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-08-04 08:30:00 +0000
committerobrien <obrien@FreeBSD.org>2000-08-04 08:30:00 +0000
commit9b94427a5584ee7d4a2c65f76acd17fef5240f74 (patch)
tree5f55760dc2064ce71221ec549ca19a52bf525f56
parent8174f128d68c4e2d09ee72dfe1e73584ad8724d1 (diff)
downloadFreeBSD-src-9b94427a5584ee7d4a2c65f76acd17fef5240f74.zip
FreeBSD-src-9b94427a5584ee7d4a2c65f76acd17fef5240f74.tar.gz
Fix this so it is a Makefile and not a shell script -- now issuing `make'
a second time does not rebuild the binary.
-rw-r--r--sys/boot/arc/loader/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/boot/arc/loader/Makefile b/sys/boot/arc/loader/Makefile
index a12c182..40aec37 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
OpenPOWER on IntegriCloud