kern.pre.mk (dc653882d4719cd50c1866da5aff2a862ee36fb9) | kern.pre.mk (6d75a7a852fe046e3866858ff995447498904e95) |
---|---|
1# $FreeBSD$ 2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6# Allow user to configure things that only effect src tree builds. 7# Note: This is duplicated from src.sys.mk to ensure that we include 8# /etc/src.conf when building the kernel. Kernels can be built without --- 10 unchanged lines hidden (view full) --- 19.include <bsd.compiler.mk> 20.include "kern.opts.mk" 21 22# The kernel build always occurs in the object directory which is .CURDIR. 23.if ${.MAKE.MODE:Unormal:Mmeta} 24.MAKE.MODE+= curdirOk=yes 25.endif 26 | 1# $FreeBSD$ 2 3# Part of a unified Makefile for building kernels. This part contains all 4# of the definitions that need to be before %BEFORE_DEPEND. 5 6# Allow user to configure things that only effect src tree builds. 7# Note: This is duplicated from src.sys.mk to ensure that we include 8# /etc/src.conf when building the kernel. Kernels can be built without --- 10 unchanged lines hidden (view full) --- 19.include <bsd.compiler.mk> 20.include "kern.opts.mk" 21 22# The kernel build always occurs in the object directory which is .CURDIR. 23.if ${.MAKE.MODE:Unormal:Mmeta} 24.MAKE.MODE+= curdirOk=yes 25.endif 26 |
27.if defined(NO_OBJ) || ${MK_AUTO_OBJ} == "yes" 28NO_OBJ= t 29NO_MODULES_OBJ= t 30.endif 31.if !defined(NO_OBJ) 32_obj= obj 33.endif 34 |
|
27# Can be overridden by makeoptions or /etc/make.conf 28KERNEL_KO?= kernel 29KERNEL?= kernel 30KODIR?= /boot/${KERNEL} 31LDSCRIPT_NAME?= ldscript.$M 32LDSCRIPT?= $S/conf/${LDSCRIPT_NAME} 33 34M= ${MACHINE} --- 218 unchanged lines hidden --- | 35# Can be overridden by makeoptions or /etc/make.conf 36KERNEL_KO?= kernel 37KERNEL?= kernel 38KODIR?= /boot/${KERNEL} 39LDSCRIPT_NAME?= ldscript.$M 40LDSCRIPT?= $S/conf/${LDSCRIPT_NAME} 41 42M= ${MACHINE} --- 218 unchanged lines hidden --- |