]> git.ipfire.org Git - thirdparty/qemu.git/blame - tests/tcg/arm/Makefile.softmmu-target
tests/tcg: enable plugin testing
[thirdparty/qemu.git] / tests / tcg / arm / Makefile.softmmu-target
CommitLineData
647aee9b
SH
1# -*- Mode: makefile -*-
2#
3# ARM SoftMMU tests - included from tests/tcg/Makefile
4#
5
647aee9b
SH
6ARM_SRC=$(SRC_PATH)/tests/tcg/arm
7
8# Set search path for all sources
9VPATH += $(ARM_SRC)
10
11ARM_TESTS=test-armv6m-undef
12
13TESTS += $(ARM_TESTS)
14
15CFLAGS+=-Wl,--build-id=none -x assembler-with-cpp
16LDFLAGS+=-nostdlib -N -static
17
18%: %.S %.ld
6a9e0ef3 19 $(CC) $(CFLAGS) $(ASFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) -T $(ARM_SRC)/$@.ld
647aee9b
SH
20
21# Specific Test Rules
22
23test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0
24
25run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
3089e74e 26run-plugin-test-armv6m-undef-%: QEMU_OPTS+=-semihosting -M microbit -kernel