@@ -24,7 +24,7 @@ LDFLAGS=-nostdlib
TESTS=hello-arm arm-iwmmxt
-all: $(patsubst %,run-%,$(TESTS))
+all: $(TESTS)
test: all
# rules to run tests
@@ -29,7 +29,7 @@ TESTS=linux-test \
sha1 \
test-mmap
-all: $(patsubst %,run-%,$(TESTS))
+all: $(TESTS)
test: all
# rules to run tests
@@ -64,7 +64,7 @@ testthread: testthread.c
# generic Linux and CPU test
linux-test: linux-test.c
- $(CROSS_CC) $(CFLAGS) $(LDFLAGS) -o $@ $< -lm
+ $(CROSS_CC) ${QEMU_INCLUDES} $(CFLAGS) $(LDFLAGS) -o $@ $< -lm
test-mmap: test-mmap.c
$(CROSS_CC) $(CFLAGS) -Wall -O2 $(LDFLAGS) -o $@ $< -static
If we are going to be doing the build in a different place we might not have binfmt setup and certainly won't have a qemu built. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> --- tests/tcg/arm/Makefile | 2 +- tests/tcg/misc/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.11.0