qapi/error: Check format string argument in error_*prepend()
[qemu/armbru.git] / tests / tcg / arm / Makefile.softmmu-target
blob3fe237ba391be83fb1b036b0f952ce7d62c89c23
1 # -*- Mode: makefile -*-
3 # ARM SoftMMU tests - 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 ARM_TESTS=test-armv6m-undef
13 TESTS += $(ARM_TESTS)
15 CFLAGS+=-Wl,--build-id=none -x assembler-with-cpp
16 LDFLAGS+=-nostdlib -N -static
18 %: %.S %.ld
19         $(CC) $(CFLAGS) $(ASFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS) -T $(ARM_SRC)/$@.ld
21 # Specific Test Rules
23 test-armv6m-undef: EXTRA_CFLAGS+=-mcpu=cortex-m0
25 run-test-armv6m-undef: QEMU_OPTS+=-semihosting -M microbit -kernel
26 run-plugin-test-armv6m-undef-%: QEMU_OPTS+=-semihosting -M microbit -kernel