summaryrefslogtreecommitdiff
path: root/distrib/landisk
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/landisk
parente024a8a5b234b90892405983af54e8be2a77d43b (diff)
TOPDIR and TOP are not neccessary.
Diffstat (limited to 'distrib/landisk')
-rw-r--r--distrib/landisk/ramdisk/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/distrib/landisk/ramdisk/Makefile b/distrib/landisk/ramdisk/Makefile
index 94873a81954..901978cb147 100644
--- a/distrib/landisk/ramdisk/Makefile
+++ b/distrib/landisk/ramdisk/Makefile
@@ -1,6 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2019/04/29 01:48:40 deraadt Exp $
-
-TOP= ${.CURDIR}/..
+# $OpenBSD: Makefile,v 1.25 2019/04/29 15:56:25 deraadt Exp $
IMAGE= mr.fs
CRUNCHCONF?= instbin.conf
@@ -30,7 +28,7 @@ ${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
@@ -39,9 +37,9 @@ ${IMAGE}: instbin
.endif
bsd:
- cd ${TOP}/../../sys/arch/landisk/compile/RAMDISK && \
+ cd ${.CURDIR}/../../../sys/arch/landisk/compile/RAMDISK && \
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
- cp -p ${TOP}/../../sys/arch/landisk/compile/RAMDISK/obj/bsd bsd
+ cp -p ${.CURDIR}/../../../sys/arch/landisk/compile/RAMDISK/obj/bsd bsd
.ifdef RELEASEDIR
install: