diff options
Diffstat (limited to 'distrib/sparc64/ramdisk/Makefile')
-rw-r--r-- | distrib/sparc64/ramdisk/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile index 7ceaa079106..31418601b39 100644 --- a/distrib/sparc64/ramdisk/Makefile +++ b/distrib/sparc64/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.30 2014/11/26 08:18:18 stsp Exp $ +# $OpenBSD: Makefile,v 1.31 2016/10/14 18:44:20 deraadt Exp $ TOP= ${.CURDIR}/.. @@ -81,10 +81,9 @@ ${IMAGE}: rd_setup do_files rd_teardown .endif bsd: - cd ${TOP}/../../sys/arch/sparc64/conf && config ${KERNEL} cd ${TOP}/../../sys/arch/sparc64/compile/${KERNEL} && \ - ${MAKE} clean && COPTS=-Os exec ${MAKE} - cp ${TOP}/../../sys/arch/sparc64/compile/${KERNEL}/bsd bsd + su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && env COPTS=-Os ${MAKE}' + cp -p ${TOP}/../../sys/arch/sparc64/compile/${KERNEL}/obj/bsd bsd rd_setup: dd if=/dev/zero of=${IMAGE} bs=512 count=${NBLKS} |