diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-05 21:08:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-05 21:08:02 +0000 |
commit | 80cc16f025842d7b43c859eb99316624d1685ab8 (patch) | |
tree | 1c1af08b3f3fab3478dcf168fcf9f47e04fce4b2 /distrib/luna88k | |
parent | 30424fe1dc50a4724026246ffa0ce50e426c5681 (diff) |
Use new rdsetroot.
Diffstat (limited to 'distrib/luna88k')
-rw-r--r-- | distrib/luna88k/ramdisk/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/distrib/luna88k/ramdisk/Makefile b/distrib/luna88k/ramdisk/Makefile index bcac913eaf4..9e2e1ed05ff 100644 --- a/distrib/luna88k/ramdisk/Makefile +++ b/distrib/luna88k/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.19 2017/01/27 17:59:09 natano Exp $ +# $OpenBSD: Makefile,v 1.20 2019/04/05 21:08:00 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -15,9 +15,9 @@ MAKEFSARGS_RD= -o disklabel=${DISKTYPE},minfree=0 all: ${BSD_RD} -${BSD_RD}: ${IMAGE} bsd rdsetroot +${BSD_RD}: ${IMAGE} bsd cp bsd ${BSD_RD} - ${.OBJDIR}/rdsetroot ${BSD_RD} ${IMAGE} + rdsetroot ${BSD_RD} ${IMAGE} ${IMAGE}: ${CBIN} rm -rf $@.d @@ -36,11 +36,6 @@ bsd: .endif cp -p ${.CURDIR}/../../../sys/arch/luna88k/compile/RAMDISK/obj/bsd bsd -rdsetroot: ${TOP}/../common/elfrdsetroot.c - ${HOSTCC} -o rdsetroot \ - ${TOP}/../common/elfrdsetroot.c ${TOP}/../common/elf32.c \ - ${TOP}/../common/elf64.c - .ifdef RELEASEDIR install: cp ${BSD_RD} ${RELEASEDIR} @@ -57,8 +52,7 @@ ${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c clean cleandir: /bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.conf ${CBIN}.mk ${CBIN}.cache \ - lib*.a lib*.olist ${CBIN}.map \ - *.o *.lo *.c bsd ${BSD_RD} rdsetroot + lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd ${BSD_RD} /bin/rm -rf ${IMAGE}.d .include <bsd.obj.mk> |