qemu

FORK: QEMU emulator
git clone https://git.neptards.moe/neptards/qemu.git
Log | Files | Refs | Submodules | LICENSE

Makefile.target (1574B)


      1 ##
      2 ##  Copyright(c) 2019-2022 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
     19 EXTRA_RUNS =
     20 
     21 CFLAGS += -Wno-incompatible-pointer-types -Wno-undefined-internal
     22 CFLAGS += -fno-unroll-loops
     23 
     24 HEX_SRC=$(SRC_PATH)/tests/tcg/hexagon
     25 VPATH += $(HEX_SRC)
     26 
     27 first: $(HEX_SRC)/first.S
     28 	$(CC) -static -mv67 -nostdlib $^ -o $@
     29 
     30 HEX_TESTS = first
     31 HEX_TESTS += hex_sigsegv
     32 HEX_TESTS += misc
     33 HEX_TESTS += usr
     34 HEX_TESTS += preg_alias
     35 HEX_TESTS += dual_stores
     36 HEX_TESTS += multi_result
     37 HEX_TESTS += mem_noshuf
     38 HEX_TESTS += mem_noshuf_exception
     39 HEX_TESTS += circ
     40 HEX_TESTS += brev
     41 HEX_TESTS += load_unpack
     42 HEX_TESTS += load_align
     43 HEX_TESTS += atomics
     44 HEX_TESTS += fpstuff
     45 HEX_TESTS += overflow
     46 
     47 TESTS += $(HEX_TESTS)
     48 
     49 # This test has to be compiled for the -mv67t target
     50 usr: usr.c
     51 	$(CC) $(CFLAGS) -mv67t -O2 -Wno-inline-asm -Wno-expansion-to-defined $< -o $@ $(LDFLAGS)
     52