Changeset 374
- Timestamp:
- Jul 31, 2014, 10:03:45 PM (10 years ago)
- Location:
- soft/giet_vm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r366 r374 90 90 91 91 ### Objects to be linked for game.elf 92 GAMEOFLIFE_OBJS = build/gameoflife/main.o \ 93 build/libs/stdio.o \ 94 build/libs/barrier.o 92 GAMEOFLIFE_OBJS = build/gameoflife/main.o \ 93 build/libs/stdio.o \ 94 build/libs/barrier.o \ 95 build/libs/remote_malloc.o \ 96 build/libs/spin_lock.o 97 95 98 96 99 ### Objects to be linked for dhrystone.elf … … 104 107 105 108 ### Objects to be linked for sort.elf 106 SORT_OBJS = build/sort/main.o \ 107 build/libs/stdio.o \ 108 build/libs/spin_lock.o \ 109 build/libs/barrier.o 109 SORT_OBJS = build/sort/main.o \ 110 build/libs/stdio.o \ 111 build/libs/barrier.o \ 112 build/libs/remote_malloc.o \ 113 build/libs/spin_lock.o 110 114 111 115 ### Objects to be linked for transpose.elf 112 TRANSPOSE_OBJS = build/transpose/main.o \ 113 build/libs/stdio.o \ 114 build/libs/barrier.o 116 TRANSPOSE_OBJS = build/transpose/main.o \ 117 build/libs/stdio.o \ 118 build/libs/barrier.o \ 119 build/libs/remote_malloc.o \ 120 build/libs/spin_lock.o 115 121 116 122 ### Objects to be linked for convol.elf 117 CONVOL_OBJS = build/convol/main.o \ 118 build/libs/stdio.o \ 119 build/libs/stdlib.o \ 120 build/libs/barrier.o 123 CONVOL_OBJS = build/convol/main.o \ 124 build/libs/stdio.o \ 125 build/libs/stdlib.o \ 126 build/libs/barrier.o \ 127 build/libs/remote_malloc.o \ 128 build/libs/spin_lock.o 121 129 122 130 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 … … 305 313 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 306 314 307 ### fat32 compilation 315 ########################## 316 ### common compilation 308 317 build/fat32/fat32.o: giet_fat32/fat32.c \ 309 318 giet_fat32/fat32.h \ … … 312 321 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 313 322 314 ### utils compilation315 323 build/common/utils.o: giet_common/utils.c \ 316 324 giet_common/utils.h \ … … 319 327 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 320 328 321 ### vmem compilation322 329 build/common/vmem.o: giet_common/vmem.c \ 323 330 giet_common/vmem.h \ … … 326 333 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 327 334 335 ######################## 328 336 ### boot compilation 329 337 build/boot/boot.elf: $(BOOT_OBJS) \ … … 346 354 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 347 355 356 ######################### 348 357 ### kernel compilation 349 358 build/kernel/kernel.elf: $(KERNEL_OBJS) \ … … 362 371 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 363 372 364 365 366 367 ### libs compilation 373 ########################### 374 ### user libs compilation 368 375 build/libs/stdio.o: giet_libs/stdio.c \ 369 376 giet_libs/stdio.h \ … … 409 416 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 410 417 411 412 ### display compilation 418 build/libs/remote_malloc.o: giet_libs/remote_malloc.c \ 419 giet_libs/spin_lock.h \ 420 hard_config.h \ 421 giet_config.h 422 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 423 424 build/libs/sbt_barrier.o: giet_libs/sbt_barrier.c \ 425 hard_config.h \ 426 giet_config.h 427 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 428 429 ######################################## 430 ### display application compilation 413 431 build/display/display.elf: $(DISPLAY_OBJS) display/display.ld hard_config.h 414 432 $(LD) -o $@ -T display/display.ld $(DISPLAY_OBJS) … … 418 436 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 419 437 438 ######################################## 420 439 ### router compilation 421 440 build/router/router.elf: $(ROUTER_OBJS) router/router.ld hard_config.h … … 426 445 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 427 446 447 ######################################## 428 448 ### hello compilation 429 449 build/hello/hello.elf: $(HELLO_OBJS) hello/hello.ld hard_config.h … … 434 454 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 435 455 456 ######################################## 436 457 ### pgcd compilation 437 458 build/pgcd/pgcd.elf: $(PGCD_OBJS) pgcd/pgcd.ld hard_config.h … … 442 463 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 443 464 465 ######################################## 444 466 ### gameoflife compilation 445 467 build/gameoflife/gameoflife.elf: $(GAMEOFLIFE_OBJS) gameoflife/gameoflife.ld … … 450 472 $(CC) $(USER_INCLUDE) $(CFLAGS) -O3 -c -o $@ $< 451 473 474 ######################################## 452 475 ### dhrystone compilation 453 476 build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld hard_config.h … … 461 484 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 462 485 486 ######################################## 463 487 ### sort compilation 464 488 build/sort/sort.elf: $(SORT_OBJS) sort/sort.ld hard_config.h … … 469 493 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 470 494 495 ######################################## 471 496 ### transpose compilation 472 497 build/transpose/transpose.elf: $(TRANSPOSE_OBJS) transpose/transpose.ld hard_config.h … … 477 502 $(CC) $(USER_INCLUDE) $(CFLAGS) -c -o $@ $< 478 503 504 ######################################## 479 505 ### convol compilation 480 506 build/convol/convol.elf: $(CONVOL_OBJS) convol/convol.ld hard_config.h … … 485 511 $(CC) $(USER_INCLUDE) $(CFLAGS) -O0 -c -o $@ $< 486 512 513 ######################################## 487 514 ### clean 488 515 clean: -
soft/giet_vm/giet_config.h
r365 r374 30 30 #define GIET_DEBUG_DMA_DRIVER 0 /* trace DMA accesses */ 31 31 #define GIET_DEBUG_FBF_DRIVER 0 /* trace FBF accesses */ 32 #define GIET_DEBUG_MALLOC 0 /* trace remote_malloc library */ 33 #define GIET_DEBUG_SBT 0 /* trace SBT barrier library */ 32 34 33 35 #define CONFIG_SRL_VERBOSITY TRACE
Note: See TracChangeset
for help on using the changeset viewer.