qapi: Improve reporting of redefinition
[qemu/armbru.git] / tests / tcg / arm / Makefile.target
blob9f43d98f353bb93dc070c43dfbbde09b82d28000
1 # -*- Mode: makefile -*-
3 # ARM - included from tests/tcg/Makefile
6 ARM_SRC=$(SRC_PATH)/tests/tcg/arm
8 # Set search path for all sources
9 VPATH           += $(ARM_SRC)
11 # Multiarch Tests
12 float_madds: CFLAGS+=-mfpu=neon-vfpv4
14 # Basic Hello World
15 ARM_TESTS = hello-arm
16 hello-arm: CFLAGS+=-marm -ffreestanding
17 hello-arm: LDFLAGS+=-nostdlib
19 # IWMXT floating point extensions
20 ARM_TESTS += test-arm-iwmmxt
21 test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16
22 test-arm-iwmmxt: test-arm-iwmmxt.S
23         $(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
25 # Float-convert Tests
26 ARM_TESTS += fcvt
27 fcvt: LDFLAGS+=-lm
28 # fcvt: CFLAGS+=-march=armv8.2-a+fp16 -mfpu=neon-fp-armv8
29 run-fcvt: fcvt
30         $(call run-test,fcvt,$(QEMU) $<,"$< on $(TARGET_NAME)")
31         $(call diff-out,fcvt,$(ARM_SRC)/fcvt.ref)
33 TESTS += $(ARM_TESTS)
35 # On ARM Linux only supports 4k pages
36 EXTRA_RUNS+=run-test-mmap-4096