Changeset 380 for soft/giet_vm/Makefile
- Timestamp:
- Aug 5, 2014, 4:20:14 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r374 r380 6 6 LD = mipsel-unknown-elf-ld 7 7 DU = mipsel-unknown-elf-objdump 8 AR = mipsel-unknown-elf-ar 8 9 9 10 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 10 X ?= 211 Y ?= 212 P ?= 211 X ?= 16 12 Y ?= 8 13 P ?= 4 13 14 APP ?= convol 14 15 … … 21 22 ### partition sectors = 524832 22 23 23 ### Objects to be linked for kernel.elf 24 KERNEL_OBJS = build/common/utils.o \ 25 build/common/vmem.o \ 26 build/fat32/fat32.o \ 27 build/drivers/dma_driver.o \ 24 ### Objects to be linked for the drivers static library 25 DRIVERS_OBJS = build/drivers/dma_driver.o \ 28 26 build/drivers/cma_driver.o \ 29 27 build/drivers/fbf_driver.o \ … … 42 40 build/drivers/tim_driver.o \ 43 41 build/drivers/tty_driver.o \ 44 build/drivers/pic_driver.o \ 42 build/drivers/pic_driver.o 43 44 ### Objects to be linked for kernel.elf 45 KERNEL_OBJS = build/common/utils.o \ 46 build/common/vmem.o \ 47 build/fat32/fat32.o \ 45 48 build/kernel/giet.o \ 46 49 build/kernel/switch.o \ … … 55 58 build/common/vmem.o \ 56 59 build/fat32/fat32.o \ 57 build/drivers/dma_driver.o \58 build/drivers/tty_driver.o \59 build/drivers/pic_driver.o \60 build/drivers/xcu_driver.o \61 build/drivers/ioc_driver.o \62 build/drivers/iob_driver.o \63 build/drivers/bdv_driver.o \64 build/drivers/sdc_driver.o \65 build/drivers/spi_driver.o \66 build/drivers/rdk_driver.o \67 build/drivers/mmc_driver.o \68 build/drivers/mwr_driver.o \69 60 build/kernel/ctx_handler.o \ 70 61 build/kernel/switch.o \ … … 313 304 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 314 305 306 ################################ 307 ### drivers library compilation 308 build/drivers/libdrivers.a: $(DRIVERS_OBJS) 309 $(AR) -rcs $@ $(DRIVERS_OBJS) 310 315 311 ########################## 316 312 ### common compilation … … 336 332 ### boot compilation 337 333 build/boot/boot.elf: $(BOOT_OBJS) \ 338 giet_boot/boot.ld 339 $(LD) -o $@ -T giet_boot/boot.ld $(BOOT_OBJS) 334 giet_boot/boot.ld \ 335 build/drivers/libdrivers.a 336 $(LD) -o $@ -T giet_boot/boot.ld $(BOOT_OBJS) -Lbuild/drivers -ldrivers 340 337 $(DU) -D $@ > $@.txt 341 338 … … 357 354 ### kernel compilation 358 355 build/kernel/kernel.elf: $(KERNEL_OBJS) \ 359 giet_kernel/kernel.ld 360 $(LD) -o $@ -T giet_kernel/kernel.ld $(KERNEL_OBJS) 356 giet_kernel/kernel.ld \ 357 build/drivers/libdrivers.a 358 $(LD) -o $@ -T giet_kernel/kernel.ld $(KERNEL_OBJS) -Lbuild/drivers -ldrivers 361 359 $(DU) -D $@ > $@.txt 362 360
Note: See TracChangeset
for help on using the changeset viewer.