Changeset 16008 in vbox
- Timestamp:
- Jan 17, 2009 9:52:34 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/Config.kmk (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r16003 r16008 2207 2207 2208 2208 ifeq ($(KBUILD_TARGET),freebsd) 2209 # x86 FreeBSD :2209 # x86 FreeBSD (6.2 or something): 2210 2210 # cc -O2 -fno-strict-aliasing -pipe -Werror -D_KERNEL -DKLD_MODULE \ 2211 2211 # -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -I/usr/include \ … … 2219 2219 # ld -Bsharable -d warn-commnon -o my.ko my.kld 2220 2220 # 2221 # AMD64 FreeBSD (7.1): 2222 # cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -I. -I@ -I@/contrib/altq \ 2223 # -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common \ 2224 # -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx \ 2225 # -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding \ 2226 # -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign \ 2227 # -fformat-extensions -c /usr/src/sys/modules/my/../../dev/my/if_my.c 2228 # ld -d -warn-common -r -d -o if_my.ko if_my.o 2229 # :> export_syms 2230 # awk -f /usr/src/sys/modules/my/../../conf/kmod_syms.awk if_my.ko export_syms | xargs -J% objcopy % if_my.ko 2231 2221 2232 # Note: @ -> /usr/src/sys and machine -> /usr/src/sys/i386/include 2222 2233 … … 2242 2253 -nostdinc -std=c99 2243 2254 TEMPLATE_VBOXR0DRV_CFLAGS.x86 = -m32 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 2244 TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 "Port me to amd64 FreeBSD" 2255 TEMPLATE_VBOXR0DRV_CFLAGS.amd64 = -m64 --param inline-unit-growth=100 --param large-function-growth=1000 \ 2256 -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx \ 2257 -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -Wundef 2245 2258 TEMPLATE_VBOXR0DRV_CXXFLAGS = -fno-exceptions -fno-rtti \ 2246 2259 $(VBOX_GCC_WARN) -Wpointer-arith -Winline $(VBOX_GCC_Wno-pointer-sign) \ … … 2248 2261 $(VBOX_GCC_fno-stack-protector) $(VBOX_GCC_OPT) $(VBOX_GCC_FP) \ 2249 2262 -nostdinc 2263 TEMPLATE_VBOXR0DRV_CXXFLAGS.x86 = $(TEMPLATE_VBOXR0DRV_CFLAGS.x86) 2264 TEMPLATE_VBOXR0DRV_CXXFLAGS.amd64 = $(TEMPLATE_VBOXR0DRV_CFLAGS.amd64) 2250 2265 TEMPLATE_VBOXR0DRV_SYSSUFF = .ko 2251 2266 TEMPLATE_VBOXR0DRV_LDFLAGS = -d --warn-common 2252 2267 TEMPLATE_VBOXR0DRV_LDFLAGS.x86 = -m elf_i386_fbsd 2253 TEMPLATE_VBOXR0DRV_LDFLAGS.amd64 = -m elf_x86_64 "Port me to amd64 FreeBSD"2268 TEMPLATE_VBOXR0DRV_LDFLAGS.amd64 = -m elf_x86_64_fbsd 2254 2269 2255 2270 TOOL_FREEBSDKMODLD = FreeBSD kernel module linker.
Note:
See TracChangeset
for help on using the changeset viewer.

