Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.5 |
|
15-Mar-2017 |
tb |
Fix building profiling kernels by passing the -p flag to config(8) if the kernel's name ends in .PROF.
problem reported by jmc via mpi ok mpi
|
#
1.4 |
|
10-Feb-2017 |
mpi |
Unbreak 'config -p'.
ok tb@, jca@
|
#
1.3 |
|
05-Nov-2016 |
natano |
Two tweaks for compile/Makefile.inc:
1) Replace '.elif !exists(${OBJDIR}/Makefile)' with just '.else'. espie pointed out, that if the file existed, make wouldn't be reading this file, so the check is superflous. Less clutter.
2) Unconditionally define the 'clean' and 'cleandir' targets, also when obj doesn't exist. This changes the behaviour of 'make clean' to be successful (doing nothing) without obj@ or obj/.
ok tb millert deraadt
|
#
1.2 |
|
15-Oct-2016 |
deraadt |
cleandir: target for kernel compile directories ok natano
|
#
1.1 |
|
14-Oct-2016 |
deraadt |
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.
|