Changeset 251 for soft/giet_vm


Ignore:
Timestamp:
Aug 2, 2013, 2:54:34 PM (11 years ago)
Author:
devigne
Message:

Introducing a new application : Game Of Life (Triggers several update coherency

messages).

Use 1c_4p_gameoflife.xml

Location:
soft/giet_vm
Files:
5 added
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r249 r251  
    55DU = mipsel-unknown-elf-objdump
    66
    7 MAP_XML      = mappings/4c_1p_iob.xml
     7MAP_XML       = mappings/1c_4p_gameoflife.xml
    88
    99SYS_OBJS     = build/sys/vm_handler.o \
     
    3838               build/libs/utils.o
    3939
     40GAMEOFLIFE_OBJS   = build/gameoflife/main.o \
     41                    build/libs/stdio.o \
     42                    build/libs/barrier.o
     43
    4044DHRYSTONE_OBJS = build/dhrystone/dhry_1.o \
    4145                 build/dhrystone/dhry_2.o \
     
    4751
    4852
    49 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g
     53CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32
    5054
    5155INCLUDE = -Iboot -Isys -Ixml -Ilibs -I.
     
    6064          build/pgcd/pgcd.elf \
    6165          build/hello/hello.elf \
     66          build/gameoflife/gameoflife.elf \
    6267          build/dhrystone/dhrystone.elf \
    6368         
     
    125130        $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<
    126131
     132
     133### gameoflife compilation
     134build/gameoflife/gameoflife.elf: $(GAMEOFLIFE_OBJS) gameoflife/gameoflife.ld
     135        $(LD) -o $@ -T gameoflife/gameoflife.ld $(GAMEOFLIFE_OBJS)
     136        $(DU) -D $@ > $@.txt
     137
     138build/gameoflife/main.o: gameoflife/main.c
     139        $(CC) $(INCLUDE) $(CFLAGS) -O3 -c -o $@ $<
     140
    127141### dhrystone compilation
    128142build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld
     
    149163        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
    150164
     165build/libs/barrier.o: libs/barrier.c
     166        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
     167
    151168build/libs/string.o: libs/string.c libs/string.h
    152169        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
     
    167184        rm -rf build/display/*
    168185        rm -rf build/router/*
     186        rm -rf build/gameoflife/*
    169187        rm -rf build/dhrystone/*
Note: See TracChangeset for help on using the changeset viewer.