power: supply: bq24190_charger: Add disable-reset device-property
[linux/fpc-iii.git] / tools / testing / selftests / vm / Makefile
blobd116a19477a76b4c0d9b6c8bb9aa9bd305d43947
1 # Makefile for vm selftests
3 ifndef OUTPUT
4 OUTPUT := $(shell pwd)
5 endif
7 CFLAGS = -Wall -I ../../../../usr/include $(EXTRA_CFLAGS)
8 BINARIES = compaction_test
9 BINARIES += hugepage-mmap
10 BINARIES += hugepage-shm
11 BINARIES += map_hugetlb
12 BINARIES += mlock2-tests
13 BINARIES += on-fault-limit
14 BINARIES += thuge-gen
15 BINARIES += transhuge-stress
16 BINARIES += userfaultfd
17 BINARIES += mlock-random-test
19 all: $(BINARIES)
20 %: %.c
21 $(CC) $(CFLAGS) -o $@ $^ -lrt
22 userfaultfd: userfaultfd.c ../../../../usr/include/linux/kernel.h
23 $(CC) $(CFLAGS) -O2 -o $@ $< -lpthread
25 mlock-random-test: mlock-random-test.c
26 $(CC) $(CFLAGS) -o $@ $< -lcap
28 ../../../../usr/include/linux/kernel.h:
29 make -C ../../../.. headers_install
31 TEST_PROGS := run_vmtests
32 TEST_FILES := $(BINARIES)
34 include ../lib.mk
36 clean:
37 $(RM) $(BINARIES)