summaryrefslogtreecommitdiff
path: root/distrib/armv7/ramdisk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/armv7/ramdisk/Makefile')
-rw-r--r--distrib/armv7/ramdisk/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/distrib/armv7/ramdisk/Makefile b/distrib/armv7/ramdisk/Makefile
index b249675956f..1933368c3d8 100644
--- a/distrib/armv7/ramdisk/Makefile
+++ b/distrib/armv7/ramdisk/Makefile
@@ -1,6 +1,7 @@
-# $OpenBSD: Makefile,v 1.26 2019/04/30 23:25:19 deraadt Exp $
+# $OpenBSD: Makefile,v 1.27 2019/05/03 20:03:58 deraadt Exp $
MTREE= ${UTILS}/mtree.conf
+RAMDISK= RAMDISK
LISTS= ${.CURDIR}/list
UTILS= ${.CURDIR}/../../miniroot
@@ -15,10 +16,9 @@ bsd.rd: mr.fs bsd
rdsetroot bsd.rd mr.fs
bsd:
- cd ${.CURDIR}/../../../sys/arch/armv7/compile/RAMDISK && \
+ cd ${.CURDIR}/../../../sys/arch/${MACHINE}/compile/${RAMDISK} && \
su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}'
- cp -p ${.CURDIR}/../../../sys/arch/armv7/compile/RAMDISK/obj/bsd bsd
-
+ cp -p ${.CURDIR}/../../../sys/arch/${MACHINE}/compile/${RAMDISK}/obj/bsd bsd
mr.fs: instbin
rm -rf $@.d