2022-07-26 01:37:46 +03:00
|
|
|
S390X_SRC=$(SRC_PATH)/tests/tcg/s390x
|
|
|
|
VPATH+=$(S390X_SRC)
|
|
|
|
QEMU_OPTS=-action panic=exit-failure -kernel
|
2023-03-16 19:44:28 +03:00
|
|
|
LINK_SCRIPT=$(S390X_SRC)/softmmu.ld
|
|
|
|
LDFLAGS=-nostdlib -static -Wl,-T$(LINK_SCRIPT) -Wl,--build-id=none
|
2022-07-26 01:37:46 +03:00
|
|
|
|
2023-03-16 19:44:28 +03:00
|
|
|
%.o: %.S
|
|
|
|
$(CC) -march=z13 -m64 -c $< -o $@
|
|
|
|
|
|
|
|
%: %.o $(LINK_SCRIPT)
|
|
|
|
$(CC) $< -o $@ $(LDFLAGS)
|
2022-07-26 01:37:46 +03:00
|
|
|
|
|
|
|
TESTS += unaligned-lowcore
|
2023-02-20 21:40:30 +03:00
|
|
|
TESTS += bal
|
2023-02-20 21:40:31 +03:00
|
|
|
TESTS += sam
|
2023-03-15 05:04:08 +03:00
|
|
|
TESTS += lpsw
|
|
|
|
TESTS += lpswe-early
|
|
|
|
TESTS += ssm-early
|
|
|
|
TESTS += stosm-early
|
|
|
|
TESTS += exrl-ssm-early
|
2023-03-16 19:44:28 +03:00
|
|
|
|
|
|
|
include $(S390X_SRC)/pgm-specification.mak
|
|
|
|
$(PGM_SPECIFICATION_TESTS): pgm-specification-softmmu.o
|
|
|
|
$(PGM_SPECIFICATION_TESTS): LDFLAGS+=pgm-specification-softmmu.o
|
|
|
|
TESTS += $(PGM_SPECIFICATION_TESTS)
|