From bee5a5fb11de34aa422cfc830adbd51cfc8f5b55 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Fri, 13 Jan 2012 11:09:56 +0100 Subject: cris: Update paths to match the move of tests/cris Signed-off-by: Edgar E. Iglesias --- tests/tcg/cris/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/tcg') diff --git a/tests/tcg/cris/Makefile b/tests/tcg/cris/Makefile index b86bcadcc5..d34bfd8f7a 100644 --- a/tests/tcg/cris/Makefile +++ b/tests/tcg/cris/Makefile @@ -1,7 +1,7 @@ --include ../../config-host.mak +-include ../../../config-host.mak 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=./ 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. CFLAGS = -Winline -Wall -g -O2 -static NOSTDFLAGS = -nostartfiles -nostdlib -ASFLAGS += -g -Wa,-I,$(SRC_PATH)/tests/cris/ +ASFLAGS += -g -Wa,-I,$(SRC_PATH)/tests/tcg/cris/ LDLIBS = NOSTDLIBS = -lgcc @@ -124,10 +124,10 @@ TESTCASES += check_gcctorture_pr28634-1.ctst all: build -%.o: $(SRC_PATH)/tests/cris/%.c +%.o: $(SRC_PATH)/tests/tcg/cris/%.c $(CC) $(CFLAGS) -c $< -o $@ -%.o: $(SRC_PATH)/tests/cris/%.s +%.o: $(SRC_PATH)/tests/tcg/cris/%.s $(AS) $(ASFLAGS) -c $< -o $@ %.tst: %.o -- cgit v1.2.3