summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-05 21:08:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-05 21:08:02 +0000
commit80cc16f025842d7b43c859eb99316624d1685ab8 (patch)
tree1c1af08b3f3fab3478dcf168fcf9f47e04fce4b2 /distrib/armv7
parent30424fe1dc50a4724026246ffa0ce50e426c5681 (diff)
Use new rdsetroot.
Diffstat (limited to 'distrib/armv7')
-rw-r--r--distrib/armv7/ramdisk/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/distrib/armv7/ramdisk/Makefile b/distrib/armv7/ramdisk/Makefile
index 09deb22e836..eacb92f7170 100644
--- a/distrib/armv7/ramdisk/Makefile
+++ b/distrib/armv7/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.18 2019/01/24 23:27:16 naddy Exp $
+# $OpenBSD: Makefile,v 1.19 2019/04/05 21:08:00 deraadt Exp $
REV= ${OSrev}
@@ -40,9 +40,9 @@ bsd:
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
cp -p ${TOP}/../../sys/arch/armv7/compile/RAMDISK/obj/bsd bsd
-${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
@@ -59,11 +59,6 @@ ${IMAGE}: ${CBIN}
.endif
-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}
@@ -75,8 +70,7 @@ ${CRUNCHCONF}: ${LISTS}
clean cleandir:
/bin/rm -f *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache \
- lib*.a lib*.olist ${CBIN}.map \
- *.o *.lo *.c ${ALLBSD} ${ALLBSDRD} rdsetroot
+ lib*.a lib*.olist ${CBIN}.map *.o *.lo *.c ${ALLBSD} ${ALLBSDRD}
rm -f instbin.conf
rm -rf cd-dir ${IMAGE}.d