Deleted Added
full compact
kern.pre.mk (145016) kern.pre.mk (149968)
1# $FreeBSD: head/sys/conf/kern.pre.mk 145016 2005-04-13 14:49:57Z imp $
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
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
70# .. and the same for twa
71INCLUDES+= -I$S/dev/twa
72
73CFLAGS= ${COPTFLAGS} ${CWARNFLAGS} ${DEBUG}
74CFLAGS+= ${INCLUDES} -D_KERNEL -include opt_global.h
75.if ${CC} != "icc"
76CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT}
77CFLAGS+= --param inline-unit-growth=100
78CFLAGS+= --param large-function-growth=1000
79WERROR?= -Werror
80.endif

--- 71 unchanged lines hidden ---
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 ---