aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2013-07-03 18:09:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 19:08:07 -0400
commitfc256f04eb82abcd2bd828fee4af0c36763ffee0 (patch)
tree277366f4bb6fb4696b2f9f2ecf1e9822f053bc40 /tools/testing/selftests
parent51a1d16563fb6488ae1f30d31f62abc6aa50b268 (diff)
self-test: fix make clean
thuge-gen was forgotten. Fix it by removing the duplication, so we don't get too many repeats. Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests')
-rw-r--r--tools/testing/selftests/vm/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/selftests/vm/Makefile b/tools/testing/selftests/vm/Makefile
index 7d4792799043..cb3f5f2e0f5f 100644
--- a/tools/testing/selftests/vm/Makefile
+++ b/tools/testing/selftests/vm/Makefile
@@ -2,8 +2,9 @@
2 2
3CC = $(CROSS_COMPILE)gcc 3CC = $(CROSS_COMPILE)gcc
4CFLAGS = -Wall 4CFLAGS = -Wall
5BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen
5 6
6all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen 7all: $(BINARIES)
7%: %.c 8%: %.c
8 $(CC) $(CFLAGS) -o $@ $^ 9 $(CC) $(CFLAGS) -o $@ $^
9 10
@@ -11,4 +12,4 @@ run_tests: all
11 @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1) 12 @/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
12 13
13clean: 14clean:
14 $(RM) hugepage-mmap hugepage-shm map_hugetlb 15 $(RM) $(BINARIES)