summaryrefslogtreecommitdiff
path: root/distrib/macppc/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/macppc/ramdisk/Makefile')
-rw-r--r--distrib/macppc/ramdisk/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/distrib/macppc/ramdisk/Makefile b/distrib/macppc/ramdisk/Makefile
index e982f38e7b4..0f1ea7f2845 100644
--- a/distrib/macppc/ramdisk/Makefile
+++ b/distrib/macppc/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.34 2017/08/13 15:41:30 jasper Exp $
+# $OpenBSD: Makefile,v 1.35 2019/04/05 21:08:00 deraadt Exp $
REV= ${OSrev}
@@ -26,9 +26,9 @@ all ${IMAGE}:
# mix config is not needed.
all: ${BSD_RD} cd
-${BSD_RD}: ${IMAGE} bsd rdsetroot
+${BSD_RD}: ${IMAGE} bsd
cp bsd ${BSD_RD}
- ${.OBJDIR}/rdsetroot ${BSD_RD} ${IMAGE}
+ rdsetroot ${BSD_RD} ${IMAGE}
cd: ${BSD_RD}
-rm -rf ${.OBJDIR}/cd-dir/
@@ -73,11 +73,6 @@ bsd:
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
cp -p ${TOP}/../../sys/arch/macppc/compile/RAMDISK/obj/bsd bsd
-rdsetroot: ${TOP}/../common/elfrdsetroot.c
- ${HOSTCC} ${HOSTCFLAGS} -o rdsetroot \
- ${TOP}/../common/elfrdsetroot.c ${TOP}/../common/elf32.c \
- ${TOP}/../common/elf64.c
-
${CBIN}.mk ${CBIN}.cache ${CBIN}.c: ${CRUNCHCONF}
crunchgen -E -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}
@@ -89,8 +84,7 @@ ${CRUNCHCONF}: ${LISTS}
clean cleandir:
/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
- lib*.a lib*.olist ${CBIN}.map \
- *.o *.lo *.c bsd ${BSD_RD} cd${REV}.iso rdsetroot
+ lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c bsd ${BSD_RD} cd${REV}.iso
rm -rf cd-dir ${IMAGE}.d
.ifdef RELEASEDIR