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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [orp/] [orp_soc/] [sw.old/] [trap/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 782 lampret
CCFLAGS = -O2 -g -nostdlib
2
 
3
all: trap.or32
4
 
5
trap.or32: trap.o
6
        or32-rtems-gcc -nostdlib trap.o -o trap.or32
7
        or32-rtems-objcopy -O binary trap.or32 trap.bin
8
        ../utils/bin2srec trap.bin > trap.srec
9
        ../utils/bin2hex trap.bin > trap.hex
10
        cp trap.hex ../../sim/src/flash.in
11
 
12
trap.o: trap.S
13
        or32-rtems-gcc $(CCFLAGS) trap.S -c -DOR1K
14
 
15
clean:
16
        rm -f *.o trap.or32 *.bin *.srec *.hex

powered by: WebSVN 2.1.0

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