Changeset 339 for soft/giet_vm/Makefile
- Timestamp:
- Jun 19, 2014, 1:38:45 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r327 r339 8 8 9 9 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 10 X ?= 211 Y ?= 212 P ?= 213 APP ?= transpose10 X ?= 4 11 Y ?= 4 12 P ?= 4 13 APP ?= convol 14 14 15 15 .PHONY: map.bin … … 111 111 TRANSPOSE_OBJS = build/transpose/main.o \ 112 112 build/libs/stdio.o \ 113 build/libs/malloc.o \114 build/libs/spin_lock.o \115 113 build/libs/barrier.o 114 115 ### Objects to be linked for convol.elf 116 CONVOL_OBJS = build/convol/main.o \ 117 build/libs/stdio.o \ 118 build/libs/barrier.o 116 119 117 120 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 … … 147 150 build/sort/sort.elf \ 148 151 build/transpose/transpose.elf \ 152 build/convol/convol.elf \ 149 153 $(DISK_IMAGE) 150 154 … … 153 157 mcopy -o -i $(DISK_IMAGE) build/sort/sort.elf ::/build/sort 154 158 mcopy -o -i $(DISK_IMAGE) build/transpose/transpose.elf ::/build/transpose 159 mcopy -o -i $(DISK_IMAGE) build/convol/convol.elf ::/build/convol 155 160 mcopy -o -i $(DISK_IMAGE) build/hello/hello.elf ::/build/hello 156 161 mcopy -o -i $(DISK_IMAGE) build/pgcd/pgcd.elf ::/build/pgcd … … 159 164 mcopy -o -i $(DISK_IMAGE) build/dhrystone/dhrystone.elf ::/build/dhrystone 160 165 mcopy -o -i $(DISK_IMAGE) transpose/images.raw ::/misc 166 mcopy -o -i $(DISK_IMAGE) convol/philips_image.raw ::/misc 161 167 mcopy -o -i $(DISK_IMAGE) map.bin ::/ 162 168 dd if=build/boot/boot.elf of=$(DISK_IMAGE) seek=2 conv=notrunc … … 172 178 mmd -o -i $(DISK_IMAGE) ::/build/sort 173 179 mmd -o -i $(DISK_IMAGE) ::/build/transpose 180 mmd -o -i $(DISK_IMAGE) ::/build/convol 174 181 mmd -o -i $(DISK_IMAGE) ::/build/hello 175 182 mmd -o -i $(DISK_IMAGE) ::/build/pgcd … … 182 189 183 190 ### mapping generation: map.bin / map.xml / hard_config.h / giet_vsegs.ld 184 map.bin hard_config.h giet_vsegs.ld: $(ARCH)/ genmap.py $(APP)/$(APP).py191 map.bin hard_config.h giet_vsegs.ld: $(ARCH)/arch.py $(APP)/$(APP).py 185 192 giet_python/genmap --arch=$(ARCH) --x=$(X) --y=$(Y) --p=$(P) --giet=. --$(APP) --xml=. 186 193 … … 395 402 396 403 397 398 399 404 ### display compilation 400 build/display/display.elf: $(DISPLAY_OBJS) display/display.ld 405 build/display/display.elf: $(DISPLAY_OBJS) display/display.ld hard_config.h 401 406 $(LD) -o $@ -T display/display.ld $(DISPLAY_OBJS) 402 407 $(DU) -D $@ > $@.txt … … 406 411 407 412 ### router compilation 408 build/router/router.elf: $(ROUTER_OBJS) router/router.ld 413 build/router/router.elf: $(ROUTER_OBJS) router/router.ld hard_config.h 409 414 $(LD) -o $@ -T router/router.ld $(ROUTER_OBJS) 410 415 $(DU) -D $@ > $@.txt … … 414 419 415 420 ### hello compilation 416 build/hello/hello.elf: $(HELLO_OBJS) hello/hello.ld 421 build/hello/hello.elf: $(HELLO_OBJS) hello/hello.ld hard_config.h 417 422 $(LD) -o $@ -T hello/hello.ld $(HELLO_OBJS) 418 423 $(DU) -D $@ > $@.txt … … 422 427 423 428 ### pgcd compilation 424 build/pgcd/pgcd.elf: $(PGCD_OBJS) pgcd/pgcd.ld 429 build/pgcd/pgcd.elf: $(PGCD_OBJS) pgcd/pgcd.ld hard_config.h 425 430 $(LD) -o $@ -T pgcd/pgcd.ld $(PGCD_OBJS) 426 431 $(DU) -D $@ > $@.txt … … 438 443 439 444 ### dhrystone compilation 440 build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld 445 build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld hard_config.h 441 446 $(LD) -o $@ -T dhrystone/dhrystone.ld $(DHRYSTONE_OBJS) 442 447 $(DU) -D $@ > $@.txt … … 449 454 450 455 ### sort compilation 451 build/sort/sort.elf: $(SORT_OBJS) sort/sort.ld 456 build/sort/sort.elf: $(SORT_OBJS) sort/sort.ld hard_config.h 452 457 $(LD) -o $@ -T sort/sort.ld $(SORT_OBJS) 453 458 $(DU) -D $@ > $@.txt … … 457 462 458 463 ### transpose compilation 459 build/transpose/transpose.elf: $(TRANSPOSE_OBJS) transpose/transpose.ld 464 build/transpose/transpose.elf: $(TRANSPOSE_OBJS) transpose/transpose.ld hard_config.h 460 465 $(LD) -o $@ -T transpose/transpose.ld $(TRANSPOSE_OBJS) 461 466 $(DU) -D $@ > $@.txt … … 463 468 build/transpose/main.o: transpose/main.c 464 469 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 470 471 ### convol compilation 472 build/convol/convol.elf: $(CONVOL_OBJS) convol/convol.ld hard_config.h 473 $(LD) -o $@ -T convol/convol.ld $(CONVOL_OBJS) 474 $(DU) -D $@ > $@.txt 475 476 build/convol/main.o: convol/main.c 477 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 465 478 466 479 ### clean … … 483 496 rm -rf build/sort/* 484 497 rm -rf build/transpose/* 498 rm -rf build/convol/* 485 499 rm -rf hdd/virt_hdd.dmg
Note: See TracChangeset
for help on using the changeset viewer.