Changeset 525 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Mar 10, 2015, 3:25:31 PM (10 years ago)
Author:
alain
Message:

Introducing the coproc application in the Makefile.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r510 r525  
    1010# Parameters definition
    1111ARCH      ?= ../tsar-trunk-svn-2013/platforms/tsar_generic_iob
    12 X_SIZE    ?= 4
    13 Y_SIZE    ?= 4
     12X_SIZE    ?= 2
     13Y_SIZE    ?= 2
    1414NB_PROCS  ?= 4
    1515NB_TTYS   ?= 1
    1616FBF_WIDTH ?= 128
    17 APP       ?= sort
     17APP       ?= classif
    1818
    1919
     
    139139                build/libs/user_lock.o
    140140
     141### Objects to be linked for coproc.elf
     142COPROC_OBJS = build/coproc/main.o \
     143              build/libs/stdio.o
     144
    141145CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g -O2 \
    142146                 -fno-delete-null-pointer-checks
     
    171175     build/transpose/transpose.elf   \
    172176     build/convol/convol.elf         \
    173      build/router/router.elf         \
    174177     build/classif/classif.elf       \
     178     build/coproc/coproc.elf         \
    175179     $(DISK_IMAGE)                   
    176180         
     
    178182        mcopy -o -i $(DISK_IMAGE) build/kernel/kernel.elf ::/build/kernel
    179183        mcopy -o -i $(DISK_IMAGE) build/display/display.elf ::/build/display
     184        mcopy -o -i $(DISK_IMAGE) build/hello/hello.elf ::/build/hello
     185        mcopy -o -i $(DISK_IMAGE) build/pgcd/pgcd.elf ::/build/pgcd
     186        mcopy -o -i $(DISK_IMAGE) build/router/router.elf ::/build/router
     187        mcopy -o -i $(DISK_IMAGE) build/dhrystone/dhrystone.elf ::/build/dhrystone
     188        mcopy -o -i $(DISK_IMAGE) build/gameoflife/gameoflife.elf ::/build/gameoflife
    180189        mcopy -o -i $(DISK_IMAGE) build/sort/sort.elf ::/build/sort
    181190        mcopy -o -i $(DISK_IMAGE) build/transpose/transpose.elf ::/build/transpose
    182191        mcopy -o -i $(DISK_IMAGE) build/convol/convol.elf ::/build/convol
    183192        mcopy -o -i $(DISK_IMAGE) build/classif/classif.elf ::/build/classif
    184         mcopy -o -i $(DISK_IMAGE) build/hello/hello.elf ::/build/hello
    185         mcopy -o -i $(DISK_IMAGE) build/pgcd/pgcd.elf ::/build/pgcd
    186         mcopy -o -i $(DISK_IMAGE) build/router/router.elf ::/build/router
    187         mcopy -o -i $(DISK_IMAGE) build/gameoflife/gameoflife.elf ::/build/gameoflife
    188         mcopy -o -i $(DISK_IMAGE) build/dhrystone/dhrystone.elf ::/build/dhrystone
     193        mcopy -o -i $(DISK_IMAGE) build/coproc/coproc.elf ::/build/coproc
    189194        mcopy -o -i $(DISK_IMAGE) applications/transpose/images.raw ::/misc
    190195        mcopy -o -i $(DISK_IMAGE) applications/convol/philips_image.raw ::/misc
     
    203208        mmd -o -i $(DISK_IMAGE) ::/build/kernel
    204209        mmd -o -i $(DISK_IMAGE) ::/build/display
     210        mmd -o -i $(DISK_IMAGE) ::/build/hello
     211        mmd -o -i $(DISK_IMAGE) ::/build/pgcd 
     212        mmd -o -i $(DISK_IMAGE) ::/build/router
     213        mmd -o -i $(DISK_IMAGE) ::/build/dhrystone
     214        mmd -o -i $(DISK_IMAGE) ::/build/gameoflife
    205215        mmd -o -i $(DISK_IMAGE) ::/build/sort 
    206216        mmd -o -i $(DISK_IMAGE) ::/build/transpose
    207217        mmd -o -i $(DISK_IMAGE) ::/build/convol
    208218        mmd -o -i $(DISK_IMAGE) ::/build/classif
    209         mmd -o -i $(DISK_IMAGE) ::/build/hello
    210         mmd -o -i $(DISK_IMAGE) ::/build/pgcd 
    211         mmd -o -i $(DISK_IMAGE) ::/build/router
    212         mmd -o -i $(DISK_IMAGE) ::/build/gameoflife
    213         mmd -o -i $(DISK_IMAGE) ::/build/dhrystone
     219        mmd -o -i $(DISK_IMAGE) ::/build/coproc
    214220        mmd -o -i $(DISK_IMAGE) ::/misc
    215221        dd if=$(DISK_IMAGE) of=temp.dmg count=65536
     
    555561
    556562build/classif/main.o: applications/classif/main.c
     563        $(CC) $(USER_INCLUDE) $(CFLAGS) -O0 -c -o $@ $<
     564
     565########################################
     566### coproc compilation
     567build/coproc/coproc.elf: $(COPROC_OBJS) applications/coproc/coproc.ld hard_config.h
     568        $(LD) -o $@ -T applications/coproc/coproc.ld $(COPROC_OBJS)
     569        $(DU) -D $@ > $@.txt
     570
     571build/coproc/main.o: applications/coproc/main.c
    557572        $(CC) $(USER_INCLUDE) $(CFLAGS) -O0 -c -o $@ $<
    558573
     
    579594        rm -rf build/convol/*
    580595        rm -rf build/classif/*
     596        rm -rf build/coproc/*
    581597        rm -rf $(DISK_IMAGE)
Note: See TracChangeset for help on using the changeset viewer.