135 # These get compiled twice:
136 # - once in the dboot (direct boot) identity mapped code
137 # - once for use during early startup in unix
138 #
139 BOOT_DRIVER_OBJS = \
140 boot_console.o \
141 boot_keyboard.o \
142 boot_keyboard_table.o \
143 boot_vga.o \
144 boot_fb.o \
145 boot_mmu.o \
146 dboot_multiboot2.o \
147 $(FONT_OBJS)
148
149 CORE_OBJS += $(BOOT_DRIVER_OBJS)
150
151 #
152 # locore.o is special. It must be the first file relocated so that it
153 # it is relocated just where its name implies.
154 #
155 SPECIAL_OBJS_32 += \
156 locore.o \
157 fast_trap_asm.o \
158 interrupt.o \
159 syscall_asm.o
160
161 SPECIAL_OBJS_64 += \
162 locore.o \
163 fast_trap_asm.o \
164 interrupt.o \
165 syscall_asm_amd64.o \
166 kpti_trampolines.o
167
168 SPECIAL_OBJS += $(SPECIAL_OBJS_$(CLASS))
169
170 #
171 # Objects that get compiled into the identity mapped PT_LOAD section of unix
172 # to handle the earliest part of booting.
173 #
174 DBOOT_OBJS_32 =
175
176 DBOOT_OBJS_64 += dboot_elfload.o
177
178 DBOOT_OBJS += \
179 dboot_asm.o \
180 dboot_grub.o \
181 dboot_printf.o \
182 dboot_startkern.o \
183 memcpy.o \
184 memset.o \
185 muldiv.o \
186 sha1.o \
187 string.o \
188 $(BOOT_DRIVER_OBJS) \
189 $(DBOOT_OBJS_$(CLASS))
254 # Since the assym files are derived, the dependencies must be explicit for
255 # all files including this file. (This is only actually required in the
256 # instance when the .nse_depinfo file does not exist.)
257 #
258
259 ASSYM_DEPS += \
260 copy.o \
261 desctbls_asm.o \
262 ddi_i86_asm.o \
263 exception.o \
264 fast_trap_asm.o \
265 float.o \
266 i86_subr.o \
267 interrupt.o \
268 lock_prim.o \
269 locore.o \
270 mpcore.o \
271 sseblk.o \
272 swtch.o \
273 syscall_asm.o \
274 syscall_asm_amd64.o \
275 kpti_trampolines.o \
276 cpr_wakecode.o
277
278 CPR_IMPL_OBJS = cpr_impl.o cpr_wakecode.o
279
280 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
|
135 # These get compiled twice:
136 # - once in the dboot (direct boot) identity mapped code
137 # - once for use during early startup in unix
138 #
139 BOOT_DRIVER_OBJS = \
140 boot_console.o \
141 boot_keyboard.o \
142 boot_keyboard_table.o \
143 boot_vga.o \
144 boot_fb.o \
145 boot_mmu.o \
146 dboot_multiboot2.o \
147 $(FONT_OBJS)
148
149 CORE_OBJS += $(BOOT_DRIVER_OBJS)
150
151 #
152 # locore.o is special. It must be the first file relocated so that it
153 # it is relocated just where its name implies.
154 #
155 SPECIAL_OBJS += \
156 locore.o \
157 fast_trap_asm.o \
158 interrupt.o \
159 syscall_asm.o \
160 kpti_trampolines.o
161
162 #
163 # Objects that get compiled into the identity mapped PT_LOAD section of unix
164 # to handle the earliest part of booting.
165 #
166 DBOOT_OBJS_32 =
167
168 DBOOT_OBJS_64 += dboot_elfload.o
169
170 DBOOT_OBJS += \
171 dboot_asm.o \
172 dboot_grub.o \
173 dboot_printf.o \
174 dboot_startkern.o \
175 memcpy.o \
176 memset.o \
177 muldiv.o \
178 sha1.o \
179 string.o \
180 $(BOOT_DRIVER_OBJS) \
181 $(DBOOT_OBJS_$(CLASS))
246 # Since the assym files are derived, the dependencies must be explicit for
247 # all files including this file. (This is only actually required in the
248 # instance when the .nse_depinfo file does not exist.)
249 #
250
251 ASSYM_DEPS += \
252 copy.o \
253 desctbls_asm.o \
254 ddi_i86_asm.o \
255 exception.o \
256 fast_trap_asm.o \
257 float.o \
258 i86_subr.o \
259 interrupt.o \
260 lock_prim.o \
261 locore.o \
262 mpcore.o \
263 sseblk.o \
264 swtch.o \
265 syscall_asm.o \
266 kpti_trampolines.o \
267 cpr_wakecode.o
268
269 CPR_IMPL_OBJS = cpr_impl.o cpr_wakecode.o
270
271 $(KDI_ASSYM_DEPS:%=$(OBJS_DIR)/%): $(DSF_DIR)/$(OBJS_DIR)/kdi_assym.h
|