Skip to content

Commit

Permalink
self-test: fix make clean
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joern Engel authored and Linus Torvalds committed Jul 3, 2013
1 parent 51a1d16 commit fc256f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/testing/selftests/vm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@

CC = $(CROSS_COMPILE)gcc
CFLAGS = -Wall
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen

all: hugepage-mmap hugepage-shm map_hugetlb thuge-gen
all: $(BINARIES)
%: %.c
$(CC) $(CFLAGS) -o $@ $^

run_tests: all
@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)

clean:
$(RM) hugepage-mmap hugepage-shm map_hugetlb
$(RM) $(BINARIES)

0 comments on commit fc256f0

Please sign in to comment.