Changeset 30


Ignore:
Timestamp:
Jun 21, 2017, 8:44:15 AM (7 years ago)
Author:
max@…
Message:

Update Makefile.x86.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.x86

    r27 r30  
    5858HAL_OBJS    = \
    5959              build/kernel/hal/hal_boot.o         \
     60              build/kernel/hal/hal_init.o         \
     61              build/kernel/hal/hal_cpu.o          \
     62              build/kernel/hal/hal_trap.o         \
     63              build/kernel/hal/hal_kentry.o       \
     64              build/kernel/hal/x86_printf.o       \
    6065              build/kernel/hal/hal_special.o      \
    6166              build/kernel/hal/hal_context.o      \
     
    6772              build/kernel/hal/hal_exception.o    \
    6873              build/kernel/hal/hal_interrupt.o    \
    69               build/kernel/hal/hal_syscall.o      \
    70               build/kernel/hal/hal_kentry.o
     74              build/kernel/hal/hal_syscall.o
    7175
    7276DEV_OBJS    = build/kernel/devices/dev_txt.o      \
     
    295299build/kernel/hal/hal_boot.o:    hal/x86_64/hal_boot.S \
    296300                                hal/x86_64/hal_boot.h        \
    297                                 kernel_config.h              \
    298                                 hal/x86_64/hal_types.h
    299         $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
    300         $(DU) -D $@ > $@.txt
    301 
    302 build/kernel/hal/hal_kentry.o:  hal/x86_64/hal_kentry.S \
    303                                 hal/x86_64/hal_kentry.h \
     301                                hal/x86_64/hal_segmentation.h \
     302                                kernel_config.h              \
     303                                hal/x86_64/hal_types.h
     304        $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
     305        $(DU) -D $@ > $@.txt
     306
     307build/kernel/hal/hal_init.o:    hal/x86_64/hal_init.c \
     308                                hal/x86_64/hal_boot.h        \
     309                                hal/x86_64/hal_segmentation.h \
     310                                kernel_config.h              \
     311                                hal/x86_64/hal_types.h
     312        $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
     313        $(DU) -D $@ > $@.txt
     314
     315build/kernel/hal/hal_cpu.o:     hal/x86_64/hal_cpu.S \
     316                                hal/x86_64/hal_boot.h        \
     317                                hal/x86_64/hal_segmentation.h \
     318                                kernel_config.h              \
     319                                hal/x86_64/hal_types.h
     320        $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
     321        $(DU) -D $@ > $@.txt
     322
     323build/kernel/hal/hal_trap.o:    hal/x86_64/hal_trap.c \
     324                                hal/x86_64/hal_boot.h        \
     325                                hal/x86_64/hal_segmentation.h \
     326                                kernel_config.h              \
     327                                hal/x86_64/hal_types.h
     328        $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
     329        $(DU) -D $@ > $@.txt
     330
     331build/kernel/hal/hal_kentry.o:  hal/x86_64/hal_kentry.S      \
     332                                hal/x86_64/hal_kentry.h      \
     333                                hal/x86_64/hal_boot.h        \
     334                                kernel_config.h              \
     335                                hal/x86_64/hal_types.h
     336        $(CC) $(KERNEL_INCLUDE) $(CFLAGS) -c -o $@ $<
     337        $(DU) -D $@ > $@.txt
     338
     339build/kernel/hal/x86_printf.o:  hal/x86_64/x86_printf.c      \
    304340                                kernel_config.h              \
    305341                                hal/x86_64/hal_types.h
     
    365401                                $(SYS_OBJS_2)               \
    366402                                $(SYS_OBJS_3)               \
    367                                                                 kernel/kernel_x86.ld
    368         $(LD) -o $@ -z max-page-size=0x1000 -T kernel/kernel_x86.ld  \
     403                                kernel/kernel_x86.ld
     404        $(LD) -o $@ -z max-page-size=0x1000 -T kernel/kernel_x86.ld \
    369405          $(KERN_OBJS) $(HAL_OBJS) $(DEV_OBJS) $(MM_OBJS)   \
    370406          $(LIBK_OBJS) $(DRIVERS_OBJS) $(VFS_OBJS)          \
Note: See TracChangeset for help on using the changeset viewer.