sim-card
/
qemu
Archived
10
0
Fork 0

cris: Update paths to match the move of tests/cris

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
Edgar E. Iglesias 2012-01-13 11:09:56 +01:00
parent 515aa3c579
commit bee5a5fb11
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
-include ../../config-host.mak -include ../../../config-host.mak
CROSS=crisv32-axis-linux-gnu- CROSS=crisv32-axis-linux-gnu-
SIM=../../cris-linux-user/qemu-cris -L ./ SIM=../../../cris-linux-user/qemu-cris -L ./
SIMG=cris-axis-linux-gnu-run --sysroot=./ SIMG=cris-axis-linux-gnu-run --sysroot=./
CC = $(CROSS)gcc CC = $(CROSS)gcc
@ -14,7 +14,7 @@ OBJCOPY = $(CROSS)objcopy
# we rely on GCC inline:ing the stuff we tell it to in many places here. # we rely on GCC inline:ing the stuff we tell it to in many places here.
CFLAGS = -Winline -Wall -g -O2 -static CFLAGS = -Winline -Wall -g -O2 -static
NOSTDFLAGS = -nostartfiles -nostdlib NOSTDFLAGS = -nostartfiles -nostdlib
ASFLAGS += -g -Wa,-I,$(SRC_PATH)/tests/cris/ ASFLAGS += -g -Wa,-I,$(SRC_PATH)/tests/tcg/cris/
LDLIBS = LDLIBS =
NOSTDLIBS = -lgcc NOSTDLIBS = -lgcc
@ -124,10 +124,10 @@ TESTCASES += check_gcctorture_pr28634-1.ctst
all: build all: build
%.o: $(SRC_PATH)/tests/cris/%.c %.o: $(SRC_PATH)/tests/tcg/cris/%.c
$(CC) $(CFLAGS) -c $< -o $@ $(CC) $(CFLAGS) -c $< -o $@
%.o: $(SRC_PATH)/tests/cris/%.s %.o: $(SRC_PATH)/tests/tcg/cris/%.s
$(AS) $(ASFLAGS) -c $< -o $@ $(AS) $(ASFLAGS) -c $< -o $@
%.tst: %.o %.tst: %.o