2018-04-17 12:31:02 +02:00
|
|
|
# -*- 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)
|
|
|
|
|
2018-12-21 12:52:05 +01:00
|
|
|
# hello-mips is 32 bit only
|
|
|
|
ifeq ($(findstring 64,$(TARGET_NAME)),)
|
2018-04-17 12:31:02 +02:00
|
|
|
MIPS_TESTS=hello-mips
|
|
|
|
|
|
|
|
TESTS += $(MIPS_TESTS)
|
|
|
|
|
2023-10-29 15:50:16 +01:00
|
|
|
hello-mips: CFLAGS+=-mno-abicalls -fno-PIC -fno-stack-protector -mabi=32
|
2018-04-17 12:31:02 +02:00
|
|
|
hello-mips: LDFLAGS+=-nostdlib
|
2018-12-21 12:52:05 +01:00
|
|
|
endif
|