Changeset 161 for soft/giet_vm/Makefile
- Timestamp:
- Jun 20, 2012, 9:50:34 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/Makefile
r160 r161 36 36 .PHONY: apps prepare 37 37 38 all: prepare soft. bin38 all: prepare soft.elf 39 39 40 40 41 ## merge all *. bin to soft.bin42 soft. bin: boot.bin sys.binmap.bin apps41 ## merge all *.elf to soft.elf 42 soft.elf: boot.elf sys.elf map.bin apps 43 43 make -C mover 44 44 mover/mover.x -sm map.bin … … 55 55 56 56 ## system compilation 57 sys. bin: $(SYS_OBJS) $(SYS_PATH)/sys.ld58 (cd $(BUILD_DIR_NAME); $(LD) -o ../$@ -T ../$(SYS_PATH)/sys.ld $(SYS_OBJS) )59 (cd $(BUILD_DIR_NAME); $(DU) -D ../$@ > $@.txt)57 sys.elf: $(SYS_OBJS) $(SYS_PATH)/sys.ld 58 (cd $(BUILD_DIR_NAME); $(LD) -o $@ -T ../$(SYS_PATH)/sys.ld $(SYS_OBJS) ) 59 (cd $(BUILD_DIR_NAME); $(DU) -D $@ > $@.txt) 60 60 61 61 switch.o: $(SYS_PATH)/switch.s giet_config.h … … 92 92 93 93 ## boot compilation 94 boot. bin: $(BOOT_OBJS) $(BOOT_PATH)/boot.ld95 (cd $(BUILD_DIR_NAME); $(LD) -o ../$@ -T ../$(BOOT_PATH)/boot.ld $(BOOT_OBJS) )96 (cd $(BUILD_DIR_NAME); $(DU) -D ../$@ > $@.txt)94 boot.elf: $(BOOT_OBJS) $(BOOT_PATH)/boot.ld 95 (cd $(BUILD_DIR_NAME); $(LD) -o $@ -T ../$(BOOT_PATH)/boot.ld $(BOOT_OBJS) ) 96 (cd $(BUILD_DIR_NAME); $(DU) -D $@ > $@.txt) 97 97 98 98 reset.o: $(BOOT_PATH)/reset.S giet_config.h … … 110 110 ### special rules 111 111 clean: 112 rm -f *.o *. bin *.txt core *~ 2>$(TRASH)112 rm -f *.o *.elf *.bin *.txt core *~ 2>$(TRASH) 113 113 make clean -C xml/ 2>$(TRASH) 114 114 make clean -C mover/ 2>$(TRASH)
Note: See TracChangeset
for help on using the changeset viewer.