OpenCores
URL https://opencores.org/ocsvn/ion/ion/trunk

Subversion Repositories ion

[/] [ion/] [trunk/] [src/] [opcodes/] [makefile] - Diff between revs 148 and 165

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 148 Rev 165
Line 17... Line 17...
clean:
clean:
        -$(RM) -f *.o *.obj *.map *.lst *.hex \
        -$(RM) -f *.o *.obj *.map *.lst *.hex \
        *.exe *.axf *.code *.data *.bin
        *.exe *.axf *.code *.data *.bin
 
 
opcodes:
opcodes:
        $(AS_MIPS) -defsym XRAM_BASE=$(XRAM_START) -o opcodes.o opcodes.s
        $(AS_MIPS) -o opcode_emu.o $(SRC_DIR)/common/opcode_emu.s
        $(LD_MIPS) $(LFLAGS) -Map opcodes.map -s -N -o opcodes.axf opcodes.o
        $(AS_MIPS) -defsym XRAM_BASE=$(XRAM_START) -mips32r2 -o opcodes.o opcodes.s
 
        $(LD_MIPS) $(LFLAGS) -Map opcodes.map -s -N -o opcodes.axf opcodes.o opcode_emu.o
        -@$(DUMP_MIPS) -I elf32-big --disassemble opcodes.axf > opcodes.lst
        -@$(DUMP_MIPS) -I elf32-big --disassemble opcodes.axf > opcodes.lst
# Dump only text segment, no .rodata on this program
# Dump only text segment, no .rodata on this program
#       $(COPY_MIPS) -I elf32-big -j .text -O binary opcodes.axf opcodes.bin
#       $(COPY_MIPS) -I elf32-big -j .text -O binary opcodes.axf opcodes.bin
# Dump data segment to file; will be empty but the TB2 template needs it
# Dump data segment to file; will be empty but the TB2 template needs it
#       $(COPY_MIPS) -I elf32-big -j .data -O binary opcodes.axf opcodes.data
#       $(COPY_MIPS) -I elf32-big -j .data -O binary opcodes.axf opcodes.data

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.