Changeset 51 for trunk/Makefile.x86
- Timestamp:
- Jun 26, 2017, 3:24:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.x86
r47 r51 194 194 -Itools/arch_info \ 195 195 -Ihal/generic \ 196 -Ihal/x86_64 196 -Ihal/x86_64/core \ 197 197 -I. 198 198 … … 277 277 kernel/drivers/soclib/%.h \ 278 278 kernel_config.h \ 279 hal/x86_64/ hal_types.h279 hal/x86_64/core/hal_types.h 280 280 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 281 281 $(DU) -D $@ > $@.txt … … 286 286 kernel/kern/%.h \ 287 287 kernel_config.h \ 288 hal/x86_64/ hal_types.h288 hal/x86_64/core/hal_types.h 289 289 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 290 290 $(DU) -D $@ > $@.txt … … 292 292 ###################################### 293 293 # Rules to generate kernel/hal objects 294 build/kernel/hal/%.o: hal/x86_64/ %.c \294 build/kernel/hal/%.o: hal/x86_64/core/%.c \ 295 295 hal/generic/%.h \ 296 296 kernel_config.h \ 297 hal/x86_64/ hal_types.h298 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 299 $(DU) -D $@ > $@.txt 300 301 build/kernel/hal/hal_boot.o: hal/x86_64/ hal_boot.S \302 hal/x86_64/ hal_boot.h \303 hal/x86_64/ hal_multiboot.h \304 hal/x86_64/ hal_segmentation.h \305 kernel_config.h \ 306 hal/x86_64/ hal_types.h307 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 308 $(DU) -D $@ > $@.txt 309 310 build/kernel/hal/hal_init.o: hal/x86_64/ hal_init.c \311 hal/x86_64/ hal_boot.h \312 hal/x86_64/ hal_multiboot.h \313 hal/x86_64/ hal_segmentation.h \314 hal/x86_64/ hal_acpi.h \315 hal/x86_64/ hal_lapic.h \316 hal/x86_64/ hal_internal.h \297 hal/x86_64/core/hal_types.h 298 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 299 $(DU) -D $@ > $@.txt 300 301 build/kernel/hal/hal_boot.o: hal/x86_64/core/hal_boot.S \ 302 hal/x86_64/core/hal_boot.h \ 303 hal/x86_64/core/hal_multiboot.h \ 304 hal/x86_64/core/hal_segmentation.h \ 305 kernel_config.h \ 306 hal/x86_64/core/hal_types.h 307 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 308 $(DU) -D $@ > $@.txt 309 310 build/kernel/hal/hal_init.o: hal/x86_64/core/hal_init.c \ 311 hal/x86_64/core/hal_boot.h \ 312 hal/x86_64/core/hal_multiboot.h \ 313 hal/x86_64/core/hal_segmentation.h \ 314 hal/x86_64/core/hal_acpi.h \ 315 hal/x86_64/core/hal_lapic.h \ 316 hal/x86_64/core/hal_internal.h \ 317 317 kernel_config.h \ 318 hal/x86_64/ hal_types.h319 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 320 $(DU) -D $@ > $@.txt 321 322 build/kernel/hal/hal_cpu.o: hal/x86_64/ hal_cpu.S \323 hal/x86_64/ hal_boot.h \324 hal/x86_64/ hal_segmentation.h \325 kernel_config.h \ 326 hal/x86_64/ hal_types.h327 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 328 $(DU) -D $@ > $@.txt 329 330 build/kernel/hal/hal_trap.o: hal/x86_64/ hal_trap.c \331 hal/x86_64/ hal_boot.h \332 hal/x86_64/ hal_segmentation.h \333 kernel_config.h \ 334 hal/x86_64/ hal_types.h335 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 336 $(DU) -D $@ > $@.txt 337 338 build/kernel/hal/hal_kentry.o: hal/x86_64/ hal_kentry.S \339 hal/x86_64/ hal_kentry.h \340 hal/x86_64/ hal_boot.h \341 kernel_config.h \ 342 hal/x86_64/ hal_types.h343 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 344 $(DU) -D $@ > $@.txt 345 346 build/kernel/hal/hal_acpi.o: hal/x86_64/ hal_acpi.c \347 hal/x86_64/ hal_acpi.h \348 kernel_config.h \ 349 hal/x86_64/ hal_types.h350 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 351 $(DU) -D $@ > $@.txt 352 353 build/kernel/hal/hal_lapic.o: hal/x86_64/ hal_lapic.c \354 hal/x86_64/ hal_lapic.h \355 kernel_config.h \ 356 hal/x86_64/ hal_types.h357 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 358 $(DU) -D $@ > $@.txt 359 360 build/kernel/hal/x86_printf.o: hal/x86_64/ x86_printf.c \361 kernel_config.h \ 362 hal/x86_64/ hal_types.h318 hal/x86_64/core/hal_types.h 319 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 320 $(DU) -D $@ > $@.txt 321 322 build/kernel/hal/hal_cpu.o: hal/x86_64/core/hal_cpu.S \ 323 hal/x86_64/core/hal_boot.h \ 324 hal/x86_64/core/hal_segmentation.h \ 325 kernel_config.h \ 326 hal/x86_64/core/hal_types.h 327 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 328 $(DU) -D $@ > $@.txt 329 330 build/kernel/hal/hal_trap.o: hal/x86_64/core/hal_trap.c \ 331 hal/x86_64/core/hal_boot.h \ 332 hal/x86_64/core/hal_segmentation.h \ 333 kernel_config.h \ 334 hal/x86_64/core/hal_types.h 335 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 336 $(DU) -D $@ > $@.txt 337 338 build/kernel/hal/hal_kentry.o: hal/x86_64/core/hal_kentry.S \ 339 hal/x86_64/core/hal_kentry.h \ 340 hal/x86_64/core/hal_boot.h \ 341 kernel_config.h \ 342 hal/x86_64/core/hal_types.h 343 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 344 $(DU) -D $@ > $@.txt 345 346 build/kernel/hal/hal_acpi.o: hal/x86_64/core/hal_acpi.c \ 347 hal/x86_64/core/hal_acpi.h \ 348 kernel_config.h \ 349 hal/x86_64/core/hal_types.h 350 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 351 $(DU) -D $@ > $@.txt 352 353 build/kernel/hal/hal_lapic.o: hal/x86_64/core/hal_lapic.c \ 354 hal/x86_64/core/hal_lapic.h \ 355 kernel_config.h \ 356 hal/x86_64/core/hal_types.h 357 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 358 $(DU) -D $@ > $@.txt 359 360 build/kernel/hal/x86_printf.o: hal/x86_64/core/x86_printf.c \ 361 kernel_config.h \ 362 hal/x86_64/core/hal_types.h 363 363 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 364 364 $(DU) -D $@ > $@.txt … … 369 369 kernel/devices/%.h \ 370 370 kernel_config.h \ 371 hal/x86_64/ hal_types.h371 hal/x86_64/core/hal_types.h 372 372 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 373 373 $(DU) -D $@ > $@.txt … … 378 378 kernel/mm/%.h \ 379 379 kernel_config.h \ 380 hal/x86_64/ hal_types.h380 hal/x86_64/core/hal_types.h 381 381 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 382 382 $(DU) -D $@ > $@.txt … … 387 387 kernel/libk/%.h \ 388 388 kernel_config.h \ 389 hal/x86_64/ hal_types.h389 hal/x86_64/core/hal_types.h 390 390 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 391 391 $(DU) -D $@ > $@.txt … … 396 396 kernel/syscalls/syscalls.h \ 397 397 kernel_config.h \ 398 hal/x86_64/ hal_types.h398 hal/x86_64/core/hal_types.h 399 399 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 400 400 $(DU) -D $@ > $@.txt … … 405 405 kernel/vfs/%.h \ 406 406 kernel_config.h \ 407 hal/x86_64/ hal_types.h407 hal/x86_64/core/hal_types.h 408 408 $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $< 409 409 $(DU) -D $@ > $@.txt
Note: See TracChangeset
for help on using the changeset viewer.