1S390X_SRC=$(SRC_PATH)/tests/tcg/s390x 2VPATH+=$(S390X_SRC) 3QEMU_OPTS=-action panic=exit-failure -kernel 4LINK_SCRIPT=$(S390X_SRC)/softmmu.ld 5LDFLAGS=-nostdlib -static -Wl,-T$(LINK_SCRIPT) -Wl,--build-id=none 6 7%.o: %.S 8 $(CC) -march=z13 -m64 -c $< -o $@ 9 10%: %.o $(LINK_SCRIPT) 11 $(CC) $< -o $@ $(LDFLAGS) 12 13TESTS += unaligned-lowcore 14TESTS += bal 15TESTS += sam 16TESTS += lpsw 17TESTS += lpswe-early 18TESTS += ssm-early 19TESTS += stosm-early 20TESTS += exrl-ssm-early 21 22include $(S390X_SRC)/pgm-specification.mak 23$(PGM_SPECIFICATION_TESTS): pgm-specification-softmmu.o 24$(PGM_SPECIFICATION_TESTS): LDFLAGS+=pgm-specification-softmmu.o 25TESTS += $(PGM_SPECIFICATION_TESTS) 26 27# We don't currently support the multiarch system tests 28undefine MULTIARCH_TESTS 29