Changeset 161 for soft/giet_vm/Makefile


Ignore:
Timestamp:
Jun 20, 2012, 9:50:34 AM (12 years ago)
Author:
karaoui
Message:

Deleting unused folders
All ELF file have the extension *.elf
Must objetc file are now dumped in the build directory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/Makefile

    r160 r161  
    3636.PHONY: apps prepare
    3737
    38 all: prepare soft.bin
     38all: prepare soft.elf
    3939       
    4040
    41 ## merge all *.bin to soft.bin
    42 soft.bin: boot.bin sys.bin map.bin apps
     41## merge all *.elf to soft.elf
     42soft.elf: boot.elf sys.elf map.bin apps
    4343        make -C mover
    4444        mover/mover.x -sm map.bin
     
    5555
    5656## system compilation
    57 sys.bin: $(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)
     57sys.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)
    6060
    6161switch.o: $(SYS_PATH)/switch.s giet_config.h
     
    9292
    9393## boot compilation
    94 boot.bin: $(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)
     94boot.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)
    9797
    9898reset.o: $(BOOT_PATH)/reset.S giet_config.h
     
    110110### special rules
    111111clean:
    112         rm -f *.o *.bin *.txt core *~  2>$(TRASH)
     112        rm -f *.o *.elf *.bin *.txt core *~  2>$(TRASH)
    113113        make clean -C xml/ 2>$(TRASH)
    114114        make clean -C mover/ 2>$(TRASH)
Note: See TracChangeset for help on using the changeset viewer.