Makefile (fbc90c042cd1dc7258ebfebe6d226017e5b5ac8c) Makefile (9651fcedf7b92d3f7f1ab179e8ab55b85ee10fc1)
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
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
5LOCAL_HDRS += $(selfdir)/mm/mseal_helpers.h
6
7include local_config.mk
8
9ifeq ($(ARCH),)
10
11ifeq ($(CROSS_COMPILE),)
12uname_M := $(shell uname -m 2>/dev/null || echo not)
13else

--- 24 unchanged lines hidden (view full) ---

38
39TEST_GEN_FILES = cow
40TEST_GEN_FILES += compaction_test
41TEST_GEN_FILES += gup_longterm
42TEST_GEN_FILES += gup_test
43TEST_GEN_FILES += hmm-tests
44TEST_GEN_FILES += hugetlb-madvise
45TEST_GEN_FILES += hugetlb-read-hwpoison
5
6include local_config.mk
7
8ifeq ($(ARCH),)
9
10ifeq ($(CROSS_COMPILE),)
11uname_M := $(shell uname -m 2>/dev/null || echo not)
12else

--- 24 unchanged lines hidden (view full) ---

37
38TEST_GEN_FILES = cow
39TEST_GEN_FILES += compaction_test
40TEST_GEN_FILES += gup_longterm
41TEST_GEN_FILES += gup_test
42TEST_GEN_FILES += hmm-tests
43TEST_GEN_FILES += hugetlb-madvise
44TEST_GEN_FILES += hugetlb-read-hwpoison
46TEST_GEN_FILES += hugetlb-soft-offline
47TEST_GEN_FILES += hugepage-mmap
48TEST_GEN_FILES += hugepage-mremap
49TEST_GEN_FILES += hugepage-shm
50TEST_GEN_FILES += hugepage-vmemmap
51TEST_GEN_FILES += khugepaged
52TEST_GEN_FILES += madv_populate
53TEST_GEN_FILES += map_fixed_noreplace
54TEST_GEN_FILES += map_hugetlb

--- 15 unchanged lines hidden (view full) ---

70TEST_GEN_FILES += uffd-stress
71TEST_GEN_FILES += uffd-unit-tests
72TEST_GEN_FILES += split_huge_page_test
73TEST_GEN_FILES += ksm_tests
74TEST_GEN_FILES += ksm_functional_tests
75TEST_GEN_FILES += mdwe_test
76TEST_GEN_FILES += hugetlb_fault_after_madv
77TEST_GEN_FILES += hugetlb_madv_vs_map
45TEST_GEN_FILES += hugepage-mmap
46TEST_GEN_FILES += hugepage-mremap
47TEST_GEN_FILES += hugepage-shm
48TEST_GEN_FILES += hugepage-vmemmap
49TEST_GEN_FILES += khugepaged
50TEST_GEN_FILES += madv_populate
51TEST_GEN_FILES += map_fixed_noreplace
52TEST_GEN_FILES += map_hugetlb

--- 15 unchanged lines hidden (view full) ---

68TEST_GEN_FILES += uffd-stress
69TEST_GEN_FILES += uffd-unit-tests
70TEST_GEN_FILES += split_huge_page_test
71TEST_GEN_FILES += ksm_tests
72TEST_GEN_FILES += ksm_functional_tests
73TEST_GEN_FILES += mdwe_test
74TEST_GEN_FILES += hugetlb_fault_after_madv
75TEST_GEN_FILES += hugetlb_madv_vs_map
78TEST_GEN_FILES += hugetlb_dio
76TEST_GEN_FILES += droppable
79
80ifneq ($(ARCH),arm64)
81TEST_GEN_FILES += soft-dirty
82endif
83
84ifeq ($(ARCH),x86_64)
85CAN_BUILD_I386 := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_32bit_program.c -m32)
86CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_64bit_program.c)

--- 123 unchanged lines hidden ---
77
78ifneq ($(ARCH),arm64)
79TEST_GEN_FILES += soft-dirty
80endif
81
82ifeq ($(ARCH),x86_64)
83CAN_BUILD_I386 := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_32bit_program.c -m32)
84CAN_BUILD_X86_64 := $(shell ./../x86/check_cc.sh "$(CC)" ../x86/trivial_64bit_program.c)

--- 123 unchanged lines hidden ---