Makefile (5c68005083d620b1499fc81926a514d39ae8b88c) | Makefile (c879462a08feafe1bc10f34089f39932a2e1d712) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# Makefile for mm selftests 3 4LOCAL_HDRS += $(selfdir)/mm/local_config.h $(top_srcdir)/mm/gup_test.h 5 6include local_config.mk 7 8ifeq ($(CROSS_COMPILE),) --- 20 unchanged lines hidden (view full) --- 29# LDLIBS. 30MAKEFLAGS += --no-builtin-rules 31 32CFLAGS = -Wall -I $(top_srcdir) -I $(top_srcdir)/tools/include/uapi $(EXTRA_CFLAGS) $(KHDR_INCLUDES) 33LDLIBS = -lrt -lpthread 34 35TEST_GEN_PROGS = cow 36TEST_GEN_PROGS += compaction_test | 1# SPDX-License-Identifier: GPL-2.0 2# Makefile for mm selftests 3 4LOCAL_HDRS += $(selfdir)/mm/local_config.h $(top_srcdir)/mm/gup_test.h 5 6include local_config.mk 7 8ifeq ($(CROSS_COMPILE),) --- 20 unchanged lines hidden (view full) --- 29# LDLIBS. 30MAKEFLAGS += --no-builtin-rules 31 32CFLAGS = -Wall -I $(top_srcdir) -I $(top_srcdir)/tools/include/uapi $(EXTRA_CFLAGS) $(KHDR_INCLUDES) 33LDLIBS = -lrt -lpthread 34 35TEST_GEN_PROGS = cow 36TEST_GEN_PROGS += compaction_test |
37TEST_GEN_PROGS += gup_longterm |
|
37TEST_GEN_PROGS += gup_test 38TEST_GEN_PROGS += hmm-tests 39TEST_GEN_PROGS += hugetlb-madvise 40TEST_GEN_PROGS += hugepage-mmap 41TEST_GEN_PROGS += hugepage-mremap 42TEST_GEN_PROGS += hugepage-shm 43TEST_GEN_PROGS += hugepage-vmemmap 44TEST_GEN_PROGS += khugepaged --- 114 unchanged lines hidden (view full) --- 159 echo " yum install glibc-devel.*i686"; \ 160 exit 0; 161endif 162endif 163 164# IOURING_EXTRA_LIBS may get set in local_config.mk, or it may be left empty. 165$(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS) 166 | 38TEST_GEN_PROGS += gup_test 39TEST_GEN_PROGS += hmm-tests 40TEST_GEN_PROGS += hugetlb-madvise 41TEST_GEN_PROGS += hugepage-mmap 42TEST_GEN_PROGS += hugepage-mremap 43TEST_GEN_PROGS += hugepage-shm 44TEST_GEN_PROGS += hugepage-vmemmap 45TEST_GEN_PROGS += khugepaged --- 114 unchanged lines hidden (view full) --- 160 echo " yum install glibc-devel.*i686"; \ 161 exit 0; 162endif 163endif 164 165# IOURING_EXTRA_LIBS may get set in local_config.mk, or it may be left empty. 166$(OUTPUT)/cow: LDLIBS += $(IOURING_EXTRA_LIBS) 167 |
168$(OUTPUT)/gup_longterm: LDLIBS += $(IOURING_EXTRA_LIBS) 169 |
|
167$(OUTPUT)/mlock-random-test $(OUTPUT)/memfd_secret: LDLIBS += -lcap 168 169$(OUTPUT)/ksm_tests: LDLIBS += -lnuma 170 171$(OUTPUT)/migration: LDLIBS += -lnuma 172 173local_config.mk local_config.h: check_config.sh 174 /bin/sh ./check_config.sh $(CC) 175 176EXTRA_CLEAN += local_config.mk local_config.h 177 178ifeq ($(IOURING_EXTRA_LIBS),) 179all: warn_missing_liburing 180 181warn_missing_liburing: 182 @echo ; \ 183 echo "Warning: missing liburing support. Some tests will be skipped." ; \ 184 echo 185endif | 170$(OUTPUT)/mlock-random-test $(OUTPUT)/memfd_secret: LDLIBS += -lcap 171 172$(OUTPUT)/ksm_tests: LDLIBS += -lnuma 173 174$(OUTPUT)/migration: LDLIBS += -lnuma 175 176local_config.mk local_config.h: check_config.sh 177 /bin/sh ./check_config.sh $(CC) 178 179EXTRA_CLEAN += local_config.mk local_config.h 180 181ifeq ($(IOURING_EXTRA_LIBS),) 182all: warn_missing_liburing 183 184warn_missing_liburing: 185 @echo ; \ 186 echo "Warning: missing liburing support. Some tests will be skipped." ; \ 187 echo 188endif |