android_kernel_oneplus_msm8998/tools/testing/selftests/powerpc/stringloops/Makefile
Anton Blanchard 521adf5357 selftests/powerpc: Add memcmp testcase
Add a testcase for the new ppc64 memcmp.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2015-01-23 16:44:23 +11:00

20 lines
295 B
Makefile

# The loops are all 64-bit code
CFLAGS += -m64
CFLAGS += -I$(CURDIR)
PROGS := memcmp
EXTRA_SOURCES := memcmp_64.S ../harness.c
all: $(PROGS)
$(PROGS): $(EXTRA_SOURCES)
run_tests: all
@-for PROG in $(PROGS); do \
./$$PROG; \
done;
clean:
rm -f $(PROGS) *.o
.PHONY: all run_tests clean