kmod.mk (276794) | kmod.mk (278913) |
---|---|
1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 | 1# From: @(#)bsd.prog.mk 5.26 (Berkeley) 6/25/91 |
2# $FreeBSD: head/sys/conf/kmod.mk 276794 2015-01-07 21:40:23Z gonzo $ | 2# $FreeBSD: head/sys/conf/kmod.mk 278913 2015-02-17 19:27:14Z glebius $ |
3# 4# The include file <bsd.kmod.mk> handles building and installing loadable 5# kernel modules. 6# 7# 8# +++ variables +++ 9# 10# CLEANFILES Additional files to remove for the clean and cleandir targets. --- 89 unchanged lines hidden (view full) --- 100# set because there are no standard paths for non-headers. 101CFLAGS+= -I. -I${SYSDIR} 102 103# Add -I path for altq headers as they are included via net/if_var.h 104# for example. 105CFLAGS+= -I${SYSDIR}/contrib/altq 106 107CFLAGS.gcc+= -finline-limit=${INLINE_LIMIT} | 3# 4# The include file <bsd.kmod.mk> handles building and installing loadable 5# kernel modules. 6# 7# 8# +++ variables +++ 9# 10# CLEANFILES Additional files to remove for the clean and cleandir targets. --- 89 unchanged lines hidden (view full) --- 100# set because there are no standard paths for non-headers. 101CFLAGS+= -I. -I${SYSDIR} 102 103# Add -I path for altq headers as they are included via net/if_var.h 104# for example. 105CFLAGS+= -I${SYSDIR}/contrib/altq 106 107CFLAGS.gcc+= -finline-limit=${INLINE_LIMIT} |
108CFLAGS.gcc+= -fms-extensions |
|
108CFLAGS.gcc+= --param inline-unit-growth=100 109CFLAGS.gcc+= --param large-function-growth=1000 110 111# Disallow common variables, and if we end up with commons from 112# somewhere unexpected, allocate storage for them in the module itself. 113CFLAGS+= -fno-common 114LDFLAGS+= -d -warn-common 115 --- 362 unchanged lines hidden --- | 109CFLAGS.gcc+= --param inline-unit-growth=100 110CFLAGS.gcc+= --param large-function-growth=1000 111 112# Disallow common variables, and if we end up with commons from 113# somewhere unexpected, allocate storage for them in the module itself. 114CFLAGS+= -fno-common 115LDFLAGS+= -d -warn-common 116 --- 362 unchanged lines hidden --- |