summaryrefslogtreecommitdiff
path: root/distrib/octeon/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/octeon/ramdisk/Makefile')
-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}