Changeset 241 for soft


Ignore:
Timestamp:
Jun 3, 2013, 5:57:14 PM (12 years ago)
Author:
joannou
Message:
  • new application : Dhrystone
  • added new files string.c and string.h in libs to implement strcpy() and strcmp() needed by dhrystone
  • new xml mapping with 4 procs in one cluster, each one running dhrystone
Location:
soft/giet_vm
Files:
9 added
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r238 r241  
    3838               build/libs/utils.o
    3939
     40DHRYSTONE_OBJS = build/dhrystone/dhry_1.o \
     41                 build/dhrystone/dhry_2.o \
     42                 build/libs/stdio.o \
     43                 build/libs/utils.o \
     44                 build/libs/string.o \
     45                 build/libs/malloc.o
     46
     47
    4048CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g
    4149
     
    5159          build/pgcd/pgcd.elf \
    5260          build/hello/hello.elf \
     61          build/dhrystone/dhrystone.elf \
    5362         
    5463        $(MAKE) -C memo
     
    115124        $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<
    116125
     126### dhrystone compilation
     127build/dhrystone/dhrystone.elf: $(DHRYSTONE_OBJS) dhrystone/dhrystone.ld
     128        $(LD) -o $@ -T dhrystone/dhrystone.ld $(DHRYSTONE_OBJS)
     129        $(DU) -D $@ > $@.txt
     130
     131build/dhrystone/dhry_1.o: dhrystone/dhry_1.c
     132        $(CC) $(INCLUDE) $(CFLAGS)  -c -o $@ $<
     133
     134build/dhrystone/dhry_2.o: dhrystone/dhry_2.c
     135        $(CC) $(INCLUDE) $(CFLAGS)  -c -o $@ $<
     136
    117137### libs compilation
    118138build/libs/utils.o: libs/utils.c giet_config.h
     
    128148        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
    129149
    130 
     150build/libs/string.o: libs/string.c libs/string.h
     151        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
    131152
    132153### clean
     
    142163        rm -rf build/display/*
    143164        rm -rf build/router/*
     165        rm -rf build/dhrystone/*
Note: See TracChangeset for help on using the changeset viewer.