Last change
on this file since 368 was
232,
checked in by alain, 13 years ago
|
Introducing the elementary tests for a TSAR mono-cluster
mono-processor platform with MMU using the vci_cc_vcache_v4
such as the "tsarv4_mono_mmu".
(assemby level tests written by Manuel Bouyer)
|
File size:
649 bytes
|
Rev | Line | |
---|
[232] | 1 | all: test.elf |
---|
| 2 | |
---|
| 3 | COMMON= ../common |
---|
| 4 | LDSCRIPT?= ../common/ldscript |
---|
| 5 | |
---|
| 6 | CC= mipsel-unknown-elf-gcc |
---|
| 7 | LD= mipsel-unknown-elf-ld |
---|
| 8 | DU= mipsel-unknown-elf-objdump |
---|
| 9 | |
---|
| 10 | CFLAGS= -mips32 -nostdinc -I. -I${COMMON} -mno-abicalls |
---|
| 11 | ### LDFLAGS=-mips32 -nostdlib -Wl,-T${LDSCRIPT} -Ttext=0xbfc00000 |
---|
| 12 | |
---|
| 13 | #### object files generation |
---|
| 14 | test.o: test.S |
---|
| 15 | ${CC} ${CFLAGS} -c -o $@ $< |
---|
| 16 | ${DU} -D $@ > $@.txt |
---|
| 17 | |
---|
| 18 | subr.o: ${COMMON}/subr.S |
---|
| 19 | ${CC} ${CFLAGS} -c -o $@ $< |
---|
| 20 | ${DU} -D $@ > $@.txt |
---|
| 21 | |
---|
| 22 | ### linking : test.o has to be the first object |
---|
| 23 | test.elf: test.o subr.o ${EXTRA_OBJ} |
---|
| 24 | ${LD} -o $@ -T ${LDSCRIPT} -Ttext 0xbfc00000 $^ |
---|
| 25 | ${DU} -D $@ > $@.txt |
---|
| 26 | clean: |
---|
| 27 | rm -f *.o test.elf *.txt run.out temp |
---|
Note: See
TracBrowser
for help on using the repository browser.