head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2002.01.03.08.38.40;	author lampret;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.13.10.03.55;	author lampret;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Test cases. support/ and utils/ are used by all test cases - build first. Non working tests: setpc, trap, trap2.
@
text
@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
@


1.1
log
@Added setpc test
@
text
@d10 1
a10 1
	cp setpc.hex ../../sim/src/flash.in
@

