diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-10-14 18:43:03 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2016-10-14 18:43:03 +0000 |
commit | 645eff3a855254a1fd4271016d679ddf41bda9b5 (patch) | |
tree | 0d9ce821aa8023f5b24efd533b7ba7701d8a6cb1 /sys/arch/hppa/Makefile | |
parent | 1f9195d8cf739e4124db4512200c8278bbda6957 (diff) |
Kernel builds now happen in compile/CONFIG/obj@ -> /usr/obj/... [or ./obj/,
if srctree is not rooted at /usr/src]. As a result, stock GENERIC & RAMDISK
kernels are commited to the tree, to ensure the src tree can be "readonly"
during builds, with all writes occuring inside the obj space. config -b
options are handled by ../Makefile.inc. The canonical new way to configure
one of these kernels is:
% cd /sys/arch/amd64/compile/GENERIC.MP
% doas make obj
% make config
% make
% doas cp obj/bsd /bsd
The build infrastructure will use this new mechanism in a de-escalation
way using BUILDUSER.
Much help from natano and tb.
Diffstat (limited to 'sys/arch/hppa/Makefile')
-rw-r--r-- | sys/arch/hppa/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/Makefile b/sys/arch/hppa/Makefile index 548f468c3b2..cb643a39fa9 100644 --- a/sys/arch/hppa/Makefile +++ b/sys/arch/hppa/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2013/12/08 14:46:39 espie Exp $ +# $OpenBSD: Makefile,v 1.12 2016/10/14 18:42:58 deraadt Exp $ S= ${.CURDIR}/../.. KFILE= GENERIC @@ -11,7 +11,7 @@ TAGS= ${.CURDIR}/tags NOPROG= NOMAN= NOOBJ= -SUBDIR= stand +SUBDIR= stand compile # config the fattest kernel we can find into a temporary dir # to create a Makefile. Then use make to pull some variables |