xref: /openbmc/qemu/tests/tcg/mips/Makefile.target (revision b14df228)
1# -*- Mode: makefile -*-
2#
3# MIPS - included from tests/tcg/Makefile.target
4#
5
6MIPS_SRC=$(SRC_PATH)/tests/tcg/mips
7
8# Set search path for all sources
9VPATH 		+= $(MIPS_SRC)
10
11# hello-mips is 32 bit only
12ifeq ($(findstring 64,$(TARGET_NAME)),)
13MIPS_TESTS=hello-mips
14
15TESTS += $(MIPS_TESTS)
16
17hello-mips: CFLAGS+=-mno-abicalls -fno-PIC -mabi=32
18hello-mips: LDFLAGS+=-nostdlib
19endif
20