mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-28 14:00:44 +00:00
b4f396151b
The compilation flags for proper building are in the source tree. We also fix exit to 0 so the result is counted as a success. Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
20 lines
378 B
Makefile
20 lines
378 B
Makefile
# -*- 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)
|
|
|
|
# hello-mips is 32 bit only
|
|
ifeq ($(findstring 64,$(TARGET_NAME)),)
|
|
MIPS_TESTS=hello-mips
|
|
|
|
TESTS += $(MIPS_TESTS)
|
|
|
|
hello-mips: CFLAGS+=-mno-abicalls -fno-PIC -mabi=32
|
|
hello-mips: LDFLAGS+=-nostdlib
|
|
endif
|