Print this page
11866 Use -fstack-protector-strong when available
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: John Levon <john.levon@joyent.com>
Change-Id: Iaffe3e8275a3e6a06cc430743cd6539ead38f736
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/Makefile.intel
+++ new/usr/src/uts/intel/Makefile.intel
1 1 # CDDL HEADER START
2 2 #
3 3 # The contents of this file are subject to the terms of the
4 4 # Common Development and Distribution License (the "License").
5 5 # You may not use this file except in compliance with the License.
6 6 #
7 7 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 8 # or http://www.opensolaris.org/os/licensing.
9 9 # See the License for the specific language governing permissions
10 10 # and limitations under the License.
11 11 #
12 12 # When distributing Covered Code, include this CDDL HEADER in each
13 13 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 14 # If applicable, add the following below this CDDL HEADER, with the
15 15 # fields enclosed by brackets "[]" replaced with your own identifying
16 16 # information: Portions Copyright [yyyy] [name of copyright owner]
17 17 #
18 18 # CDDL HEADER END
19 19 #
20 20
21 21 #
22 22 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 # Copyright (c) 2013 Andrew Stormont. All rights reserved.
24 24 # Copyright (c) 2014 by Delphix. All rights reserved.
25 25 # Copyright 2019 Joyent, Inc.
26 26 # Copyright 2016 Garrett D'Amore <garrett@damore.org>
27 27 # Copyright 2018 Nexenta Systems, Inc.
28 28 # Copyright 2019 RackTop Systems
29 29 #
30 30
31 31 #
32 32 # This makefile contains the common definitions for all intel
33 33 # implementation architecture independent modules.
34 34 #
35 35
36 36 #
37 37 # Machine type (implementation architecture):
38 38 #
39 39 PLATFORM = i86pc
40 40
41 41 #
42 42 # Everybody needs to know how to build modstubs.o and to locate unix.o.
43 43 # Note that unix.o must currently be selected from among the possible
44 44 # "implementation architectures". Note further, that unix.o is only
45 45 # used as an optional error check for undefines so (theoretically)
46 46 # any "implementation architectures" could be used. We choose i86pc
47 47 # because it is the reference port.
48 48 #
49 49 UNIX_DIR = $(UTSBASE)/i86pc/unix
50 50 GENLIB_DIR = $(UTSBASE)/intel/genunix
51 51 IPDRV_DIR = $(UTSBASE)/intel/ip
52 52 MODSTUBS_DIR = $(UNIX_DIR)
53 53 DSF_DIR = $(UTSBASE)/$(PLATFORM)/genassym
54 54 LINTS_DIR = $(OBJS_DIR)
55 55 LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
56 56
57 57 UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
58 58 GENLIB = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
59 59 MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
60 60 LINT_LIB = $(UTSBASE)/i86pc/lint-libs/$(OBJS_DIR)/llib-lunix.ln
61 61 GEN_LINT_LIB = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
62 62
63 63 #
64 64 # Include the makefiles which define build rule templates, the
65 65 # collection of files per module, and a few specific flags. Note
66 66 # that order is significant, just as with an include path. The
67 67 # first build rule template which matches the files name will be
68 68 # used. By including these in order from most machine dependent
69 69 # to most machine independent, we allow a machine dependent file
70 70 # to be used in preference over a machine independent version
71 71 # (Such as a machine specific optimization, which preserves the
72 72 # interfaces.)
73 73 #
74 74 include $(UTSBASE)/intel/Makefile.files
75 75 include $(UTSBASE)/common/Makefile.files
76 76
77 77 #
78 78 # ----- TRANSITIONAL SECTION --------------------------------------------------
79 79 #
80 80
81 81 #
82 82 # Not everything which *should* be a module is a module yet. The
83 83 # following is a list of such objects which are currently part of
84 84 # genunix but which might someday become kmods. This must be
85 85 # defined before we include Makefile.uts, or else genunix's build
86 86 # won't be as parallel as we might like.
87 87 #
88 88 NOT_YET_KMODS = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
89 89
90 90 #
91 91 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
92 92 #
93 93 # Include machine independent rules. Note that this does not imply
94 94 # that the resulting module from rules in Makefile.uts is machine
95 95 # independent. Only that the build rules are machine independent.
96 96 #
97 97 include $(UTSBASE)/Makefile.uts
98 98
99 99 #
100 100 # The following must be defined for all implementations:
101 101 #
102 102 MODSTUBS = $(UTSBASE)/intel/ia32/ml/modstubs.s
103 103
104 104 #
105 105 # Define supported builds
106 106 #
107 107 DEF_BUILDS = $(DEF_BUILDS64)
108 108 ALL_BUILDS = $(ALL_BUILDS64)
109 109
110 110 #
111 111 # x86 or amd64 inline templates
112 112 #
113 113 INLINES_32 = $(UTSBASE)/intel/ia32/ml/ia32.il
114 114 INLINES_64 = $(UTSBASE)/intel/amd64/ml/amd64.il
115 115 INLINES += $(INLINES_$(CLASS))
116 116
117 117 #
118 118 # kernel-specific optimizations; override default in Makefile.master
119 119 #
120 120
121 121 CFLAGS_XARCH_32 = $(i386_CFLAGS)
122 122 CFLAGS_XARCH_64 = $(amd64_CFLAGS)
123 123 CFLAGS_XARCH = $(CFLAGS_XARCH_$(CLASS))
124 124
125 125 COPTFLAG_32 = $(COPTFLAG)
126 126 COPTFLAG_64 = $(COPTFLAG64)
↓ open down ↓ |
126 lines elided |
↑ open up ↑ |
127 127 COPTIMIZE = $(COPTFLAG_$(CLASS))
128 128
129 129 CFLAGS = $(CFLAGS_XARCH)
130 130 CFLAGS += $(COPTIMIZE)
131 131 CFLAGS += $(INLINES) -D_ASM_INLINES
132 132 CFLAGS += $(CCMODE)
133 133 CFLAGS += $(SPACEFLAG)
134 134 CFLAGS += $(CCUNBOUND)
135 135 CFLAGS += $(CFLAGS_uts)
136 136 CFLAGS += -xstrconst
137 -CFLAGS += -_gcc=-fstack-protector
138 137
138 +#
139 +# Options to control which version of stack-protector we enable. This
140 +# gives us a bit of flexibility and is unfortunately necessary as some
141 +# modules do not function correctly with our defaults (qede).
142 +#
143 +# o STACKPROTECT_ Sets the appropriate version for the compiler
144 +# o STACKPROTECT_strong Sets us to use strong on all of the
145 +# compilers it supports. This is the same
146 +# as the default.
147 +#
148 +# o STACKPROTECT_none Disables the stack protector.
149 +#
150 +# o STACKPROTECT_all Enables it for everything.
151 +#
152 +# o STACKPROTECT_basic Enables the basic stack protector.
153 +#
154 +# -fstack-protector-strong is not available in our gcc4 which is why we
155 +# have per-compiler versions below.
156 +#
157 +STACKPROTECT_ = -_gcc4=-fstack-protector
158 +STACKPROTECT_ += -_gcc7=-fstack-protector-strong
159 +STACKPROTECT_ += -_gcc8=-fstack-protector-strong
160 +STACKPROTECT_ += -_gcc9=-fstack-protector-strong
161 +
162 +STACKPROTECT_strong = $(STACKPROTECT_)
163 +STACKPROTECT_none = -_gcc=-fstack-protector-none
164 +STACKPROTECT_all = -_gcc=-fstack-protector-all
165 +STACKPROTECT_basic = -_gcc=-fstack-protector
166 +
167 +CFLAGS += $(STACKPROTECT_$(STACKPROTECT))
168 +
139 169 ASFLAGS_XARCH_32 = $(i386_ASFLAGS)
140 170 ASFLAGS_XARCH_64 = $(amd64_ASFLAGS)
141 171 ASFLAGS_XARCH = $(ASFLAGS_XARCH_$(CLASS))
142 172
143 173 ASFLAGS += $(ASFLAGS_XARCH)
144 174
145 175 #
146 176 # Define the base directory for installation.
147 177 #
148 178 BASE_INS_DIR = $(ROOT)
149 179
150 180 #
151 181 # Debugging level
152 182 #
153 183 # Special knowledge of which special debugging options affect which
154 184 # file is used to optimize the build if these flags are changed.
155 185 #
156 186 DEBUG_DEFS_OBJ32 =
157 187 DEBUG_DEFS_DBG32 = -DDEBUG
158 188 DEBUG_DEFS_OBJ64 =
159 189 DEBUG_DEFS_DBG64 = -DDEBUG
160 190 DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE))
161 191
162 192 DEBUG_COND_OBJ32 = $(POUND_SIGN)
163 193 DEBUG_COND_DBG32 =
164 194 DEBUG_COND_OBJ64 = $(POUND_SIGN)
165 195 DEBUG_COND_DBG64 =
166 196 IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
167 197
168 198 $(IF_DEBUG_OBJ)syscall.o := DEBUG_DEFS += -DSYSCALLTRACE
169 199 $(IF_DEBUG_OBJ)clock.o := DEBUG_DEFS += -DKSLICE=1
170 200
171 201 #
172 202 # Collect the preprocessor definitions to be associated with *all*
173 203 # files.
174 204 #
175 205 ALL_DEFS = $(DEBUG_DEFS) $(OPTION_DEFS)
176 206
177 207 #
178 208 # TCP congestion control modules (/kernel/cc)
179 209 #
180 210 MISC_KMODS += cc
181 211 CC_KMODS += cc_newreno cc_cubic cc_sunreno
182 212
183 213 #
184 214 # The kernels modules which are "implementation architecture"
185 215 # specific for this machine are enumerated below. Note that most
186 216 # of these modules must exist (in one form or another) for each
187 217 # architecture.
188 218 #
189 219 # Common Drivers (usually pseudo drivers) (/kernel/drv)
190 220 # DRV_KMODS are built both 32-bit and 64-bit
191 221 # DRV_KMODS_32 are built only 32-bit
192 222 # DRV_KMODS_64 are built only 64-bit
193 223 #
194 224 DRV_KMODS += aac
195 225 DRV_KMODS += aggr
196 226 DRV_KMODS += ahci
197 227 DRV_KMODS += amr
198 228 DRV_KMODS += srn
199 229 DRV_KMODS += arn
200 230 DRV_KMODS += arp
201 231 DRV_KMODS += asy
202 232 DRV_KMODS += ata
203 233 DRV_KMODS += ath
204 234 DRV_KMODS += atu
205 235 DRV_KMODS += audio
206 236 DRV_KMODS += audio1575
207 237 DRV_KMODS += audio810
208 238 DRV_KMODS += audiocmi
209 239 DRV_KMODS += audiocmihd
210 240 DRV_KMODS += audioemu10k
211 241 DRV_KMODS += audioens
212 242 DRV_KMODS += audiohd
213 243 DRV_KMODS += audioixp
214 244 DRV_KMODS += audiols
215 245 DRV_KMODS += audiop16x
216 246 DRV_KMODS += audiopci
217 247 DRV_KMODS += audiosolo
218 248 DRV_KMODS += audiots
219 249 DRV_KMODS += audiovia823x
220 250 DRV_KMODS += bl
221 251 DRV_KMODS += blkdev
222 252 DRV_KMODS += bge
223 253 DRV_KMODS += bofi
224 254 DRV_KMODS += bpf
225 255 DRV_KMODS += bridge
226 256 DRV_KMODS += bscbus
227 257 DRV_KMODS += bscv
228 258 DRV_KMODS += chxge
229 259 DRV_KMODS += cxgbe
230 260 DRV_KMODS += ntxn
231 261 DRV_KMODS += myri10ge
232 262 DRV_KMODS += clone
233 263 DRV_KMODS += cmdk
234 264 DRV_KMODS += cn
235 265 DRV_KMODS += conskbd
236 266 DRV_KMODS += consms
237 267 DRV_KMODS += cpqary3
238 268 DRV_KMODS += cpuid
239 269 DRV_KMODS += cpunex
240 270 DRV_KMODS += crypto
241 271 DRV_KMODS += cryptoadm
242 272 DRV_KMODS += dca
243 273 DRV_KMODS += devinfo
244 274 DRV_KMODS += dld
245 275 DRV_KMODS += dlpistub
246 276 DRV_KMODS += dnet
247 277 DRV_KMODS += dump
248 278 DRV_KMODS += ecpp
249 279 DRV_KMODS += emlxs
250 280 DRV_KMODS += eventfd
251 281 DRV_KMODS += fd
252 282 DRV_KMODS += fdc
253 283 DRV_KMODS += fm
254 284 DRV_KMODS += fssnap
255 285 DRV_KMODS += hxge
256 286 DRV_KMODS += i8042
257 287 DRV_KMODS += icmp
258 288 DRV_KMODS += icmp6
259 289 DRV_KMODS += intel_nb5000
260 290 DRV_KMODS += intel_nhm
261 291 DRV_KMODS += ip
262 292 DRV_KMODS += ip6
263 293 DRV_KMODS += ipd
264 294 DRV_KMODS += ipf
265 295 DRV_KMODS += ipnet
266 296 DRV_KMODS += ippctl
267 297 DRV_KMODS += ipsecah
268 298 DRV_KMODS += ipsecesp
269 299 DRV_KMODS += ipw
270 300 DRV_KMODS += iwh
271 301 DRV_KMODS += iwi
272 302 DRV_KMODS += iwn
273 303 DRV_KMODS += iwk
274 304 DRV_KMODS += iwp
275 305 DRV_KMODS += iwscn
276 306 DRV_KMODS += kb8042
277 307 DRV_KMODS += keysock
278 308 DRV_KMODS += kssl
279 309 DRV_KMODS += kstat
280 310 DRV_KMODS += ksyms
281 311 DRV_KMODS += kmdb
282 312 DRV_KMODS += llc1
283 313 DRV_KMODS += lofi
284 314 DRV_KMODS += log
285 315 DRV_KMODS += logindmux
286 316 DRV_KMODS += mega_sas
287 317 DRV_KMODS += mc-amd
288 318 DRV_KMODS += mm
289 319 DRV_KMODS += mouse8042
290 320 DRV_KMODS += mpt_sas
291 321 DRV_KMODS += mr_sas
292 322 DRV_KMODS += mwl
293 323 DRV_KMODS += nca
294 324 DRV_KMODS += nsmb
295 325 DRV_KMODS += nulldriver
296 326 DRV_KMODS += nv_sata
297 327 DRV_KMODS += nvme
298 328 DRV_KMODS += nxge
299 329 DRV_KMODS += oce
300 330 DRV_KMODS += openeepr
301 331 DRV_KMODS += pci_pci
302 332 DRV_KMODS += pcic
303 333 DRV_KMODS += pcieb
304 334 DRV_KMODS += physmem
305 335 DRV_KMODS += pit_beep
306 336 DRV_KMODS += pm
307 337 DRV_KMODS += poll
308 338 DRV_KMODS += pool
309 339 DRV_KMODS += power
310 340 DRV_KMODS += pseudo
311 341 DRV_KMODS += ptc
312 342 DRV_KMODS += ptm
313 343 DRV_KMODS += pts
314 344 DRV_KMODS += ptsl
315 345 DRV_KMODS += qlge
316 346 DRV_KMODS += ral
317 347 DRV_KMODS += ramdisk
318 348 DRV_KMODS += random
319 349 DRV_KMODS += rds
320 350 DRV_KMODS += rdsv3
321 351 DRV_KMODS += rpcib
322 352 DRV_KMODS += rsm
323 353 DRV_KMODS += rts
324 354 DRV_KMODS += rtw
325 355 DRV_KMODS += rum
326 356 DRV_KMODS += rwd
327 357 DRV_KMODS += rwn
328 358 DRV_KMODS += sad
329 359 DRV_KMODS += sd
330 360 DRV_KMODS += sdhost
331 361 DRV_KMODS += sgen
332 362 DRV_KMODS += si3124
333 363 DRV_KMODS += signalfd
334 364 DRV_KMODS += smbios
335 365 DRV_KMODS += skd
336 366 DRV_KMODS += softmac
337 367 DRV_KMODS += spdsock
338 368 DRV_KMODS += smbsrv
339 369 DRV_KMODS += smp
340 370 DRV_KMODS += sppp
341 371 DRV_KMODS += sppptun
342 372 DRV_KMODS += srpt
343 373 DRV_KMODS += st
344 374 DRV_KMODS += sy
345 375 DRV_KMODS += sysevent
346 376 DRV_KMODS += sysmsg
347 377 DRV_KMODS += tcp
348 378 DRV_KMODS += tcp6
349 379 DRV_KMODS += timerfd
350 380 DRV_KMODS += tl
351 381 DRV_KMODS += tnf
352 382 DRV_KMODS += tpm
353 383 DRV_KMODS += trill
354 384 DRV_KMODS += udp
355 385 DRV_KMODS += udp6
356 386 DRV_KMODS += ucode
357 387 DRV_KMODS += ufm
358 388 DRV_KMODS += ufmtest
359 389 DRV_KMODS += ural
360 390 DRV_KMODS += uath
361 391 DRV_KMODS += urtw
362 392 DRV_KMODS += vgatext
363 393 DRV_KMODS += vnic
364 394 DRV_KMODS += vscan
365 395 DRV_KMODS += wc
366 396 DRV_KMODS += winlock
367 397 DRV_KMODS += wpi
368 398 DRV_KMODS += xge
369 399 DRV_KMODS += yge
370 400 DRV_KMODS += zcons
371 401 DRV_KMODS += zyd
372 402 DRV_KMODS += simnet
373 403 DRV_KMODS += stmf
374 404 DRV_KMODS += stmf_sbd
375 405 DRV_KMODS += fct
376 406 DRV_KMODS += fcoe
377 407 DRV_KMODS += fcoet
378 408 DRV_KMODS += fcoei
379 409 DRV_KMODS += qlt
380 410 DRV_KMODS += iscsit
381 411 DRV_KMODS += pppt
382 412 DRV_KMODS += iptun
383 413 DRV_KMODS += vmxnet3s
384 414 DRV_KMODS += pvscsi
385 415
386 416 #
387 417 # Common code drivers
388 418 #
389 419
390 420 DRV_KMODS += afe
391 421 DRV_KMODS += atge
392 422 DRV_KMODS += bfe
393 423 DRV_KMODS += bnx
394 424 DRV_KMODS += bnxe
395 425 DRV_KMODS += dmfe
396 426 DRV_KMODS += e1000g
397 427 DRV_KMODS += efe
398 428 DRV_KMODS += elxl
399 429 DRV_KMODS += hme
400 430 DRV_KMODS += mxfe
401 431 DRV_KMODS += nge
402 432 DRV_KMODS += pcn
403 433 DRV_KMODS += qede
404 434 DRV_KMODS += rge
405 435 DRV_KMODS += rtls
406 436 DRV_KMODS += sfe
407 437 DRV_KMODS += sfxge
408 438 DRV_KMODS += amd8111s
409 439 DRV_KMODS += igb
410 440 DRV_KMODS += ipmi
411 441 DRV_KMODS += iprb
412 442 DRV_KMODS += ixgbe
413 443 DRV_KMODS += i40e
414 444 DRV_KMODS += vr
415 445
416 446 #
417 447 # Virtio drivers
418 448 #
419 449
420 450 # Virtio core
421 451 DRV_KMODS += virtio
422 452
423 453 # Virtio block driver
424 454 DRV_KMODS += vioblk
425 455
426 456 # Virtio network driver
427 457 DRV_KMODS += vioif
428 458
429 459 #
430 460 # DTrace and DTrace Providers
431 461 #
432 462 DRV_KMODS += dtrace
433 463 DRV_KMODS += fbt
434 464 DRV_KMODS += lockstat
435 465 DRV_KMODS += profile
436 466 DRV_KMODS += sdt
437 467 DRV_KMODS += systrace
438 468 DRV_KMODS += fasttrap
439 469 DRV_KMODS += dcpc
440 470
441 471 #
442 472 # I/O framework test drivers
443 473 #
444 474 DRV_KMODS += pshot
445 475 DRV_KMODS += gen_drv
446 476 DRV_KMODS += tvhci tphci tclient
447 477 DRV_KMODS += emul64
448 478
449 479 #
450 480 # Machine Specific Driver Modules (/kernel/drv):
451 481 #
452 482 DRV_KMODS += options
453 483 DRV_KMODS += scsi_vhci
454 484 DRV_KMODS += pmcs
455 485 DRV_KMODS += pmcs8001fw
456 486 DRV_KMODS += arcmsr
457 487 DRV_KMODS += fcp
458 488 DRV_KMODS += fcip
459 489 DRV_KMODS += fcsm
460 490 DRV_KMODS += fp
461 491 DRV_KMODS += qlc
462 492 DRV_KMODS += iscsi
463 493
464 494 #
465 495 # PCMCIA specific module(s)
466 496 #
467 497 DRV_KMODS += pcs
468 498 MISC_KMODS += cardbus
469 499
470 500 #
471 501 # SCSI Enclosure Services driver
472 502 #
473 503 DRV_KMODS += ses
474 504
475 505 #
476 506 # USB specific modules
477 507 #
478 508 DRV_KMODS += hid
479 509 DRV_KMODS += hubd
480 510 DRV_KMODS += uhci
481 511 DRV_KMODS += ehci
482 512 DRV_KMODS += ohci
483 513 DRV_KMODS += usb_mid
484 514 DRV_KMODS += usb_ia
485 515 DRV_KMODS += scsa2usb
486 516 DRV_KMODS += usbprn
487 517 DRV_KMODS += ugen
488 518 DRV_KMODS += usbser
489 519 DRV_KMODS += usbsacm
490 520 DRV_KMODS += usbsksp
491 521 DRV_KMODS += usbsprl
492 522 DRV_KMODS += usb_ac
493 523 DRV_KMODS += usb_as
494 524 DRV_KMODS += usbskel
495 525 DRV_KMODS += usbvc
496 526 DRV_KMODS += usbftdi
497 527 DRV_KMODS += usbecm
498 528 DRV_KMODS += xhci
499 529
500 530 #
501 531 # USBGEM modules
502 532 #
503 533 DRV_KMODS += usbgem
504 534 DRV_KMODS += axf
505 535 DRV_KMODS += udmf
506 536 DRV_KMODS += upf
507 537 DRV_KMODS += urf
508 538
509 539 #
510 540 # 1394 modules
511 541 #
512 542 MISC_KMODS += s1394 sbp2
513 543 DRV_KMODS += hci1394 scsa1394
514 544 DRV_KMODS += av1394
515 545 DRV_KMODS += dcam1394
516 546
517 547 #
518 548 # InfiniBand pseudo drivers
519 549 #
520 550 DRV_KMODS += ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
521 551 DRV_KMODS += sol_umad
522 552
523 553 #
524 554 # Brand modules
525 555 #
526 556 BRAND_KMODS += sn1_brand s10_brand
527 557
528 558 #
529 559 # Exec Class Modules (/kernel/exec):
530 560 #
531 561 EXEC_KMODS += elfexec intpexec shbinexec javaexec
532 562
533 563 #
534 564 # Scheduling Class Modules (/kernel/sched):
535 565 #
536 566 SCHED_KMODS += IA RT TS RT_DPTBL TS_DPTBL FSS FX FX_DPTBL SDC
537 567
538 568 #
539 569 # File System Modules (/kernel/fs):
540 570 #
541 571 FS_KMODS += autofs ctfs dcfs dev devfs fdfs fifofs hsfs lofs
542 572 FS_KMODS += mntfs namefs nfs objfs zfs zut
543 573 FS_KMODS += pcfs procfs sockfs specfs tmpfs udfs ufs sharefs
544 574 FS_KMODS += smbfs bootfs
545 575
546 576 #
547 577 # Streams Modules (/kernel/strmod):
548 578 #
549 579 STRMOD_KMODS += bufmod connld dedump ldterm pckt pfmod pipemod
550 580 STRMOD_KMODS += ptem redirmod rpcmod rlmod telmod timod
551 581 STRMOD_KMODS += spppasyn spppcomp
552 582 STRMOD_KMODS += tirdwr ttcompat
553 583 STRMOD_KMODS += usbkbm
554 584 STRMOD_KMODS += usbms
555 585 STRMOD_KMODS += usbwcm
556 586 STRMOD_KMODS += usb_ah
557 587 STRMOD_KMODS += drcompat
558 588 STRMOD_KMODS += cryptmod
559 589 STRMOD_KMODS += vuid2ps2
560 590 STRMOD_KMODS += vuid3ps2
561 591 STRMOD_KMODS += vuidm3p
562 592 STRMOD_KMODS += vuidm4p
563 593 STRMOD_KMODS += vuidm5p
564 594
565 595 #
566 596 # 'System' Modules (/kernel/sys):
567 597 #
568 598 SYS_KMODS += c2audit
569 599 SYS_KMODS += doorfs
570 600 SYS_KMODS += exacctsys
571 601 SYS_KMODS += inst_sync
572 602 SYS_KMODS += kaio
573 603 SYS_KMODS += msgsys
574 604 SYS_KMODS += pipe
575 605 SYS_KMODS += portfs
576 606 SYS_KMODS += pset
577 607 SYS_KMODS += semsys
578 608 SYS_KMODS += shmsys
579 609 SYS_KMODS += sysacct
580 610 SYS_KMODS += acctctl
581 611
582 612 #
583 613 # 'Misc' Modules (/kernel/misc)
584 614 # MISC_KMODS are built both 32-bit and 64-bit
585 615 # MISC_KMODS_32 are built only 32-bit
586 616 # MISC_KMODS_64 are built only 64-bit
587 617 #
588 618 MISC_KMODS += ac97
589 619 MISC_KMODS += acpica
590 620 MISC_KMODS += bignum
591 621 MISC_KMODS += bootdev
592 622 MISC_KMODS += busra
593 623 MISC_KMODS += cmlb
594 624 MISC_KMODS += consconfig
595 625 MISC_KMODS += ctf
596 626 MISC_KMODS += dadk
597 627 MISC_KMODS += dcopy
598 628 MISC_KMODS += dls
599 629 MISC_KMODS += fssnap_if
600 630 MISC_KMODS += gda
601 631 MISC_KMODS += gld
602 632 MISC_KMODS += hidparser
603 633 MISC_KMODS += hook
604 634 MISC_KMODS += hpcsvc
605 635 MISC_KMODS += ibcm
606 636 MISC_KMODS += ibdm
607 637 MISC_KMODS += ibdma
608 638 MISC_KMODS += ibmf
609 639 MISC_KMODS += ibtl
610 640 MISC_KMODS += idm
611 641 MISC_KMODS += idmap
612 642 MISC_KMODS += iommulib
613 643 MISC_KMODS += ipc
614 644 MISC_KMODS += kbtrans
615 645 MISC_KMODS += kcf
616 646 MISC_KMODS += kgssapi
617 647 MISC_KMODS += kmech_dummy
618 648 MISC_KMODS += kmech_krb5
619 649 MISC_KMODS += ksocket
620 650 MISC_KMODS += mac
621 651 MISC_KMODS += mii
622 652 MISC_KMODS += mwlfw
623 653 MISC_KMODS += net80211
624 654 MISC_KMODS += nfs_dlboot
625 655 MISC_KMODS += nfssrv
626 656 MISC_KMODS += neti
627 657 MISC_KMODS += pci_autoconfig
628 658 MISC_KMODS += pcicfg
629 659 MISC_KMODS += pcihp
630 660 MISC_KMODS += pcmcia
631 661 MISC_KMODS += rpcsec
632 662 MISC_KMODS += rpcsec_gss
633 663 MISC_KMODS += rsmops
634 664 MISC_KMODS += sata
635 665 MISC_KMODS += scsi
636 666 MISC_KMODS += sda
637 667 MISC_KMODS += sol_ofs
638 668 MISC_KMODS += strategy
639 669 MISC_KMODS += strplumb
640 670 MISC_KMODS += tem
641 671 MISC_KMODS += tlimod
642 672 MISC_KMODS += usba usba10 usbs49_fw
643 673 MISC_KMODS += scsi_vhci_f_sym_hds
644 674 MISC_KMODS += scsi_vhci_f_sym
645 675 MISC_KMODS += scsi_vhci_f_tpgs
646 676 MISC_KMODS += scsi_vhci_f_tape
647 677 MISC_KMODS += scsi_vhci_f_tpgs_tape
648 678 MISC_KMODS += fctl
649 679 MISC_KMODS += emlxs_fw
650 680 MISC_KMODS += qlc_fw_2200
651 681 MISC_KMODS += qlc_fw_2300
652 682 MISC_KMODS += qlc_fw_2400
653 683 MISC_KMODS += qlc_fw_2500
654 684 MISC_KMODS += qlc_fw_6322
655 685 MISC_KMODS += qlc_fw_8100
656 686 MISC_KMODS += uathfw
657 687
658 688 MISC_KMODS += klmmod klmops
659 689
660 690 #
661 691 # Software Cryptographic Providers (/kernel/crypto):
662 692 #
663 693 CRYPTO_KMODS += aes
664 694 CRYPTO_KMODS += arcfour
665 695 CRYPTO_KMODS += blowfish
666 696 CRYPTO_KMODS += des
667 697 CRYPTO_KMODS += ecc
668 698 CRYPTO_KMODS += edonr
669 699 CRYPTO_KMODS += md4
670 700 CRYPTO_KMODS += md5
671 701 CRYPTO_KMODS += rsa
672 702 CRYPTO_KMODS += sha1
673 703 CRYPTO_KMODS += sha2
674 704 CRYPTO_KMODS += skein
675 705 CRYPTO_KMODS += swrand
676 706
677 707 #
678 708 # IP Policy Modules (/kernel/ipp)
679 709 #
680 710 IPP_KMODS += dlcosmk
681 711 IPP_KMODS += flowacct
682 712 IPP_KMODS += ipgpc
683 713 IPP_KMODS += dscpmk
684 714 IPP_KMODS += tokenmt
685 715 IPP_KMODS += tswtclmt
686 716
687 717 #
688 718 # generic-unix module (/kernel/genunix):
689 719 #
690 720 GENUNIX_KMODS += genunix
691 721
692 722 #
693 723 # Modules eXcluded from the product:
694 724 #
695 725
696 726 #
697 727 # 'Dacf' Modules (/kernel/dacf):
698 728 #
699 729
700 730 #
701 731 # Performance Counter BackEnd modules (/usr/kernel/pcbe)
702 732 #
703 733 PCBE_KMODS += p4_pcbe opteron_pcbe core_pcbe
704 734
705 735 #
706 736 # MAC-Type Plugin Modules (/kernel/mac)
707 737 #
708 738 MAC_KMODS += mac_6to4
709 739 MAC_KMODS += mac_ether
710 740 MAC_KMODS += mac_ipv4
711 741 MAC_KMODS += mac_ipv6
712 742 MAC_KMODS += mac_wifi
713 743 MAC_KMODS += mac_ib
714 744
715 745 #
716 746 # socketmod (kernel/socketmod)
717 747 #
718 748 SOCKET_KMODS += sockpfp
719 749 SOCKET_KMODS += socksctp
720 750 SOCKET_KMODS += socksdp
721 751 SOCKET_KMODS += sockrds
722 752 SOCKET_KMODS += ksslf
723 753
724 754 #
725 755 # kiconv modules (/kernel/kiconv):
726 756 #
727 757 KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
728 758
729 759 #
730 760 # 'Dacf' Modules (/kernel/dacf):
731 761 #
732 762 DACF_KMODS += net_dacf
733 763
734 764 #
735 765 # Ensure that the variable member of the cpu_t (cpu_m) is defined
736 766 # for the lint builds so as not to cause lint errors during the
737 767 # global cross check.
738 768 #
739 769 LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/i86pc
740 770
741 771 #
742 772 # Sensor related drivers
743 773 #
744 774 DRV_KMODS += amdf17nbdf
745 775 DRV_KMODS += coretemp
746 776 DRV_KMODS += pchtemp
↓ open down ↓ |
598 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX