summaryrefslogtreecommitdiff
path: root/distrib/sparc64/bsd.rd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/sparc64/bsd.rd/Makefile')
-rw-r--r--distrib/sparc64/bsd.rd/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/distrib/sparc64/bsd.rd/Makefile b/distrib/sparc64/bsd.rd/Makefile
index 317485d68e1..15b60a0ad2c 100644
--- a/distrib/sparc64/bsd.rd/Makefile
+++ b/distrib/sparc64/bsd.rd/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2017/09/18 20:13:53 jasper Exp $
+# $OpenBSD: Makefile,v 1.36 2019/04/05 21:08:01 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -24,9 +24,9 @@ bsd.rd: bsd.rd_unz
strip ${STRIPOPTS} bsd.strip
gzip -c ${GZIPFLAGS} bsd.strip > bsd.rd
-bsd.rd_unz: bsd ${IMAGE} rdsetroot
+bsd.rd_unz: bsd ${IMAGE}
cp bsd bsd.rd_unz
- ${.OBJDIR}/rdsetroot bsd.rd_unz ${IMAGE}
+ rdsetroot bsd.rd_unz ${IMAGE}
bsd:
cd ${.CURDIR}/../../../sys/arch/sparc64/compile/${RAMDISK} && \
@@ -43,11 +43,6 @@ ${IMAGE}: ${CBIN}
rm $@.d/${CBIN}
makefs ${MAKEFSARGS_RD} $@ $@.d
-rdsetroot: ${TOP}/../common/elfrdsetroot.c
- ${HOSTCC} ${HOSTCFLAGS} -o rdsetroot \
- ${TOP}/../common/elfrdsetroot.c ${TOP}/../common/elf32.c \
- ${TOP}/../common/elf64.c
-
.ifdef RELEASEDIR
install:
.ifndef NOBSDRD
@@ -69,7 +64,7 @@ ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
clean cleandir:
/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}*.cache \
lib*.a lib*.olist ${CBIN}.map \
- *.o *.lo *.c bsd bsd.rd{,_unz} bsd.gz bsd.strip floppy*.fs rdsetroot
+ *.o *.lo *.c bsd bsd.rd{,_unz} bsd.gz bsd.strip floppy*.fs
/bin/rm -rf ${IMAGE}.d
.include <bsd.obj.mk>