forked from luck/tmp_suning_uos_patched
7e50533d4b
As the confusing naming indicates, this test has some overlap with pre-existing tests. Would be nice to merge them eventually. But since it is only test code, cleanliness is much less important than mere existence. 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>
16 lines
297 B
Makefile
16 lines
297 B
Makefile
# Makefile for vm selftests
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
CFLAGS = -Wall
|
|
BINARIES = hugepage-mmap hugepage-shm map_hugetlb thuge-gen hugetlbfstest
|
|
|
|
all: $(BINARIES)
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
run_tests: all
|
|
@/bin/sh ./run_vmtests || (echo "vmtests: [FAIL]"; exit 1)
|
|
|
|
clean:
|
|
$(RM) $(BINARIES)
|