Changeset 232 for soft/giet_vm/Makefile
- Timestamp:
- Mar 5, 2013, 4:00:09 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r218 r232 1 1 export # export all variable to sub-Makefile 2 CC =mipsel-unknown-elf-gcc3 AS =mipsel-unknown-elf-as4 LD =mipsel-unknown-elf-ld5 DU =mipsel-unknown-elf-objdump2 CC = mipsel-unknown-elf-gcc 3 AS = mipsel-unknown-elf-as 4 LD = mipsel-unknown-elf-ld 5 DU = mipsel-unknown-elf-objdump 6 6 7 7 MAP_XML = mappings/4c_1p_four.xml 8 8 9 9 SYS_OBJS = build/sys/vm_handler.o \ 10 10 build/sys/sys_handler.o \ 11 11 build/sys/giet.o \ 12 12 build/sys/switch.o \ 13 13 build/sys/common.o \ 14 14 build/sys/ctx_handler.o \ … … 38 38 build/libs/utils.o 39 39 40 CFLAGS =-Wall -ffreestanding -mno-gpopt -mips32 -g40 CFLAGS = -Wall -ffreestanding -mno-gpopt -mips32 -g 41 41 42 42 INCLUDE = -Iboot -Isys -Ixml -Ilibs -I. 43 43 44 TRASH= /dev/null||true 44 all: map.bin soft.elf 45 45 46 all: map.bin soft.elf47 48 46 ## merge all *.elf and map.bin to soft.elf 49 47 soft.elf: build/boot/boot.elf \ … … 107 105 108 106 build/hello/main.o: hello/main.c 109 $(CC) $(INCLUDE) $(CFLAGS) 107 $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $< 110 108 111 109 ### pgcd compilation … … 115 113 116 114 build/pgcd/main.o: pgcd/main.c 117 $(CC) $(INCLUDE) $(CFLAGS) 115 $(CC) $(INCLUDE) $(CFLAGS) -c -o $@ $< 118 116 119 117 ### libs compilation 120 118 build/libs/utils.o: libs/utils.c giet_config.h 121 $(CC) $(CFLAGS) $(INCLUDE) 119 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 122 120 123 121 build/libs/stdio.o: libs/stdio.c giet_config.h 124 $(CC) $(CFLAGS) $(INCLUDE) 122 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 125 123 126 124 build/libs/mwmr_channel.o: libs/mwmr_channel.c 127 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 125 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 126 127 build/libs/malloc.o: libs/malloc.c libs/malloc.h libs/malloc_private.h giet_config.h 128 $(CC) $(CFLAGS) $(INCLUDE) -c -o $@ $< 129 128 130 129 131 130 132 ### clean 131 133 clean: 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.