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

Subversion Repositories amber

[/] [amber/] [trunk/] [sw/] [include/] [common.mk] - Diff between revs 43 and 61

Show entire file | Details | Blame | View Log

Rev 43 Rev 61
Line 92... Line 92...
 LDFLAGS = -Bstatic -Map $(MAP) --strip-debug --fix-v4bx
 LDFLAGS = -Bstatic -Map $(MAP) --strip-debug --fix-v4bx
 
 
ifdef USE_MINI_LIBC
ifdef USE_MINI_LIBC
debug:  mini-libc $(ELF) $(MMP32) $(MMP128) $(DIS)
debug:  mini-libc $(ELF) $(MMP32) $(MMP128) $(DIS)
else
else
debug:  $(ELF) $(MMP) $(DIS)
debug:  $(ELF) $(MMP32) $(MMP128) $(DIS)
endif
endif
 
 
$(MMP32): $(MEM)
$(MMP32): $(MEM)
        $(BMF32) $(MEM) $(MMP32)
        $(BMF32) $(MEM) $(MMP32)
 
 
Line 110... Line 110...
ifdef CREATE_FLT_OUTPUT
ifdef CREATE_FLT_OUTPUT
        $(LD) $(LDFLAGS) -elf2flt=-v -elf2flt=-k -o $(FLT) $(TLDS) $(OBJ)
        $(LD) $(LDFLAGS) -elf2flt=-v -elf2flt=-k -o $(FLT) $(TLDS) $(OBJ)
endif
endif
        $(LD) $(LDFLAGS) -o $(TGT) $(TLDS) $(OBJ)
        $(LD) $(LDFLAGS) -o $(TGT) $(TLDS) $(OBJ)
        $(OC) -R .comment -R .note $(TGT)
        $(OC) -R .comment -R .note $(TGT)
 
ifdef CHANGE_ADDRESS
 
        $(OC) --change-addresses -0x1000000 $(TGT)
 
endif
 
 
$(OBJ): $(DEP)
$(OBJ): $(DEP)
 
 
mini-libc:
mini-libc:
        $(MAKE) -s -C ../mini-libc MIN_SIZE=1
        $(MAKE) -s -C ../mini-libc MIN_SIZE=1

powered by: WebSVN 2.1.0

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