Print this page
5832 EOF wireless usb (aka UWB)
Reviewed by: TBD
Reviewed by: TBD
Approved by: TBD
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/sparc/Makefile.sparc
+++ new/usr/src/uts/sparc/Makefile.sparc
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
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
25 25
26 26 #
27 27 # This makefile contains the common definitions for all sparc
28 28 # implementation architecture independent modules.
29 29 #
30 30
31 31 #
32 32 # Define supported builds
33 33 #
34 34 DEF_BUILDS = $(DEF_BUILDS64)
35 35 ALL_BUILDS = $(ALL_BUILDS64)
36 36
37 37 #
38 38 # Everybody needs to know how to build modstubs.o and to locate unix.o.
39 39 # Note that unix.o must currently be selected from among the possible
40 40 # "implementation architectures". Note further, that unix.o is only
41 41 # used as an optional error check for undefines so (theoretically)
42 42 # any "implementation architectures" could be used. We choose sun4u
43 43 # because it is the reference port.
44 44 #
45 45 UNIX_DIR = $(UTSBASE)/sun4u/unix
46 46 GENLIB_DIR = $(UTSBASE)/sun4u/genunix
47 47 IPDRV_DIR = $(UTSBASE)/sparc/ip
48 48 MODSTUBS_DIR = $(UNIX_DIR)
49 49 DSF_DIR = $(UNIX_DIR)
50 50 LINTS_DIR = $(OBJS_DIR)
51 51 LINT_LIB_DIR = $(UTSBASE)/sparc/lint-libs/$(OBJS_DIR)
52 52
53 53 UNIX_O = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
54 54 MODSTUBS_O = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
55 55 GENLIB = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/libgenunix.so
56 56
57 57 LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
58 58 GEN_LINT_LIB_32 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
59 59
60 60 LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lunix.ln
61 61 GEN_LINT_LIB_64 = $(UTSBASE)/sun4u/lint-libs/$(OBJS_DIR)/llib-lgenunix.ln
62 62
63 63 LINT_LIB = $(LINT_LIB_$(CLASS))
64 64 GEN_LINT_LIB = $(GEN_LINT_LIB_$(CLASS))
65 65
66 66 LINT32_DIRS = $(LINT32_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
67 67 LINT32_FILES = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
68 68
69 69 LINT64_DIRS = $(LINT64_BUILDS:%=$(UTSBASE)/sparc/lint-libs/%)
70 70 LINT64_FILES = $(LINT64_DIRS:%=%/llib-l$(MODULE).ln)
71 71
72 72 #
73 73 # Include the makefiles which define build rule templates, the
74 74 # collection of files per module, and a few specific flags. Note
75 75 # that order is significant, just as with an include path. The
76 76 # first build rule template which matches the files name will be
77 77 # used. By including these in order from most machine dependent
78 78 # to most machine independent, we allow a machine dependent file
79 79 # to be used in preference over a machine independent version
80 80 # (Such as a machine specific optimization, which preserves the
81 81 # interfaces.)
82 82 #
83 83 include $(UTSBASE)/sparc/Makefile.files
84 84 include $(UTSBASE)/sparc/v9/Makefile.files
85 85 include $(UTSBASE)/sun/Makefile.files
86 86 include $(UTSBASE)/common/Makefile.files
87 87
88 88 #
89 89 # ----- TRANSITIONAL SECTION --------------------------------------------------
90 90 #
91 91
92 92 #
93 93 # Not everything which *should* be a module is a module yet. The
94 94 # following is a list of such objects which are currently part of
95 95 # genunix but which might someday become kmods. This must be
96 96 # defined before we include Makefile.uts, or else genunix's build
97 97 # won't be as parallel as we might like.
98 98 #
99 99 NOT_YET_KMODS = $(OLDPTY_OBJS) $(PTY_OBJS) $(VCONS_CONF_OBJS) $(MOD_OBJS)
100 100
101 101 #
102 102 # ----- END OF TRANSITIONAL SECTION -------------------------------------------
103 103 #
104 104 # Include machine independent rules. Note that this does not imply
105 105 # that the resulting module from rules in Makefile.uts is machine
106 106 # independent. Only that the build rules are machine independent.
107 107 #
108 108 include $(UTSBASE)/Makefile.uts
109 109
110 110 #
111 111 # machine specific optimization, override default in Makefile.master
112 112 #
113 113 XARCH_32 = -xarch=v8
114 114 XARCH_64 = -m64
115 115 XARCH = $(XARCH_$(CLASS))
116 116
117 117 COPTIMIZE_32 = -xO3
118 118 COPTIMIZE_64 = -xO3
119 119 COPTIMIZE = $(COPTIMIZE_$(CLASS))
120 120
121 121 CCMODE = -Xa
122 122
123 123 CFLAGS_32 = -xcg92
124 124 CFLAGS_64 = -xchip=ultra $(CCABS32) $(CCREGSYM)
125 125 CFLAGS = $(CFLAGS_$(CLASS))
126 126
127 127 CFLAGS += $(XARCH)
128 128 CFLAGS += $(COPTIMIZE)
129 129 CFLAGS += $(EXTRA_CFLAGS)
130 130 CFLAGS += $(XAOPT)
131 131 CFLAGS += $(INLINES) -D_ASM_INLINES
132 132 CFLAGS += $(CCMODE)
133 133 CFLAGS += $(SPACEFLAG)
134 134 CFLAGS += $(CERRWARN)
135 135 CFLAGS += $(CTF_FLAGS_$(CLASS))
136 136 CFLAGS += $(C99MODE)
137 137 CFLAGS += $(CCUNBOUND)
138 138 CFLAGS += $(CCSTATICSYM)
139 139 CFLAGS += $(CC32BITCALLERS)
140 140 CFLAGS += $(CCNOAUTOINLINE)
141 141 CFLAGS += $(IROPTFLAG)
142 142 CFLAGS += $(CGLOBALSTATIC)
143 143 CFLAGS += -xregs=no%float
144 144 CFLAGS += -xstrconst
145 145 CFLAGS += $(CSOURCEDEBUGFLAGS)
146 146 CFLAGS += $(CUSERFLAGS)
147 147
148 148 ASFLAGS += $(XARCH)
149 149
150 150 LINT_DEFS_32 =
151 151 LINT_DEFS_64 = -m64
152 152 LINT_DEFS += $(LINT_DEFS_$(CLASS))
153 153
154 154 #
155 155 # The following must be defined for all implementations:
156 156 #
157 157 # MODSTUBS: Module stubs source file.
158 158 #
159 159 MODSTUBS = $(UTSBASE)/sparc/ml/modstubs.s
160 160
161 161 #
162 162 # Define the actual specific platforms - obviously none.
163 163 #
164 164 MACHINE_DEFS =
165 165
166 166 #
167 167 # Debugging level
168 168 #
169 169 # Special knowledge of which special debugging options effect which
170 170 # file is used to optimize the build if these flags are changed.
171 171 #
172 172 # XXX: The above could possibly be done for more flags and files, but
173 173 # is left as an experiment to the interested reader. Be forewarned,
174 174 # that excessive use could lead to maintenance difficulties.
175 175 #
176 176 DEBUG_DEFS_OBJ32 =
177 177 DEBUG_DEFS_DBG32 = -DDEBUG
178 178 DEBUG_DEFS_OBJ64 =
179 179 DEBUG_DEFS_DBG64 = -DDEBUG
180 180 DEBUG_DEFS = $(DEBUG_DEFS_$(BUILD_TYPE))
181 181
182 182 DEBUG_COND_OBJ32 = $(POUND_SIGN)
183 183 DEBUG_COND_DBG32 =
184 184 DEBUG_COND_OBJ64 = $(POUND_SIGN)
185 185 DEBUG_COND_DBG64 =
186 186 IF_DEBUG_OBJ = $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
187 187
188 188 $(IF_DEBUG_OBJ)syscall.o := DEBUG_DEFS += -DSYSCALLTRACE
189 189 $(IF_DEBUG_OBJ)clock.o := DEBUG_DEFS += -DKSLICE=1
190 190
191 191 # Comment these out if you don't want dispatcher lock statistics.
192 192
193 193 # $(IF_DEBUG_OBJ)disp_lock.o := DEBUG_DEFS += -DDISP_LOCK_STATS
194 194
195 195 #
196 196 # Collect the preprocessor definitions to be associated with *all*
197 197 # files.
198 198 #
199 199 ALL_DEFS = $(MACHINE_DEFS) $(DEBUG_DEFS) $(OPTION_DEFS)
200 200 #
201 201 #
202 202 # The kernels modules which are "implementation architecture"
203 203 # specific for this machine are enumerated below. Note that most
204 204 # of these modules must exist (in one form or another) for each
205 205 # architecture.
206 206 #
207 207 # Common Drivers (usually pseudo drivers) (/kernel/drv):
208 208 #
209 209 DRV_KMODS += aggr arp audio bl blkdev bofi clone cn conskbd consms cpuid
210 210 DRV_KMODS += crypto cryptoadm devinfo dump
211 211 DRV_KMODS += dtrace fasttrap fbt lockstat profile sdt systrace dcpc
212 212 DRV_KMODS += fssnap icmp icmp6 ip ip6 ipnet ipsecah
213 213 DRV_KMODS += ipsecesp iptun iwscn keysock kmdb kstat ksyms llc1
214 214 DRV_KMODS += lofi
215 215 DRV_KMODS += log logindmux kssl mm nca physmem pm poll pool
216 216 DRV_KMODS += pseudo ptc ptm pts ptsl ramdisk random rsm rts sad
217 217 DRV_KMODS += simnet softmac sppp sppptun sy sysevent sysmsg
218 218 DRV_KMODS += spdsock
219 219 DRV_KMODS += tcp tcp6 tl tnf ttymux udp udp6 wc winlock zcons
220 220 DRV_KMODS += ippctl
221 221 DRV_KMODS += dld
222 222 DRV_KMODS += ipd
223 223 DRV_KMODS += ipf
224 224 DRV_KMODS += rpcib
225 225 DRV_KMODS += dlpistub
226 226 DRV_KMODS += vnic
227 227 DRV_KMODS += xge
228 228 DRV_KMODS += rds
229 229 DRV_KMODS += rdsv3
230 230 DRV_KMODS += chxge
231 231 DRV_KMODS += smbsrv
232 232 DRV_KMODS += vscan
233 233 DRV_KMODS += nsmb
234 234 DRV_KMODS += fm
235 235 DRV_KMODS += nulldriver
236 236 DRV_KMODS += bridge trill
237 237 DRV_KMODS += bpf
238 238 DRV_KMODS += dca
239 239
240 240 #
241 241 # Hardware Drivers in common space
242 242 #
243 243
244 244 DRV_KMODS += afe
245 245 DRV_KMODS += audio1575
246 246 DRV_KMODS += audioens
247 247 DRV_KMODS += audiols
248 248 DRV_KMODS += audiop16x
249 249 DRV_KMODS += audiopci
250 250 DRV_KMODS += audiots
251 251 DRV_KMODS += bnxe
252 252 DRV_KMODS += e1000g
253 253 DRV_KMODS += efe
254 254 DRV_KMODS += hxge
255 255 DRV_KMODS += mxfe
256 256 DRV_KMODS += rge
257 257 DRV_KMODS += rtls
258 258 DRV_KMODS += sfe
259 259 DRV_KMODS += aac
260 260 DRV_KMODS += igb
261 261 DRV_KMODS += ixgbe
262 262 DRV_KMODS += vr
263 263 DRV_KMODS += mr_sas
264 264 DRV_KMODS += yge
265 265
266 266 #
267 267 # Machine Specific Driver Modules (/kernel/drv):
268 268 #
269 269 DRV_KMODS += audiocs
↓ open down ↓ |
269 lines elided |
↑ open up ↑ |
270 270 DRV_KMODS += bge dmfe eri fas hme qfe
271 271 DRV_KMODS += openeepr options sd ses st
272 272 DRV_KMODS += ssd
273 273 DRV_KMODS += ecpp
274 274 DRV_KMODS += hid hubd ehci ohci uhci usb_mid usb_ia scsa2usb usbprn ugen
275 275 DRV_KMODS += usbser usbsacm usbsksp usbsprl
276 276 DRV_KMODS += usb_as usb_ac
277 277 DRV_KMODS += usbskel
278 278 DRV_KMODS += usbvc
279 279 DRV_KMODS += usbftdi
280 -DRV_KMODS += wusb_df hwahc hwarc wusb_ca
281 280 DRV_KMODS += usbecm
282 281 DRV_KMODS += hci1394 av1394 scsa1394 dcam1394
283 282 DRV_KMODS += sbp2
284 283 DRV_KMODS += ib ibp eibnx eoib rdsib sdp iser daplt hermon tavor sol_ucma sol_uverbs
285 284 DRV_KMODS += sol_umad
286 285 DRV_KMODS += pci_pci pcieb pcieb_bcm
287 286 DRV_KMODS += i8042 kb8042 mouse8042
288 287 DRV_KMODS += fcode
289 288 DRV_KMODS += mpt_sas
290 289 DRV_KMODS += socal
291 290 DRV_KMODS += sgen
292 291 DRV_KMODS += myri10ge
293 292 DRV_KMODS += smp
294 293 DRV_KMODS += dad
295 294 DRV_KMODS += scsi_vhci
296 295 DRV_KMODS += fcp
297 296 DRV_KMODS += fcip
298 297 DRV_KMODS += fcsm
299 298 DRV_KMODS += fp
300 299 DRV_KMODS += qlc
301 300 DRV_KMODS += qlge
302 301 DRV_KMODS += stmf
303 302 DRV_KMODS += stmf_sbd
304 303 DRV_KMODS += fct
305 304 DRV_KMODS += fcoe
306 305 DRV_KMODS += fcoet
307 306 DRV_KMODS += fcoei
308 307 DRV_KMODS += qlt
309 308 DRV_KMODS += iscsit
310 309 DRV_KMODS += pppt
311 310 DRV_KMODS += ncall nsctl sdbc nskern sv
312 311 DRV_KMODS += ii rdc rdcsrv rdcstub
313 312 DRV_KMODS += iscsi
314 313 DRV_KMODS += emlxs
315 314 DRV_KMODS += oce
316 315 DRV_KMODS += srpt
317 316 DRV_KMODS += pmcs
318 317 DRV_KMODS += pmcs8001fw
319 318
320 319 #
321 320 # I/O framework test drivers
322 321 #
323 322 DRV_KMODS += pshot
324 323 DRV_KMODS += gen_drv
325 324 DRV_KMODS += tvhci tphci tclient
326 325 DRV_KMODS += emul64
327 326
328 327 #
329 328 # PCMCIA specific module(s)
330 329 #
331 330 DRV_KMODS += pcs
332 331 MISC_KMODS += busra cardbus dada pcmcia
333 332 DRV_KMODS += pcic
334 333
335 334 # Add lvm
336 335 #
337 336 DRV_KMODS += md
338 337 MISC_KMODS += md_mirror md_stripe md_hotspares md_raid md_trans md_notify
339 338 MISC_KMODS += md_sp
340 339
341 340 #
342 341 # Exec Class Modules (/kernel/exec):
343 342 #
344 343 EXEC_KMODS += aoutexec elfexec intpexec shbinexec javaexec
345 344
346 345 #
347 346 # Scheduling Class Modules (/kernel/sched):
348 347 #
349 348 SCHED_KMODS += RT TS RT_DPTBL TS_DPTBL IA FSS FX FX_DPTBL SDC
350 349
351 350 #
352 351 # File System Modules (/kernel/fs):
353 352 #
354 353 FS_KMODS += dev devfs fdfs fifofs hsfs lofs namefs nfs pcfs tmpfs zfs
355 354 FS_KMODS += zut specfs udfs ufs autofs cachefs procfs sockfs mntfs
356 355 FS_KMODS += ctfs objfs sharefs dcfs smbfs
357 356
358 357 #
359 358 # Streams Modules (/kernel/strmod):
360 359 #
361 360 STRMOD_KMODS += bufmod connld dedump ldterm ms pckt pfmod
362 361 STRMOD_KMODS += pipemod ptem redirmod rpcmod rlmod telmod timod
363 362 STRMOD_KMODS += spppasyn spppcomp
364 363 STRMOD_KMODS += tirdwr ttcompat
365 364 STRMOD_KMODS += usbkbm usbms usbwcm usb_ah
366 365 STRMOD_KMODS += drcompat
367 366 STRMOD_KMODS += cryptmod
368 367 STRMOD_KMODS += vuid3ps2
369 368
370 369 #
371 370 # 'System' Modules (/kernel/sys):
372 371 #
373 372 SYS_KMODS += c2audit
374 373 SYS_KMODS += exacctsys
375 374 SYS_KMODS += inst_sync kaio msgsys semsys shmsys sysacct pipe
376 375 SYS_KMODS += doorfs pset acctctl portfs
377 376
378 377 #
379 378 # 'User' Modules (/kernel/misc):
380 379 #
381 380 MISC_KMODS += ac97
382 381 MISC_KMODS += bignum
383 382 MISC_KMODS += consconfig gld ipc nfs_dlboot nfssrv scsi
384 383 MISC_KMODS += strplumb swapgeneric tlimod
385 384 MISC_KMODS += rpcsec rpcsec_gss kgssapi kmech_dummy
386 385 MISC_KMODS += kmech_krb5
387 386 MISC_KMODS += fssnap_if
388 387 MISC_KMODS += hidparser kbtrans usba usba10 usbs49_fw
389 388 MISC_KMODS += s1394
390 389 MISC_KMODS += hpcsvc pcihp
391 390 MISC_KMODS += rsmops
392 391 MISC_KMODS += kcf
393 392 MISC_KMODS += ksocket
394 393 MISC_KMODS += ibcm
395 394 MISC_KMODS += ibdm
396 395 MISC_KMODS += ibdma
397 396 MISC_KMODS += ibmf
398 397 MISC_KMODS += ibtl
399 398 MISC_KMODS += sol_ofs
400 399 MISC_KMODS += idm
401 400 MISC_KMODS += idmap
402 401 MISC_KMODS += hook
403 402 MISC_KMODS += neti
404 403 MISC_KMODS += ctf
405 404 MISC_KMODS += mac dls
406 405 MISC_KMODS += cmlb
407 406 MISC_KMODS += tem
408 407 MISC_KMODS += pcicfg fcodem fcpci
409 408 MISC_KMODS += scsi_vhci_f_sym scsi_vhci_f_tpgs scsi_vhci_f_asym_sun
410 409 MISC_KMODS += scsi_vhci_f_sym_hds
↓ open down ↓ |
120 lines elided |
↑ open up ↑ |
411 410 MISC_KMODS += scsi_vhci_f_tape scsi_vhci_f_tpgs_tape
412 411 MISC_KMODS += fctl
413 412 MISC_KMODS += emlxs_fw
414 413 MISC_KMODS += qlc_fw_2200
415 414 MISC_KMODS += qlc_fw_2300
416 415 MISC_KMODS += qlc_fw_2400
417 416 MISC_KMODS += qlc_fw_2500
418 417 MISC_KMODS += qlc_fw_6322
419 418 MISC_KMODS += qlc_fw_8100
420 419 MISC_KMODS += spuni
421 -MISC_KMODS += hwa1480_fw uwba
422 420 MISC_KMODS += mii
423 421
424 422 MISC_KMODS += klmmod klmops
425 423
426 424 #
427 425 # Software Cryptographic Providers (/kernel/crypto):
428 426 #
429 427 CRYPTO_KMODS += aes
430 428 CRYPTO_KMODS += arcfour
431 429 CRYPTO_KMODS += blowfish
432 430 CRYPTO_KMODS += des
433 431 CRYPTO_KMODS += md4
434 432 CRYPTO_KMODS += md5
435 433 CRYPTO_KMODS += ecc
436 434 CRYPTO_KMODS += rsa
437 435 CRYPTO_KMODS += sha1
438 436 CRYPTO_KMODS += sha2
439 437 CRYPTO_KMODS += swrand
440 438
441 439 #
442 440 # IP Policy Modules (/kernel/ipp):
443 441 #
444 442 IPP_KMODS += dlcosmk
445 443 IPP_KMODS += flowacct
446 444 IPP_KMODS += ipgpc
447 445 IPP_KMODS += dscpmk
448 446 IPP_KMODS += tokenmt
449 447 IPP_KMODS += tswtclmt
450 448
451 449 #
452 450 # 'Dacf' modules (/kernel/dacf)
453 451 DACF_KMODS += consconfig_dacf
454 452
455 453 #
456 454 # SVVS Testing Modules (/kernel/strmod):
457 455 #
458 456 # These are streams and driver modules which are not to be
459 457 # delivered with a released system. However, during development
460 458 # it is convenient to build and install the SVVS kernel modules.
461 459 #
462 460 SVVS_KMODS += lmodb lmode lmodr lmodt svvslo tidg tivc tmux
463 461
464 462 #
465 463 # Modules eXcluded from the product:
466 464 #
467 465 XMODS +=
468 466
469 467 #
470 468 # 'Dacf' Modules (/kernel/dacf):
471 469 #
472 470 DACF_KMODS += net_dacf
473 471
474 472 #
475 473 # MAC-Type Plugin Modules (/kernel/mac)
476 474 #
477 475 MAC_KMODS += mac_6to4
478 476 MAC_KMODS += mac_ether
479 477 MAC_KMODS += mac_ipv4
480 478 MAC_KMODS += mac_ipv6
481 479 MAC_KMODS += mac_wifi
482 480 MAC_KMODS += mac_ib
483 481
484 482 #
485 483 # socketmod (kernel/socketmod)
486 484 #
487 485 SOCKET_KMODS += sockpfp
488 486 SOCKET_KMODS += socksctp
489 487 SOCKET_KMODS += socksdp
490 488 SOCKET_KMODS += sockrds
491 489 SOCKET_KMODS += ksslf
492 490
493 491 #
494 492 # kiconv modules (/kernel/kiconv):
495 493 #
496 494 KICONV_KMODS += kiconv_emea kiconv_ja kiconv_ko kiconv_sc kiconv_tc
497 495
498 496 #
499 497 # Ensure that the variable member of the cpu_t (cpu_m) is defined
500 498 # for the lint builds so as not to cause lint errors during the
501 499 # global cross check.
502 500 #
503 501 $(LINTFLAGSUPPRESS)LINTFLAGS += -D_MACHDEP -I$(UTSBASE)/sun4 \
504 502 -I$(UTSBASE)/sun4u -I$(UTSBASE)/sfmmu
↓ open down ↓ |
73 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX