xref: /openbmc/qemu/tests/tcg/x86_64/Makefile.target (revision 30b6852c)
1# -*- Mode: makefile -*-
2#
3# x86_64 tests - included from tests/tcg/Makefile.target
4#
5# Currently we only build test-x86_64 and test-i386-ssse3 from
6# $(SRC_PATH)/tests/tcg/i386/
7#
8
9include $(SRC_PATH)/tests/tcg/i386/Makefile.target
10
11X86_64_TESTS += vsyscall
12TESTS=$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64
13QEMU_OPTS += -cpu max
14
15test-x86_64: LDFLAGS+=-lm -lc
16test-x86_64: test-i386.c test-i386.h test-i386-shift.h test-i386-muldiv.h
17	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
18
19vsyscall: $(SRC_PATH)/tests/tcg/x86_64/vsyscall.c
20	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
21