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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orp/] [orp_soc/] [sw.old/] [setpc/] [Makefile] - Rev 1765

Compare with Previous | Blame | View Log

CCFLAGS = -O2 -g -nostdlib

all: setpc.or32

setpc.or32: setpc.o
        or32-rtems-gcc -nostdlib setpc.o -o setpc.or32
        or32-rtems-objcopy -O binary setpc.or32 setpc.bin       
        ../utils/bin2srec setpc.bin > setpc.srec
        ../utils/bin2hex setpc.bin > setpc.hex
        cp setpc.hex ../../sim/src/setpc.mem

setpc.o: setpc.S
        or32-rtems-gcc $(CCFLAGS) setpc.S -c -DOR1K     

clean:
        rm -f *.o setpc.or32 *.bin *.srec *.hex

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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