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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orpmon/] [Makefile] - Diff between revs 855 and 872

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

Rev 855 Rev 872
Line 28... Line 28...
 
 
reset-flash.o: reset.S Makefile
reset-flash.o: reset.S Makefile
        $(CC) -c -o $@ $< $(CFLAGS) -DIN_FLASH=1
        $(CC) -c -o $@ $< $(CFLAGS) -DIN_FLASH=1
 
 
orpmon.or32: depend subdirs reset.o $(LIBS) Makefile gencrc
orpmon.or32: depend subdirs reset.o $(LIBS) Makefile gencrc
        $(LD) -Tram.ld -o $@ reset.o $(LIBS)
        $(LD) -Tram.ld -o $@ reset.o $(LIBS) $(LDFLAGS)
        $(OBJCOPY) -O binary $@ $@.tmp
        $(OBJCOPY) -j .text -O binary $@ $@.tmp
#-S -j .vectors -j .text -j .data -j .rodata
#-S -j .vectors -j .text -j .data -j .rodata
        ./gencrc $@.tmp $@
        ./gencrc $@.tmp $@
 
 
orpmon-flash.or32: depend subdirs reset-flash.o $(LIBS) Makefile gencrc
orpmon-flash.or32: depend subdirs reset-flash.o $(LIBS) Makefile gencrc
        $(LD) -Tflash.ld -o $@ reset-flash.o $(LIBS)
        $(LD) -Tflash.ld -o $@ reset-flash.o $(LIBS) $(LDFLAGS)
        $(OBJCOPY) -O binary $@ $@.tmp -S -j .reset -j .text -j .rodata
        $(OBJCOPY) -j .text -O binary $@ $@.tmp
        ./gencrc $@.tmp $@
        ./gencrc $@.tmp $@
 
 
gencrc: gencrc.c
gencrc: gencrc.c
        $(HOSTCC) -o gencrc -g gencrc.c
        $(HOSTCC) -o gencrc -g gencrc.c
 
 

powered by: WebSVN 2.1.0

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