tests/tcg/mips: include common mips hello-mips

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
Alex Bennée 2018-04-17 11:31:02 +01:00
parent 6bf77518dd
commit 2ac93f19b6

View File

@ -0,0 +1,19 @@
# -*- Mode: makefile -*-
#
# MIPS - included from tests/tcg/Makefile.target
#
MIPS_SRC=$(SRC_PATH)/tests/tcg/mips
# Set search path for all sources
VPATH += $(MIPS_SRC)
MIPS_TESTS=hello-mips
TESTS += $(MIPS_TESTS)
hello-mips: CFLAGS+=-ffreestanding
hello-mips: LDFLAGS+=-nostdlib
# For MIPS32 and 64 we have a bunch of extra tests in sub-directories
# however they are intended for system tests.