diff options
Diffstat (limited to 'distrib/loongson/ramdisk/Makefile')
-rw-r--r-- | distrib/loongson/ramdisk/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/distrib/loongson/ramdisk/Makefile b/distrib/loongson/ramdisk/Makefile index 89c53e6585d..0481210acba 100644 --- a/distrib/loongson/ramdisk/Makefile +++ b/distrib/loongson/ramdisk/Makefile @@ -1,6 +1,4 @@ -# $OpenBSD: Makefile,v 1.16 2019/04/29 01:48:40 deraadt Exp $ - -TOP= ${.CURDIR}/.. +# $OpenBSD: Makefile,v 1.17 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/loongson/compile/RAMDISK && \ + cd ${.CURDIR}/../../../sys/arch/loongson/compile/RAMDISK && \ su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}' - cp -p ${TOP}/../../sys/arch/loongson/compile/RAMDISK/obj/bsd bsd + cp -p ${.CURDIR}/../../../sys/arch/loongson/compile/RAMDISK/obj/bsd bsd instbin.mk instbin.cache instbin.c: ${CRUNCHCONF} crunchgen -EM -D ${.CURDIR}/../../.. -L ${DESTDIR}/usr/lib ${.ALLSRC} |