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