summaryrefslogtreecommitdiffstats
path: root/kernel/tools/testing/selftests/powerpc/stringloops/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/tools/testing/selftests/powerpc/stringloops/Makefile')
-rw-r--r--kernel/tools/testing/selftests/powerpc/stringloops/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/kernel/tools/testing/selftests/powerpc/stringloops/Makefile b/kernel/tools/testing/selftests/powerpc/stringloops/Makefile
new file mode 100644
index 000000000..2a728f4d2
--- /dev/null
+++ b/kernel/tools/testing/selftests/powerpc/stringloops/Makefile
@@ -0,0 +1,15 @@
+# The loops are all 64-bit code
+CFLAGS += -m64
+CFLAGS += -I$(CURDIR)
+
+TEST_PROGS := memcmp
+EXTRA_SOURCES := memcmp_64.S ../harness.c
+
+all: $(TEST_PROGS)
+
+$(TEST_PROGS): $(EXTRA_SOURCES)
+
+include ../../lib.mk
+
+clean:
+ rm -f $(TEST_PROGS) *.o