xref: /qemu/tests/tcg/hexagon/Makefile.target (revision 3ea1a802)
1##
2##  Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved.
3##
4##  This program is free software; you can redistribute it and/or modify
5##  it under the terms of the GNU General Public License as published by
6##  the Free Software Foundation; either version 2 of the License, or
7##  (at your option) any later version.
8##
9##  This program is distributed in the hope that it will be useful,
10##  but WITHOUT ANY WARRANTY; without even the implied warranty of
11##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12##  GNU General Public License for more details.
13##
14##  You should have received a copy of the GNU General Public License
15##  along with this program; if not, see <http://www.gnu.org/licenses/>.
16##
17
18# Hexagon doesn't support gdb, so skip the EXTRA_RUNS
19EXTRA_RUNS =
20
21# Hexagon has 64K pages, so increase the timeout to keep
22# test-mmap from timing out
23ifeq ($(CONFIG_DEBUG_TCG),y)
24TIMEOUT=800
25else
26TIMEOUT=500
27endif
28
29
30CFLAGS += -Wno-incompatible-pointer-types -Wno-undefined-internal
31CFLAGS += -fno-unroll-loops
32
33HEX_SRC=$(SRC_PATH)/tests/tcg/hexagon
34VPATH += $(HEX_SRC)
35
36first: $(HEX_SRC)/first.S
37	$(CC) -static -mv67 -nostdlib $^ -o $@
38
39HEX_TESTS = first
40HEX_TESTS += misc
41HEX_TESTS += preg_alias
42HEX_TESTS += dual_stores
43HEX_TESTS += multi_result
44HEX_TESTS += mem_noshuf
45HEX_TESTS += circ
46HEX_TESTS += brev
47HEX_TESTS += load_unpack
48HEX_TESTS += load_align
49HEX_TESTS += atomics
50HEX_TESTS += fpstuff
51
52TESTS += $(HEX_TESTS)
53