Changeset 232 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Mar 5, 2013, 4:00:09 PM (12 years ago)
Author:
meunier
Message:

Ajout du malloc dans le Giet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r218 r232  
    11export # export all variable to sub-Makefile
    2 CC=mipsel-unknown-elf-gcc
    3 AS=mipsel-unknown-elf-as
    4 LD=mipsel-unknown-elf-ld
    5 DU=mipsel-unknown-elf-objdump
     2CC = mipsel-unknown-elf-gcc
     3AS = mipsel-unknown-elf-as
     4LD = mipsel-unknown-elf-ld
     5DU = mipsel-unknown-elf-objdump
    66
    77MAP_XML      = mappings/4c_1p_four.xml
    88
    99SYS_OBJS     = build/sys/vm_handler.o \
    10                        build/sys/sys_handler.o \
     10               build/sys/sys_handler.o \
    1111               build/sys/giet.o \
    12                build/sys/switch.o \
     12               build/sys/switch.o \
    1313               build/sys/common.o \
    1414               build/sys/ctx_handler.o \
     
    3838               build/libs/utils.o
    3939
    40 CFLAGS=-Wall -ffreestanding -mno-gpopt -mips32 -g
     40CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g
    4141
    4242INCLUDE = -Iboot -Isys -Ixml -Ilibs -I.
    4343
    44 TRASH= /dev/null||true
     44all: map.bin soft.elf
    4545
    46 all: map.bin soft.elf
    47        
    4846## merge all *.elf and map.bin to soft.elf
    4947soft.elf: build/boot/boot.elf \
     
    107105
    108106build/hello/main.o: hello/main.c
    109         $(CC) $(INCLUDE) $(CFLAGS)  -c -o $@ $<
     107        $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<
    110108
    111109### pgcd compilation
     
    115113
    116114build/pgcd/main.o: pgcd/main.c
    117         $(CC) $(INCLUDE) $(CFLAGS)  -c -o $@ $<
     115        $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $<
    118116
    119117### libs compilation
    120118build/libs/utils.o: libs/utils.c giet_config.h
    121         $(CC) $(CFLAGS) $(INCLUDE)  -c -o $@ $<
     119        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
    122120
    123121build/libs/stdio.o: libs/stdio.c giet_config.h 
    124         $(CC) $(CFLAGS) $(INCLUDE)  -c -o $@ $<
     122        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
    125123
    126124build/libs/mwmr_channel.o: libs/mwmr_channel.c
    127         $(CC) $(CFLAGS) $(INCLUDE)  -c -o $@ $<
     125        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
     126
     127build/libs/malloc.o: libs/malloc.c libs/malloc.h libs/malloc_private.h giet_config.h
     128        $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $<
     129
    128130
    129131
    130132### clean
    131133clean:
    132         rm -f *.o *.elf *.bin *.txt core  giet_vsegs.ld hard_config.h *~ 2>$(TRASH)
    133         $(MAKE) -s clean -C xml 2>$(TRASH)
    134         $(MAKE) -s clean -C memo 2>$(TRASH)
    135         rm -r build/boot/* 2>$(TRASH)
    136         rm -r build/sys/* 2>$(TRASH)
    137         rm -r build/libs/* 2>$(TRASH)
    138         rm -r build/pgcd/* 2>$(TRASH)
    139         rm -r build/hello/* 2>$(TRASH)
    140         rm -r build/display/* 2>$(TRASH)
    141         rm -r build/router/* 2>$(TRASH)
     134        rm -f *.o *.elf *.bin *.txt core  giet_vsegs.ld hard_config.h *~
     135        $(MAKE) -s clean -C xml
     136        $(MAKE) -s clean -C memo
     137        rm -rf build/boot/*
     138        rm -rf build/sys/*
     139        rm -rf build/libs/*
     140        rm -rf build/pgcd/*
     141        rm -rf build/hello/*
     142        rm -rf build/display/*
     143        rm -rf build/router/*
Note: See TracChangeset for help on using the changeset viewer.