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