summaryrefslogtreecommitdiff
path: root/distrib/hppa
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/hppa
parent30424fe1dc50a4724026246ffa0ce50e426c5681 (diff)
Use new rdsetroot.
Diffstat (limited to 'distrib/hppa')
-rw-r--r--distrib/hppa/ramdisk/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/distrib/hppa/ramdisk/Makefile b/distrib/hppa/ramdisk/Makefile
index f11c8b5f399..e775f740c5e 100644
--- a/distrib/hppa/ramdisk/Makefile
+++ b/distrib/hppa/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.35 2017/09/18 20:13:52 jasper Exp $
+# $OpenBSD: Makefile,v 1.36 2019/04/05 21:08:00 deraadt Exp $
CBIN= instbin
ARCHDIR= ${.CURDIR}/..
@@ -52,20 +52,14 @@ obsd:
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
cp -p ${SRCDIR}/sys/arch/${MACHINE}/compile/${KERNEL}/obj/bsd obsd
-bsd.rd: obsd ${IMAGE} rdsetroot
+bsd.rd: obsd ${IMAGE}
cp obsd bsd.rd
- ${.OBJDIR}/rdsetroot bsd.rd ${IMAGE}
+ rdsetroot bsd.rd ${IMAGE}
strip ${STRIPOPTS} bsd.rd
bsd: bsd.rd
(cat bsd.rd ; dd if=/dev/zero count=1) | gzip ${GZIPFLAGS} > bsd
-rdsetroot: ${.CURDIR}/../../common/elfrdsetroot.c \
- ${.CURDIR}/../../common/elf32.c ${.CURDIR}/../../common/elf64.c
- ${HOSTCC} ${HOSTCCFLAGS} -o rdsetroot \
- ${.CURDIR}/../../common/elfrdsetroot.c \
- ${.CURDIR}/../../common/elf32.c ${.CURDIR}/../../common/elf64.c
-
${IMAGE}: ${CBIN}
rm -rf $@.d
install -d -o root -g wheel $@.d