Changeset 440 for trunk/hal/tsar_mips32/Makefile
- Timestamp:
- May 3, 2018, 5:51:22 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/Makefile
r439 r440 26 26 27 27 CORE_OBJS = $(HAL_ARCH)/build/core/hal_special.o \ 28 $(HAL_ARCH)/build/core/hal_context.o \29 $(HAL_ARCH)/build/core/hal_atomic.o \30 $(HAL_ARCH)/build/core/hal_remote.o \31 $(HAL_ARCH)/build/core/hal_uspace.o \32 $(HAL_ARCH)/build/core/hal_irqmask.o \33 $(HAL_ARCH)/build/core/hal_gpt.o \34 $(HAL_ARCH)/build/core/hal_ppm.o \35 $(HAL_ARCH)/build/core/hal_vmm.o \36 $(HAL_ARCH)/build/core/hal_exception.o \37 $(HAL_ARCH)/build/core/hal_interrupt.o \38 $(HAL_ARCH)/build/core/hal_syscall.o \39 $(HAL_ARCH)/build/core/hal_drivers.o \40 $(HAL_ARCH)/build/core/hal_kentry.o \41 $(HAL_ARCH)/build/core/hal_switch.o \42 $(HAL_ARCH)/build/core/hal_user.o28 $(HAL_ARCH)/build/core/hal_context.o \ 29 $(HAL_ARCH)/build/core/hal_atomic.o \ 30 $(HAL_ARCH)/build/core/hal_remote.o \ 31 $(HAL_ARCH)/build/core/hal_uspace.o \ 32 $(HAL_ARCH)/build/core/hal_irqmask.o \ 33 $(HAL_ARCH)/build/core/hal_gpt.o \ 34 $(HAL_ARCH)/build/core/hal_ppm.o \ 35 $(HAL_ARCH)/build/core/hal_vmm.o \ 36 $(HAL_ARCH)/build/core/hal_exception.o \ 37 $(HAL_ARCH)/build/core/hal_interrupt.o \ 38 $(HAL_ARCH)/build/core/hal_syscall.o \ 39 $(HAL_ARCH)/build/core/hal_drivers.o \ 40 $(HAL_ARCH)/build/core/hal_kentry.o \ 41 $(HAL_ARCH)/build/core/hal_switch.o \ 42 $(HAL_ARCH)/build/core/hal_user.o 43 43 44 HAL_INCLUDE = -I$(KERNEL)\45 -I$(HAL_ARCH)/drivers \46 -I$(HAL)/generic 47 -I$(HAL_ARCH)/core \48 -I../../tools/arch_info 49 -I$(KERNEL)/kern \50 -I$(KERNEL)/mm \51 -I$(KERNEL)/fs \52 -I$(KERNEL)/syscalls \53 -I$(KERNEL)/devices \44 HAL_INCLUDE = -I$(KERNEL) \ 45 -I$(HAL_ARCH)/drivers \ 46 -I$(HAL)/generic \ 47 -I$(HAL_ARCH)/core \ 48 -I../../tools/arch_info \ 49 -I$(KERNEL)/kern \ 50 -I$(KERNEL)/mm \ 51 -I$(KERNEL)/fs \ 52 -I$(KERNEL)/syscalls \ 53 -I$(KERNEL)/devices \ 54 54 -I$(KERNEL)/libk 55 55 56 ############################## 56 57 # Rule to generate .o for HAL. 57 58 compile: dirs $(CORE_OBJS) $(DRIVERS_OBJS) 58 59 60 ######################################## 59 61 # Rule to create the build directories. 60 62 dirs: … … 66 68 ############################## 67 69 # rules to compile the drivers 68 $(HAL_ARCH)/build/drivers/%.o: $(HAL_ARCH)/drivers/%.c\69 $(HAL_ARCH)/drivers/%.h \70 $(KERNEL)/kernel_config.h 70 $(HAL_ARCH)/build/drivers/%.o: $(HAL_ARCH)/drivers/%.c \ 71 $(HAL_ARCH)/drivers/%.h \ 72 $(KERNEL)/kernel_config.h \ 71 73 $(HAL_ARCH)/core/hal_types.h 72 74 $(CC) $(HAL_INCLUDE) $(CFLAGS) -c -o $@ $< … … 74 76 ###################################### 75 77 # Rules to generate kernel/hal objects 76 $(HAL_ARCH)/build/core/%.o: $(HAL_ARCH)/core/%.c\77 $(HAL)/generic/%.h 78 $(KERNEL)/kernel_config.h 78 $(HAL_ARCH)/build/core/%.o: $(HAL_ARCH)/core/%.c \ 79 $(HAL)/generic/%.h \ 80 $(KERNEL)/kernel_config.h \ 79 81 $(HAL_ARCH)/core/hal_types.h 80 82 $(CC) $(HAL_INCLUDE) $(CFLAGS) -c -o $@ $< 81 83 82 84 $(HAL_ARCH)/build/core/hal_kentry.o: $(HAL_ARCH)/core/hal_kentry.S \ 83 $(HAL_ARCH)/core/hal_kentry.h \84 $(KERNEL)/kernel_config.h\85 $(HAL_ARCH)/core/hal_types.h85 $(HAL_ARCH)/core/hal_kentry.h \ 86 $(KERNEL)/kernel_config.h \ 87 $(HAL_ARCH)/core/hal_types.h 86 88 $(CC) $(HAL_INCLUDE) $(CFLAGS) -c -o $@ $< 87 89 88 90 $(HAL_ARCH)/build/core/hal_switch.o: $(HAL_ARCH)/core/hal_switch.S \ 89 $(HAL)/generic/hal_switch.h91 $(HAL)/generic/hal_switch.h 90 92 $(CC) $(HAL_INCLUDE) $(CFLAGS) -c -o $@ $< 91 93 $(DU) -D $@ > $@.txt
Note: See TracChangeset
for help on using the changeset viewer.