summaryrefslogtreecommitdiff
path: root/distrib/amd64/ramdiskA/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/amd64/ramdiskA/Makefile.inc')
-rw-r--r--distrib/amd64/ramdiskA/Makefile.inc15
1 files changed, 4 insertions, 11 deletions
diff --git a/distrib/amd64/ramdiskA/Makefile.inc b/distrib/amd64/ramdiskA/Makefile.inc
index 5248f4d1264..d623deb07ef 100644
--- a/distrib/amd64/ramdiskA/Makefile.inc
+++ b/distrib/amd64/ramdiskA/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.7 2018/06/06 00:14:29 mortimer Exp $
+# $OpenBSD: Makefile.inc,v 1.8 2019/04/05 21:08:00 deraadt Exp $
TOP= ${.CURDIR}/..
@@ -68,10 +68,9 @@ bsd.gz: bsd.rd
strip -R .comment -R .SUNW_ctf bsd.strip
gzip -c9n bsd.strip > bsd.gz
-bsd.rd: mr.fs bsd rdsetroot
+bsd.rd: mr.fs bsd
cp bsd bsd.rd
- ${.OBJDIR}/rdsetroot bsd.rd mr.fs
-
+ rdsetroot bsd.rd mr.fs
bsd:
cd ${.CURDIR}/../../../sys/arch/amd64/compile/${RAMDISK} && \
@@ -88,11 +87,6 @@ mr.fs: instbin
rm $@.d/instbin
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
@@ -118,8 +112,7 @@ instbin.conf: ${LISTS}
clean cleandir:
/bin/rm -f *.core mr.fs instbin instbin.mk instbin*.cache \
*.o *.lo *.c bsd bsd.rd bsd.gz bsd.strip floppy*.fs \
- lib*.a lib*.olist instbin.map \
- rdsetroot boot instbin.conf ${FS}
+ lib*.a lib*.olist instbin.map boot instbin.conf ${FS}
/bin/rm -rf mr.fs.d
.include <bsd.obj.mk>