1# $FreeBSD: head/sys/conf/kern.pre.mk 149968 2005-09-11 00:52:05Z obrien $ |
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# Can be overridden by makeoptions or /etc/make.conf 7KERNEL_KO?= kernel 8KERNEL?= kernel 9KODIR?= /boot/${KERNEL} --- 52 unchanged lines hidden (view full) --- 62INCLUDES+= -I$S/contrib/pf 63 64# ... and the same for Atheros HAL 65INCLUDES+= -I$S/contrib/dev/ath -I$S/contrib/dev/ath/freebsd 66 67# ... and the same for the NgATM stuff 68INCLUDES+= -I$S/contrib/ngatm 69 |
70CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG} 71CFLAGS+= ${INCLUDES} -D_KERNEL -include opt_global.h 72.if ${CC} != "icc" 73CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT} 74CFLAGS+= --param inline-unit-growth=100 75CFLAGS+= --param large-function-growth=1000 76WERROR?= -Werror 77.endif --- 71 unchanged lines hidden --- |