Changeset 510 for soft/giet_vm
- Timestamp:
- Feb 12, 2015, 3:17:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r486 r510 10 10 # Parameters definition 11 11 ARCH ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob 12 X_SIZE ?= 213 Y_SIZE ?= 214 NB_PROCS ?= 212 X_SIZE ?= 4 13 Y_SIZE ?= 4 14 NB_PROCS ?= 4 15 15 NB_TTYS ?= 1 16 16 FBF_WIDTH ?= 128 17 APP ?= classif 17 APP ?= sort 18 18 19 19 20 .PHONY: map.bin … … 44 45 45 46 ### Objects to be linked for kernel.elf 46 KERNEL_OBJS = build/common/utils.o \ 47 build/common/locks.o \ 48 build/common/tty0.o \ 49 build/common/vmem.o \ 50 build/common/kernel_malloc.o \ 51 build/fat32/fat32.o \ 52 build/kernel/giet.o \ 53 build/kernel/switch.o \ 54 build/kernel/ctx_handler.o \ 55 build/kernel/exc_handler.o \ 56 build/kernel/sys_handler.o \ 57 build/kernel/irq_handler.o \ 47 KERNEL_OBJS = build/common/utils.o \ 48 build/common/kernel_locks.o \ 49 build/common/kernel_barriers.o \ 50 build/common/tty0.o \ 51 build/common/vmem.o \ 52 build/common/kernel_malloc.o \ 53 build/fat32/fat32.o \ 54 build/kernel/giet.o \ 55 build/kernel/switch.o \ 56 build/kernel/ctx_handler.o \ 57 build/kernel/exc_handler.o \ 58 build/kernel/sys_handler.o \ 59 build/kernel/irq_handler.o \ 58 60 build/kernel/kernel_init.o 59 61 60 62 ### Objects to be linked for boot.elf 61 BOOT_OBJS = build/common/utils.o \ 62 build/common/locks.o \ 63 build/common/tty0.o \ 64 build/common/pmem.o \ 65 build/common/vmem.o \ 66 build/common/kernel_malloc.o \ 67 build/fat32/fat32.o \ 68 build/kernel/ctx_handler.o \ 69 build/kernel/switch.o \ 70 build/boot/boot.o \ 63 BOOT_OBJS = build/common/utils.o \ 64 build/common/kernel_locks.o \ 65 build/common/kernel_barriers.o \ 66 build/common/tty0.o \ 67 build/common/pmem.o \ 68 build/common/vmem.o \ 69 build/common/kernel_malloc.o \ 70 build/fat32/fat32.o \ 71 build/kernel/ctx_handler.o \ 72 build/kernel/switch.o \ 73 build/boot/boot.o \ 71 74 build/boot/boot_entry.o 72 75 … … 86 89 87 90 ### Objects to be linked for pgcd.elf 88 PGCD_OBJS = build/pgcd/main.o 91 PGCD_OBJS = build/pgcd/main.o \ 89 92 build/libs/stdio.o 90 93 91 94 ### Objects to be linked for game.elf 92 GAMEOFLIFE_OBJS = build/gameoflife/main.o \93 build/libs/stdio.o \94 build/libs/ barrier.o\95 build/libs/malloc.o \95 GAMEOFLIFE_OBJS = build/gameoflife/main.o \ 96 build/libs/stdio.o \ 97 build/libs/user_barrier.o \ 98 build/libs/malloc.o \ 96 99 build/libs/user_lock.o 97 100 … … 109 112 SORT_OBJS = build/sort/main.o \ 110 113 build/libs/stdio.o \ 111 build/libs/ barrier.o\114 build/libs/user_barrier.o \ 112 115 build/libs/malloc.o \ 113 116 build/libs/user_lock.o 114 117 115 118 ### Objects to be linked for transpose.elf 116 TRANSPOSE_OBJS = build/transpose/main.o \117 build/libs/stdio.o \118 build/libs/ barrier.o\119 build/libs/malloc.o \119 TRANSPOSE_OBJS = build/transpose/main.o \ 120 build/libs/stdio.o \ 121 build/libs/user_barrier.o \ 122 build/libs/malloc.o \ 120 123 build/libs/user_lock.o 121 124 … … 124 127 build/libs/stdio.o \ 125 128 build/libs/stdlib.o \ 126 build/libs/ barrier.o\129 build/libs/user_barrier.o \ 127 130 build/libs/malloc.o \ 128 131 build/libs/user_lock.o … … 132 135 build/libs/stdio.o \ 133 136 build/libs/mwmr_channel.o \ 134 build/libs/ barrier.o\137 build/libs/user_barrier.o \ 135 138 build/libs/malloc.o \ 136 139 build/libs/user_lock.o … … 215 218 ### mapping generation: map.bin / map.xml / hard_config.h / giet_vsegs.ld 216 219 map.bin hard_config.h giet_vsegs.ld: $(ARCH)/arch.py applications/$(APP)/$(APP).py 217 giet_python/genmap --arch=$(ARCH) 218 219 220 221 222 223 224 225 220 giet_python/genmap --arch=$(ARCH) \ 221 --x=$(X_SIZE) \ 222 --y=$(Y_SIZE) \ 223 --p=$(NB_PROCS) \ 224 --tty=$(NB_TTYS) \ 225 --fbf=$(FBF_WIDTH) \ 226 --giet=. \ 227 --$(APP) \ 228 --xml=. 226 229 227 230 ### drivers compilation … … 341 344 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 342 345 343 build/common/locks.o: giet_common/locks.c \ 344 giet_common/locks.h \ 345 hard_config.h \ 346 giet_config.h 346 build/common/kernel_locks.o: giet_common/kernel_locks.c \ 347 giet_common/kernel_locks.h \ 348 hard_config.h \ 349 giet_config.h 350 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 351 352 build/common/kernel_barriers.o: giet_common/kernel_barriers.c \ 353 giet_common/kernel_barriers.h \ 354 hard_config.h \ 355 giet_config.h 347 356 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 348 357 … … 366 375 367 376 build/common/kernel_malloc.o: giet_common/kernel_malloc.c \ 368 giet_common/kernel_malloc.h \369 hard_config.h\370 giet_config.h377 giet_common/kernel_malloc.h \ 378 hard_config.h \ 379 giet_config.h 371 380 $(CC) $(GIET_INCLUDE) $(CFLAGS) -c -o $@ $< 372 381 … … 431 440 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 432 441 433 build/libs/ barrier.o: giet_libs/barrier.c \434 giet_libs/barrier.h \435 hard_config.h \436 giet_config.h442 build/libs/user_barrier.o: giet_libs/user_barrier.c \ 443 giet_libs/user_barrier.h \ 444 hard_config.h \ 445 giet_config.h 437 446 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 438 447 … … 453 462 hard_config.h \ 454 463 giet_config.h 455 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $<456 457 build/libs/sbt_barrier.o: giet_libs/sbt_barrier.c \458 hard_config.h \459 giet_config.h460 464 $(CC) $(CFLAGS) $(USER_INCLUDE) -c -o $@ $< 461 465
Note: See TracChangeset
for help on using the changeset viewer.