Changeset 295 for soft/giet_vm/Makefile
- Timestamp:
- Mar 26, 2014, 6:44:44 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r289 r295 11 11 ### partition sectors = 524832 12 12 13 MAP_XML = mappings/4c_ 1p_iob_four.xml13 MAP_XML = mappings/4c_4p_sort_leti_ext.xml 14 14 15 15 ### Objects to be linked for kernel.elf … … 18 18 build/fat32/fat32.o \ 19 19 build/drivers/dma_driver.o \ 20 build/drivers/cma_driver.o \ 20 21 build/drivers/fbf_driver.o \ 21 22 build/drivers/xcu_driver.o \ … … 26 27 build/drivers/sdc_driver.o \ 27 28 build/drivers/spi_driver.o \ 29 build/drivers/rdk_driver.o \ 28 30 build/drivers/iob_driver.o \ 29 31 build/drivers/mmc_driver.o \ … … 32 34 build/drivers/tim_driver.o \ 33 35 build/drivers/tty_driver.o \ 36 build/drivers/pic_driver.o \ 34 37 build/kernel/giet.o \ 35 38 build/kernel/switch.o \ … … 44 47 build/common/vmem.o \ 45 48 build/fat32/fat32.o \ 49 build/drivers/dma_driver.o \ 46 50 build/drivers/tty_driver.o \ 51 build/drivers/pic_driver.o \ 47 52 build/drivers/xcu_driver.o \ 48 build/drivers/dma_driver.o \49 build/drivers/mwr_driver.o \50 53 build/drivers/ioc_driver.o \ 51 54 build/drivers/bdv_driver.o \ 52 build/drivers/hba_driver.o \53 55 build/drivers/sdc_driver.o \ 54 56 build/drivers/spi_driver.o \ 55 build/drivers/ nic_driver.o \57 build/drivers/rdk_driver.o \ 56 58 build/drivers/mmc_driver.o \ 59 build/drivers/mwr_driver.o \ 57 60 build/kernel/ctx_handler.o \ 58 61 build/kernel/switch.o \ … … 96 99 build/libs/barrier.o 97 100 101 ### Objects to be linked for transpose.elf 102 TRANSPOSE_OBJS = build/transpose/main.o \ 103 build/libs/stdio.o \ 104 build/libs/malloc.o \ 105 build/libs/spin_lock.o \ 106 build/libs/barrier.o 98 107 99 108 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 … … 123 132 build/gameoflife/gameoflife.elf \ 124 133 build/sort/sort.elf \ 134 build/transpose/transpose.elf \ 125 135 hdd/virt_hdd.dmg 126 136 … … 128 138 ### This requires the generic LINUX/MacOS script "create_dmg" script 129 139 ### written by C.Fuguet. (should be installed in GIET-VM root directory). 130 hdd/virt_hdd.dmg: map.bin \ 131 build/boot/boot.elf \ 132 build/kernel/kernel.elf \ 133 build/display/display.elf \ 134 build/hello/hello.elf \ 135 build/pgcd/pgcd.elf \ 136 build/router/router.elf \ 137 build/dhrystone/dhrystone.elf \ 138 build/gameoflife/gameoflife.elf 140 hdd/virt_hdd.dmg: map.bin \ 141 build/boot/boot.elf \ 142 build/kernel/kernel.elf \ 143 build/display/display.elf \ 144 build/hello/hello.elf \ 145 build/pgcd/pgcd.elf \ 146 build/router/router.elf \ 147 build/dhrystone/dhrystone.elf \ 148 build/gameoflife/gameoflife.elf \ 149 build/sort/sort.elf \ 150 build/transpose/transpose.elf 151 139 152 ### remove all content of virtual disk virt_hdd 140 153 rm -rf hdd/virt_hdd/* … … 162 175 163 176 ### drivers compilation 177 build/drivers/cma_driver.o: giet_drivers/cma_driver.c \ 178 giet_drivers/cma_driver.h \ 179 giet_config.h \ 180 $(MAP_XML) 181 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 182 164 183 build/drivers/dma_driver.o: giet_drivers/dma_driver.c \ 165 184 giet_drivers/dma_driver.h \ … … 216 235 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 217 236 237 build/drivers/rdk_driver.o: giet_drivers/rdk_driver.c \ 238 giet_drivers/rdk_driver.h \ 239 giet_config.h \ 240 $(MAP_XML) 241 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 242 218 243 build/drivers/iob_driver.o: giet_drivers/iob_driver.c \ 219 244 giet_drivers/iob_driver.h \ … … 248 273 build/drivers/tty_driver.o: giet_drivers/tty_driver.c \ 249 274 giet_drivers/tty_driver.h \ 275 giet_config.h \ 276 $(MAP_XML) 277 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 278 279 build/drivers/pic_driver.o: giet_drivers/pic_driver.c \ 280 giet_drivers/pic_driver.h \ 250 281 giet_config.h \ 251 282 $(MAP_XML) … … 399 430 400 431 build/sort/main.o: sort/main.c 432 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 433 434 ### transpose compilation 435 build/transpose/transpose.elf: $(TRANSPOSE_OBJS) transpose/transpose.ld 436 $(LD) -o $@ -T transpose/transpose.ld $(TRANSPOSE_OBJS) 437 $(DU) -D $@ > $@.txt 438 439 build/transpose/main.o: transpose/main.c 401 440 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 402 441 … … 419 458 rm -rf build/dhrystone/* 420 459 rm -rf build/sort/* 460 rm -rf build/transpose/* 421 461 rm -rf build/map.bin 422 462 rm -rf hdd/virt_hdd/*
Note: See TracChangeset
for help on using the changeset viewer.