diff options
author | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-10-01 15:24:10 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-10-01 15:24:10 +0100 |
commit | e14eb051ff73ab8692770762adf44045ba092398 (patch) | |
tree | 117c21aa0b42865a321b078ddb71c410506c51c9 /vm/Makefile | |
parent | 6c2a5f64d0517e100c569b59423d5f5abc627a7c (diff) |
Update to aad7fb916a10f1065ad23de0c80a4a04bcba8437 from repo git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git branch masterfe82dcec644244676d55a1384c958d5f67979adbaad7fb916a10f1065ad23de0c80a4a04bcba8437
Diffstat (limited to 'vm/Makefile')
-rw-r--r-- | vm/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vm/Makefile b/vm/Makefile new file mode 100644 index 0000000..3f94e1a --- /dev/null +++ b/vm/Makefile @@ -0,0 +1,15 @@ +# 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) |