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

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [dhry/] [Makefile] - Diff between revs 31 and 36

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

Rev 31 Rev 36
Line 15... Line 15...
  AR = $(AMBER_CROSSTOOL)-ar
  AR = $(AMBER_CROSSTOOL)-ar
  LD = $(AMBER_CROSSTOOL)-ld
  LD = $(AMBER_CROSSTOOL)-ld
  DS = $(AMBER_CROSSTOOL)-objdump
  DS = $(AMBER_CROSSTOOL)-objdump
  OC = $(AMBER_CROSSTOOL)-objcopy
  OC = $(AMBER_CROSSTOOL)-objcopy
 ELF = $(TOOLSPATH)/amber-elfsplitter
 ELF = $(TOOLSPATH)/amber-elfsplitter
 BMF = $(TOOLSPATH)/amber-memparams.sh
 BMF32  = ../tools/amber-memparams32.sh
 
 BMF128 = ../tools/amber-memparams128.sh
 
 
 MMP = $(addsuffix _memparams.v, $(basename $(TGT)))
 MMP32  = $(addsuffix _memparams32.v, $(basename $(TGT)))
 
 MMP128 = $(addsuffix _memparams128.v, $(basename $(TGT)))
 MEM = $(addsuffix .mem, $(basename $(TGT)))
 MEM = $(addsuffix .mem, $(basename $(TGT)))
 DIS = $(addsuffix .dis, $(basename $(TGT)))
 DIS = $(addsuffix .dis, $(basename $(TGT)))
 
 
ifdef USE_MINI_LIBC
ifdef USE_MINI_LIBC
 OBJ = $(addsuffix .o,   $(basename $(SRC))) $(LIBC_OBJ)
 OBJ = $(addsuffix .o,   $(basename $(SRC))) $(LIBC_OBJ)
Line 61... Line 63...
else
else
debug:  $(ELF) $(MMP) $(DIS)
debug:  $(ELF) $(MMP) $(DIS)
endif
endif
 
 
$(MMP): $(MEM)
$(MMP): $(MEM)
        $(BMF) $(MEM) $(MMP)
        $(BMF32) $(MEM) $(MMP32)
 
 
$(MEM): $(TGT)
$(MEM): $(TGT)
        $(ELF) $(TGT) > $(MEM)
        $(ELF) $(TGT) > $(MEM)
 
 
$(TGT): $(OBJ)
$(TGT): $(OBJ)

powered by: WebSVN 2.1.0

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