diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-10-14 18:44:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-10-14 18:44:21 +0000 |
commit | 23a80e29c513664cb6797d99d47e527db9f1619b (patch) | |
tree | 56eed512fa766092195c78df722245f8ce92cc77 /distrib/armv7 | |
parent | 645eff3a855254a1fd4271016d679ddf41bda9b5 (diff) |
Use new kernel compile method for ramdisks, de-escalating to $BUILDUSER
as required.
much help from natano and tb.
Diffstat (limited to 'distrib/armv7')
-rw-r--r-- | distrib/armv7/ramdisk/Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/distrib/armv7/ramdisk/Makefile b/distrib/armv7/ramdisk/Makefile index eda91e23793..fae4c651ad9 100644 --- a/distrib/armv7/ramdisk/Makefile +++ b/distrib/armv7/ramdisk/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.14 2016/06/05 15:12:56 jsg Exp $ +# $OpenBSD: Makefile,v 1.15 2016/10/14 18:44:19 deraadt Exp $ REV= ${OSrev} @@ -46,10 +46,9 @@ ALLBSDRD= ${BSD_RD} all: ${ALLBSDRD} bsd: - cd ${TOP}/../../sys/arch/armv7/conf && config RAMDISK cd ${TOP}/../../sys/arch/armv7/compile/RAMDISK && \ - ${MAKE} clean && exec ${MAKE} - cp ${TOP}/../../sys/arch/armv7/compile/RAMDISK/bsd bsd + su ${BUILDUSER} -c '${MAKE} config && ${MAKE} clean && exec ${MAKE}' + cp -p ${TOP}/../../sys/arch/armv7/compile/RAMDISK/obj/bsd bsd ${BSD_RD}: ${CBIN} ${IMAGE} bsd rdsetroot cp bsd ${BSD_RD} |