summaryrefslogtreecommitdiff
path: root/distrib/octeon/ramdisk
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-29 15:56:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2019-04-29 15:56:27 +0000
commit5f87b1a8c6a70d1837331ad3e16868ca0f479761 (patch)
treec015cce7a85541dfa66f468e6f86978eb2091493 /distrib/octeon/ramdisk
parente024a8a5b234b90892405983af54e8be2a77d43b (diff)
TOPDIR and TOP are not neccessary.
Diffstat (limited to 'distrib/octeon/ramdisk')
-rw-r--r--distrib/octeon/ramdisk/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/distrib/octeon/ramdisk/Makefile b/distrib/octeon/ramdisk/Makefile
index ed386b35575..bc634f36545 100644
--- a/distrib/octeon/ramdisk/Makefile
+++ b/distrib/octeon/ramdisk/Makefile
@@ -1,6 +1,4 @@
-# $OpenBSD: Makefile,v 1.9 2019/04/29 01:48:40 deraadt Exp $
-
-TOP= ${.CURDIR}/..
+# $OpenBSD: Makefile,v 1.10 2019/04/29 15:56:26 deraadt Exp $
IMAGE= mr.fs
CRUNCHCONF?= instbin.conf
@@ -24,16 +22,16 @@ ${IMAGE}: instbin
rm -rf $@.d
install -d -o root -g wheel $@.d
mtree -def ${MTREE} -p $@.d -u
- TOPDIR=${TOP} CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} OSrev=${OSrev} \
+ CURDIR=${.CURDIR} OBJDIR=${.OBJDIR} OSrev=${OSrev} \
TARGDIR=$@.d UTILS=${UTILS} RELEASEDIR=${RELEASEDIR} \
sh ${UTILS}/runlist.sh ${LISTS}
rm $@.d/instbin
makefs ${MAKEFSARGS_RD} $@ $@.d
bsd:
- cd ${TOP}/../../sys/arch/octeon/compile/RAMDISK && \
+ cd ${.CURDIR}/../../../sys/arch/octeon/compile/RAMDISK && \
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
- cp -p ${TOP}/../../sys/arch/octeon/compile/RAMDISK/obj/bsd bsd
+ cp -p ${.CURDIR}/../../../sys/arch/octeon/compile/RAMDISK/obj/bsd bsd
instbin.mk instbin.cache instbin.c: ${CRUNCHCONF}
crunchgen -M -E -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC}