xref: /titanic_41/usr/src/uts/i86pc/Makefile.i86pc (revision 92d53ff13bfcc9a9e4f4b6e672ed3105597039fa)
1*92d53ff1SJosef 'Jeff' Sipek#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
54ab75253Smrj# Common Development and Distribution License (the "License").
64ab75253Smrj# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
214ab75253Smrj
227c478bd9Sstevel@tonic-gate#
23*92d53ff1SJosef 'Jeff' Sipek# uts/i86pc/Makefile.i86pc
247c478bd9Sstevel@tonic-gate#
25*92d53ff1SJosef 'Jeff' Sipek# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
26*92d53ff1SJosef 'Jeff' Sipek# Copyright (c) 2013 Andrew Stormont.  All rights reserved.
27*92d53ff1SJosef 'Jeff' Sipek#
28*92d53ff1SJosef 'Jeff' Sipek#
29*92d53ff1SJosef 'Jeff' Sipek#	This makefile contains the common definitions for the i86pc unix
30*92d53ff1SJosef 'Jeff' Sipek#	and all i86pc implementation architecture dependent modules.
317c478bd9Sstevel@tonic-gate#
327c478bd9Sstevel@tonic-gate
33*92d53ff1SJosef 'Jeff' Sipek#
34*92d53ff1SJosef 'Jeff' Sipek#	Machine type (implementation architecture):
35*92d53ff1SJosef 'Jeff' Sipek#
36*92d53ff1SJosef 'Jeff' SipekPLATFORM	 = i86pc
377c478bd9Sstevel@tonic-gate
38*92d53ff1SJosef 'Jeff' Sipek#
39*92d53ff1SJosef 'Jeff' Sipek#	uname -m value
40*92d53ff1SJosef 'Jeff' Sipek#
41*92d53ff1SJosef 'Jeff' SipekUNAME_M		= $(PLATFORM)
42*92d53ff1SJosef 'Jeff' Sipek
43*92d53ff1SJosef 'Jeff' Sipek#
44*92d53ff1SJosef 'Jeff' Sipek# Definitions for the platform-specific /platform directories.
45*92d53ff1SJosef 'Jeff' Sipek#
46*92d53ff1SJosef 'Jeff' Sipek# IMPLEMENTATIONS is used to designate i86pc machines which have
47*92d53ff1SJosef 'Jeff' Sipek# platform specific modules.  All code specific to a given implementation
48*92d53ff1SJosef 'Jeff' Sipek# resides in the appropriately named subdirectory.   This requires
49*92d53ff1SJosef 'Jeff' Sipek# these platforms to have their own Makefiles to define ROOT_PLAT_DIRS,
50*92d53ff1SJosef 'Jeff' Sipek# USR_PLAT_DIRS, etc.
51*92d53ff1SJosef 'Jeff' Sipek#
52*92d53ff1SJosef 'Jeff' SipekIMPLEMENTATIONS	= i86hvm
53*92d53ff1SJosef 'Jeff' Sipek
54*92d53ff1SJosef 'Jeff' Sipek#
55*92d53ff1SJosef 'Jeff' Sipek#	Everybody needs to know how to build modstubs.o and to locate unix.o
56*92d53ff1SJosef 'Jeff' Sipek#
57*92d53ff1SJosef 'Jeff' SipekUNIX_DIR	 = $(UTSBASE)/$(PLATFORM)/unix
58*92d53ff1SJosef 'Jeff' SipekGENLIB_DIR	 = $(UTSBASE)/intel/genunix
59*92d53ff1SJosef 'Jeff' SipekMODSTUBS_DIR	 = $(UNIX_DIR)
60*92d53ff1SJosef 'Jeff' SipekDSF_DIR		 = $(UTSBASE)/$(PLATFORM)/genassym
61*92d53ff1SJosef 'Jeff' SipekLINTS_DIR	 = $(OBJS_DIR)
62*92d53ff1SJosef 'Jeff' SipekLINT_LIB_DIR	 = $(UTSBASE)/$(PLATFORM)/lint-libs/$(OBJS_DIR)
63*92d53ff1SJosef 'Jeff' SipekGEN_LINT_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
64*92d53ff1SJosef 'Jeff' Sipek
65*92d53ff1SJosef 'Jeff' SipekLINT32_DIRS	 = $(LINT32_BUILDS:%=$(UTSBASE)/$(PLATFORM)/lint-libs/%)
66*92d53ff1SJosef 'Jeff' SipekLINT32_FILES	 = $(LINT32_DIRS:%=%/llib-l$(MODULE).ln)
67*92d53ff1SJosef 'Jeff' Sipek
68*92d53ff1SJosef 'Jeff' SipekDTRACESTUBS_O	 = $(OBJS_DIR)/dtracestubs.o
69*92d53ff1SJosef 'Jeff' SipekDTRACESTUBS	 = $(OBJS_DIR)/libdtracestubs.so
70*92d53ff1SJosef 'Jeff' Sipek
71*92d53ff1SJosef 'Jeff' SipekSYM_MOD		= $(OBJS_DIR)/unix.sym
72*92d53ff1SJosef 'Jeff' Sipek
73*92d53ff1SJosef 'Jeff' SipekUNIX_O		 = $(UNIX_DIR)/$(OBJS_DIR)/unix.o
74*92d53ff1SJosef 'Jeff' SipekMODSTUBS_O	 = $(MODSTUBS_DIR)/$(OBJS_DIR)/modstubs.o
75*92d53ff1SJosef 'Jeff' SipekGENLIB	 	 = $(GENLIB_DIR)/$(OBJS_DIR)/libgenunix.so
76*92d53ff1SJosef 'Jeff' SipekLINT_LIB	 = $(LINT_LIB_DIR)/llib-lunix.ln
77*92d53ff1SJosef 'Jeff' SipekDBOOT_LINT_LIB	 = $(LINT_LIB_DIR)/llib-ldboot.ln
78*92d53ff1SJosef 'Jeff' SipekGEN_LINT_LIB	 = $(GEN_LINT_LIB_DIR)/llib-lgenunix.ln
79*92d53ff1SJosef 'Jeff' Sipek
80*92d53ff1SJosef 'Jeff' Sipek#
81*92d53ff1SJosef 'Jeff' Sipek#	Include the makefiles which define build rule templates, the
82*92d53ff1SJosef 'Jeff' Sipek#	collection of files per module, and a few specific flags. Note
83*92d53ff1SJosef 'Jeff' Sipek#	that order is significant, just as with an include path. The
84*92d53ff1SJosef 'Jeff' Sipek#	first build rule template which matches the files name will be
85*92d53ff1SJosef 'Jeff' Sipek#	used. By including these in order from most machine dependent
86*92d53ff1SJosef 'Jeff' Sipek#	to most machine independent, we allow a machine dependent file
87*92d53ff1SJosef 'Jeff' Sipek#	to be used in preference over a machine independent version
88*92d53ff1SJosef 'Jeff' Sipek#	(Such as a machine specific optimization, which preserves the
89*92d53ff1SJosef 'Jeff' Sipek#	interfaces.)
90*92d53ff1SJosef 'Jeff' Sipek#
91*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/$(PLATFORM)/Makefile.files
92*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/intel/Makefile.files
93*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/common/Makefile.files
94*92d53ff1SJosef 'Jeff' Sipek
95*92d53ff1SJosef 'Jeff' Sipek#
96*92d53ff1SJosef 'Jeff' Sipek#	Include machine independent rules. Note that this does not imply
97*92d53ff1SJosef 'Jeff' Sipek#	that the resulting module from rules in Makefile.uts is	machine
98*92d53ff1SJosef 'Jeff' Sipek#	independent. Only that the build rules are machine independent.
99*92d53ff1SJosef 'Jeff' Sipek#
100*92d53ff1SJosef 'Jeff' Sipekinclude $(UTSBASE)/Makefile.uts
101*92d53ff1SJosef 'Jeff' Sipek
102*92d53ff1SJosef 'Jeff' Sipek#
103*92d53ff1SJosef 'Jeff' Sipek#	Define supported builds
104*92d53ff1SJosef 'Jeff' Sipek#
105*92d53ff1SJosef 'Jeff' SipekDEF_BUILDS		= $(DEF_BUILDS64) $(DEF_BUILDS32)
106*92d53ff1SJosef 'Jeff' SipekALL_BUILDS		= $(ALL_BUILDS64) $(ALL_BUILDS32)
107*92d53ff1SJosef 'Jeff' Sipek
108*92d53ff1SJosef 'Jeff' Sipek#
109*92d53ff1SJosef 'Jeff' Sipek#	x86 or amd64 inline templates
110*92d53ff1SJosef 'Jeff' Sipek#
111*92d53ff1SJosef 'Jeff' SipekINLINES_32		= $(UTSBASE)/intel/ia32/ml/ia32.il \
112*92d53ff1SJosef 'Jeff' Sipek			  $(UTSBASE)/$(PLATFORM)/ml/ia32.il
113*92d53ff1SJosef 'Jeff' SipekINLINES_64		= $(UTSBASE)/intel/amd64/ml/amd64.il \
114*92d53ff1SJosef 'Jeff' Sipek			  $(UTSBASE)/$(PLATFORM)/ml/amd64.il
115*92d53ff1SJosef 'Jeff' SipekINLINES			+= $(INLINES_$(CLASS))
116*92d53ff1SJosef 'Jeff' Sipek
117*92d53ff1SJosef 'Jeff' Sipek#
118*92d53ff1SJosef 'Jeff' Sipek#	kernel-specific optimizations; override default in Makefile.master
119*92d53ff1SJosef 'Jeff' Sipek#
120*92d53ff1SJosef 'Jeff' Sipek
121*92d53ff1SJosef 'Jeff' SipekCFLAGS_XARCH_32		= $(i386_CFLAGS)
122*92d53ff1SJosef 'Jeff' SipekCFLAGS_XARCH_64		= $(amd64_CFLAGS)
123*92d53ff1SJosef 'Jeff' SipekCFLAGS_XARCH		= $(CFLAGS_XARCH_$(CLASS))
124*92d53ff1SJosef 'Jeff' Sipek
125*92d53ff1SJosef 'Jeff' SipekCOPTFLAG_32		= $(COPTFLAG)
126*92d53ff1SJosef 'Jeff' SipekCOPTFLAG_64		= $(COPTFLAG64)
127*92d53ff1SJosef 'Jeff' SipekCOPTIMIZE		= $(COPTFLAG_$(CLASS))
128*92d53ff1SJosef 'Jeff' Sipek
129*92d53ff1SJosef 'Jeff' SipekCFLAGS			= $(CFLAGS_XARCH)
130*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(COPTIMIZE)
131*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(INLINES) -D_ASM_INLINES
132*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(CCMODE)
133*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(SPACEFLAG)
134*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(CCUNBOUND)
135*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= $(CFLAGS_uts)
136*92d53ff1SJosef 'Jeff' SipekCFLAGS			+= -xstrconst
137*92d53ff1SJosef 'Jeff' Sipek
138*92d53ff1SJosef 'Jeff' SipekASFLAGS_XARCH_32	= $(i386_ASFLAGS)
139*92d53ff1SJosef 'Jeff' SipekASFLAGS_XARCH_64	= $(amd64_ASFLAGS)
140*92d53ff1SJosef 'Jeff' SipekASFLAGS_XARCH		= $(ASFLAGS_XARCH_$(CLASS))
141*92d53ff1SJosef 'Jeff' Sipek
142*92d53ff1SJosef 'Jeff' SipekASFLAGS			+= $(ASFLAGS_XARCH)
143*92d53ff1SJosef 'Jeff' Sipek
144*92d53ff1SJosef 'Jeff' SipekAS_INC_PATH		+= -I$(DSF_DIR)/$(OBJS_DIR)
145*92d53ff1SJosef 'Jeff' Sipek
146*92d53ff1SJosef 'Jeff' Sipek#
147*92d53ff1SJosef 'Jeff' Sipek#	The following must be defined for all implementations:
148*92d53ff1SJosef 'Jeff' Sipek#
149*92d53ff1SJosef 'Jeff' Sipek#	MAPFILE:	ld mapfile for the build of kernel/unix.
150*92d53ff1SJosef 'Jeff' Sipek#	MODSTUBS:	Module stubs source file.
151*92d53ff1SJosef 'Jeff' Sipek#	GENASSYM_SRC:	genassym.c
152*92d53ff1SJosef 'Jeff' Sipek#
153*92d53ff1SJosef 'Jeff' SipekMAPFILE		 = $(UTSBASE)/$(PLATFORM)/conf/Mapfile
154*92d53ff1SJosef 'Jeff' SipekMODSTUBS	 = $(UTSBASE)/intel/ia32/ml/modstubs.s
155*92d53ff1SJosef 'Jeff' SipekGENASSYM_SRC	 = $(UTSBASE)/$(PLATFORM)/ml/genassym.c
156*92d53ff1SJosef 'Jeff' SipekOFFSETS_SRC	 = $(UTSBASE)/$(PLATFORM)/ml/offsets.in
157*92d53ff1SJosef 'Jeff' SipekPLATFORM_OFFSETS_32	= $(UTSBASE)/$(PLATFORM)/ml/mach_offsets.in
158*92d53ff1SJosef 'Jeff' SipekPLATFORM_OFFSETS_64	= $(UTSBASE)/intel/amd64/ml/mach_offsets.in
159*92d53ff1SJosef 'Jeff' SipekPLATFORM_OFFSETS_SRC	= $(PLATFORM_OFFSETS_$(CLASS))
160*92d53ff1SJosef 'Jeff' SipekKDI_OFFSETS_SRC	 = $(UTSBASE)/intel/kdi/kdi_offsets.in
161*92d53ff1SJosef 'Jeff' Sipek
162*92d53ff1SJosef 'Jeff' Sipek#
163*92d53ff1SJosef 'Jeff' Sipek#	Define the actual specific platforms
164*92d53ff1SJosef 'Jeff' Sipek#
165*92d53ff1SJosef 'Jeff' SipekMACHINE_DEFS	 = -D$(PLATFORM) -D_MACHDEP
166*92d53ff1SJosef 'Jeff' Sipek
167*92d53ff1SJosef 'Jeff' Sipek#
168*92d53ff1SJosef 'Jeff' Sipek#	Software workarounds for hardware "features"
169*92d53ff1SJosef 'Jeff' Sipek#
170*92d53ff1SJosef 'Jeff' Sipek
171*92d53ff1SJosef 'Jeff' Sipekinclude	$(UTSBASE)/$(PLATFORM)/Makefile.workarounds
172*92d53ff1SJosef 'Jeff' Sipek
173*92d53ff1SJosef 'Jeff' Sipek#
174*92d53ff1SJosef 'Jeff' Sipek#	Debugging level
175*92d53ff1SJosef 'Jeff' Sipek#
176*92d53ff1SJosef 'Jeff' Sipek#	Special knowledge of which special debugging options effect which
177*92d53ff1SJosef 'Jeff' Sipek#	file is used to optimize the build if these flags are changed.
178*92d53ff1SJosef 'Jeff' Sipek#
179*92d53ff1SJosef 'Jeff' Sipek#	XXX: The above could possibly be done for more flags and files, but
180*92d53ff1SJosef 'Jeff' Sipek#	     is left as an experiment to the interested reader. Be forewarned,
181*92d53ff1SJosef 'Jeff' Sipek#	     that excessive use could lead to maintenance difficulties.
182*92d53ff1SJosef 'Jeff' Sipek#
183*92d53ff1SJosef 'Jeff' SipekDEBUG_DEFS_OBJ32	=
184*92d53ff1SJosef 'Jeff' SipekDEBUG_DEFS_DBG32	= -DDEBUG
185*92d53ff1SJosef 'Jeff' SipekDEBUG_DEFS_OBJ64	=
186*92d53ff1SJosef 'Jeff' SipekDEBUG_DEFS_DBG64	= -DDEBUG
187*92d53ff1SJosef 'Jeff' SipekDEBUG_DEFS		= $(DEBUG_DEFS_$(BUILD_TYPE))
188*92d53ff1SJosef 'Jeff' Sipek
189*92d53ff1SJosef 'Jeff' SipekDEBUG_COND_OBJ32	= $(POUND_SIGN)
190*92d53ff1SJosef 'Jeff' SipekDEBUG_COND_DBG32	=
191*92d53ff1SJosef 'Jeff' SipekDEBUG_COND_OBJ64	= $(POUND_SIGN)
192*92d53ff1SJosef 'Jeff' SipekDEBUG_COND_DBG64	=
193*92d53ff1SJosef 'Jeff' SipekIF_DEBUG_OBJ		= $(DEBUG_COND_$(BUILD_TYPE))$(OBJS_DIR)/
194*92d53ff1SJosef 'Jeff' Sipek
195*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)trap.o		:= DEBUG_DEFS += -DTRAPDEBUG -DTRAPTRACE
196*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)syscall_asm.o	:= DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
197*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)syscall_asm_amd64.o := DEBUG_DEFS += -DSYSCALLTRACE -DTRAPTRACE
198*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)fast_trap_asm.o	:= DEBUG_DEFS += -DTRAPTRACE
199*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)interrupt.o	:= DEBUG_DEFS += -DTRAPTRACE
200*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)intr.o		:= DEBUG_DEFS += -DTRAPTRACE
201*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)locore.o		:= DEBUG_DEFS += -DTRAPTRACE
202*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)mp_startup.o	:= DEBUG_DEFS += -DTRAPTRACE
203*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)machdep.o	:= DEBUG_DEFS += -DTRAPTRACE
204*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)exception.o	:= DEBUG_DEFS += -DTRAPTRACE
205*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)x_call.o		:= DEBUG_DEFS += -DTRAPTRACE
206*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)mp_call.o	:= DEBUG_DEFS += -DTRAPTRACE
207*92d53ff1SJosef 'Jeff' Sipek$(IF_DEBUG_OBJ)cbe.o		:= DEBUG_DEFS += -DTRAPTRACE
208*92d53ff1SJosef 'Jeff' Sipek
209*92d53ff1SJosef 'Jeff' Sipek#
210*92d53ff1SJosef 'Jeff' Sipek#	Collect the preprocessor definitions to be associated with *all*
211*92d53ff1SJosef 'Jeff' Sipek#	files.
212*92d53ff1SJosef 'Jeff' Sipek#
213*92d53ff1SJosef 'Jeff' SipekALL_DEFS	 = $(MACHINE_DEFS) $(WORKAROUND_DEFS) $(DEBUG_DEFS) \
214*92d53ff1SJosef 'Jeff' Sipek		   $(OPTION_DEFS)
215*92d53ff1SJosef 'Jeff' SipekGENASSYM_DEFS	 = $(MACHINE_DEFS) $(OPTION_DEFS) \
216*92d53ff1SJosef 'Jeff' Sipek			-_gcc=-fno-eliminate-unused-debug-symbols \
217*92d53ff1SJosef 'Jeff' Sipek			-_gcc=-fno-eliminate-unused-debug-types
218*92d53ff1SJosef 'Jeff' Sipek
219*92d53ff1SJosef 'Jeff' Sipek#
220*92d53ff1SJosef 'Jeff' Sipek# ----- TRANSITIONAL SECTION --------------------------------------------------
221*92d53ff1SJosef 'Jeff' Sipek#
222*92d53ff1SJosef 'Jeff' Sipek
223*92d53ff1SJosef 'Jeff' Sipek#
224*92d53ff1SJosef 'Jeff' Sipek#	Not everything which *should* be a module is a module yet. The
225*92d53ff1SJosef 'Jeff' Sipek#	following is a list of such objects which are currently part of
226*92d53ff1SJosef 'Jeff' Sipek#	the base kernel but should soon become kmods.
227*92d53ff1SJosef 'Jeff' Sipek#
228*92d53ff1SJosef 'Jeff' Sipek#	XXX: $(KMACCT_OBJS) is neither in the MT kernel nor was it ever
229*92d53ff1SJosef 'Jeff' Sipek#	     made into a module. If it is made MT safe before being made
230*92d53ff1SJosef 'Jeff' Sipek#	     into a module, it should be added to this list. It was in
231*92d53ff1SJosef 'Jeff' Sipek#	     this list pre ON-4.0.
232*92d53ff1SJosef 'Jeff' Sipek#
233*92d53ff1SJosef 'Jeff' Sipek#
234*92d53ff1SJosef 'Jeff' SipekMACH_NOT_YET_KMODS	= $(AUTOCONF_OBJS)
235*92d53ff1SJosef 'Jeff' Sipek
236*92d53ff1SJosef 'Jeff' Sipek#
237*92d53ff1SJosef 'Jeff' Sipek# ----- END OF TRANSITIONAL SECTION -------------------------------------------
238*92d53ff1SJosef 'Jeff' Sipek#
239*92d53ff1SJosef 'Jeff' Sipek
240*92d53ff1SJosef 'Jeff' Sipek#
241*92d53ff1SJosef 'Jeff' Sipek#	The kernels modules which are "implementation architecture"
242*92d53ff1SJosef 'Jeff' Sipek#	specific for this machine are enumerated below. Note that most
243*92d53ff1SJosef 'Jeff' Sipek#	of these modules must exist (in one form or another) for each
244*92d53ff1SJosef 'Jeff' Sipek#	architecture.
245*92d53ff1SJosef 'Jeff' Sipek#
246*92d53ff1SJosef 'Jeff' Sipek#	Machine Specific Driver Modules (/kernel/drv)
247*92d53ff1SJosef 'Jeff' Sipek#	DRV_KMODS are built both 32-bit and 64-bit
248*92d53ff1SJosef 'Jeff' Sipek#	DRV_KMODS_32 are built only 32-bit
249*92d53ff1SJosef 'Jeff' Sipek#	DRV_KMODS_64 are built only 64-bit
250*92d53ff1SJosef 'Jeff' Sipek#
251*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= rootnex
252*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= isa
253*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= pcplusmp
254*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= apix
255*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= cpc
256*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= pci
257*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= npe
258*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= pci-ide
259*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= xsvc
260*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= tzmon
261*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= acpi_drv
262*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= acpinex
263*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= amd_iommu
264*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= dr
265*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= ioat
266*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= fipe
267*92d53ff1SJosef 'Jeff' Sipek
268*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= cpudrv
269*92d53ff1SJosef 'Jeff' Sipek
270*92d53ff1SJosef 'Jeff' Sipek
271*92d53ff1SJosef 'Jeff' Sipek#
272*92d53ff1SJosef 'Jeff' Sipek# Platform Power Modules
273*92d53ff1SJosef 'Jeff' Sipek#
274*92d53ff1SJosef 'Jeff' SipekDRV_KMODS	+= ppm acpippm
275*92d53ff1SJosef 'Jeff' Sipek
276*92d53ff1SJosef 'Jeff' Sipek#
277*92d53ff1SJosef 'Jeff' Sipek#	CPU Modules
278*92d53ff1SJosef 'Jeff' Sipek#
279*92d53ff1SJosef 'Jeff' SipekCPU_KMODS	+= amd_opteron
280*92d53ff1SJosef 'Jeff' SipekCPU_KMODS	+= generic_cpu
281*92d53ff1SJosef 'Jeff' SipekCPU_KMODS	+= authenticamd
282*92d53ff1SJosef 'Jeff' SipekCPU_KMODS	+= genuineintel
283*92d53ff1SJosef 'Jeff' Sipek
284*92d53ff1SJosef 'Jeff' Sipek#
285*92d53ff1SJosef 'Jeff' Sipek#	Exec Class Modules (/kernel/exec):
286*92d53ff1SJosef 'Jeff' Sipek#
287*92d53ff1SJosef 'Jeff' SipekEXEC_KMODS	+=
288*92d53ff1SJosef 'Jeff' Sipek
289*92d53ff1SJosef 'Jeff' Sipek#
290*92d53ff1SJosef 'Jeff' Sipek#	Scheduling Class Modules (/kernel/sched):
291*92d53ff1SJosef 'Jeff' Sipek#
292*92d53ff1SJosef 'Jeff' SipekSCHED_KMODS	+=
293*92d53ff1SJosef 'Jeff' Sipek
294*92d53ff1SJosef 'Jeff' Sipek#
295*92d53ff1SJosef 'Jeff' Sipek#	File System Modules (/kernel/fs):
296*92d53ff1SJosef 'Jeff' Sipek#
297*92d53ff1SJosef 'Jeff' SipekFS_KMODS	+=
298*92d53ff1SJosef 'Jeff' Sipek
299*92d53ff1SJosef 'Jeff' Sipek#
300*92d53ff1SJosef 'Jeff' Sipek#	Streams Modules (/kernel/strmod):
301*92d53ff1SJosef 'Jeff' Sipek#
302*92d53ff1SJosef 'Jeff' SipekSTRMOD_KMODS	+=
303*92d53ff1SJosef 'Jeff' Sipek
304*92d53ff1SJosef 'Jeff' Sipek#
305*92d53ff1SJosef 'Jeff' Sipek#	'System' Modules (/kernel/sys):
306*92d53ff1SJosef 'Jeff' Sipek#
307*92d53ff1SJosef 'Jeff' SipekSYS_KMODS	+=
308*92d53ff1SJosef 'Jeff' Sipek
309*92d53ff1SJosef 'Jeff' Sipek#
310*92d53ff1SJosef 'Jeff' Sipek#	'Misc' Modules (/kernel/misc):
311*92d53ff1SJosef 'Jeff' Sipek#
312*92d53ff1SJosef 'Jeff' SipekMISC_KMODS	+= gfx_private pcie
313*92d53ff1SJosef 'Jeff' SipekMISC_KMODS	+= acpidev
314*92d53ff1SJosef 'Jeff' SipekMISC_KMODS	+= drmach_acpi
315*92d53ff1SJosef 'Jeff' Sipek
316*92d53ff1SJosef 'Jeff' Sipek#
317*92d53ff1SJosef 'Jeff' Sipek#	'Dacf' modules (/kernel/dacf)
318*92d53ff1SJosef 'Jeff' Sipek#
319*92d53ff1SJosef 'Jeff' SipekDACF_KMODS	+= consconfig_dacf
320*92d53ff1SJosef 'Jeff' Sipek
321*92d53ff1SJosef 'Jeff' Sipek#
322*92d53ff1SJosef 'Jeff' Sipek#	'Mach' Modules (/kernel/mach):
323*92d53ff1SJosef 'Jeff' Sipek#
324*92d53ff1SJosef 'Jeff' SipekMACH_KMODS     	+= uppc
325*92d53ff1SJosef 'Jeff' Sipek
326*92d53ff1SJosef 'Jeff' Sipek#
327*92d53ff1SJosef 'Jeff' Sipek#	CPR Misc Module.
328*92d53ff1SJosef 'Jeff' Sipek#
329*92d53ff1SJosef 'Jeff' SipekMISC_KMODS	+= cpr
330