summaryrefslogtreecommitdiffstats
path: root/tests/tcg/arm/Makefile.target
blob: cadb3858901ed89d85aa9b6b51ec22deb5a42b2a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# -*- Mode: makefile -*-
#
# ARM - included from tests/tcg/Makefile
#

ARM_SRC=$(SRC_PATH)/tests/tcg/arm

# Set search path for all sources
VPATH 		+= $(ARM_SRC)

TESTS += hello-arm test-arm-iwmmxt

hello-arm: CFLAGS+=-marm -ffreestanding
hello-arm: LDFLAGS+=-nostdlib

test-arm-iwmmxt: CFLAGS+=-marm -march=iwmmxt -mabi=aapcs -mfpu=fpv4-sp-d16
test-arm-iwmmxt: test-arm-iwmmxt.S
	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)

# On ARM Linux only supports 4k pages
EXTRA_RUNS+=run-test-mmap-4096