-
Notifications
You must be signed in to change notification settings - Fork 0
/
Kconfig
107 lines (83 loc) · 2.19 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# SPDX-License-Identifier: GPL-2.0
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
comment "Compiler: $(CC_VERSION_TEXT)"
#ifdef VENDOR_EDIT
#Wen.Luo@Bsp.Kernel.Stability,2020/4/20,OPLUS_SYSTEM_KERNEL_QCOM/OPLUS_SYSTEM_KERNEL_MTK add for qcom/mtk platform
config OPLUS_SYSTEM_KERNEL_QCOM
bool "config oplus system feature "
default y
help
define this config to Distinguish between qcom and mtk platform
#endif
#ifdef VENDOR_EDIT
#Wen.Luo@Bsp.Kernel.Stability, 2018/12/05, Add for aging test, slub debug config
config OPPO_SLUB_TEST
string
default "$(OPPO_SLUB_TEST)"
config OPPO_KASAN_TEST
string
default "$(OPPO_KASAN_TEST)"
config OPPO_KMEMLEAK_TEST
string
default "$(OPPO_KMEMLEAK_TEST)"
config OPPO_AGING_TEST
string
default "$(OPPO_AGING_TEST)"
config OPPO_PAGEOWNER_TEST
string
default "$(OPPO_PAGEOWNER_TEST)"
config OPPO_AGING_DEBUG
bool "oplus aging add config"
select IPC_LOGGING
select QCOM_RTB
select QCOM_RTB_SEPARATE_CPUS
select SCSI_LOGGING
select SCSI_UFSHCD_CMD_LOGGING
select KPROBES
default y if OPPO_AGING_TEST = "true"
default n
config OPPO_KASAN_DEBUG
bool "oplus kasan debug"
select KASAN
select KASAN_GENERIC
select KCOV
select KCOV_ENABLE_COMPARISONS
default y if OPPO_KASAN_TEST = "true"
default n
config OPPO_KMEMLEAK_DEBUG
bool "oplus kmemleak debug"
select DEBUG_KMEMLEAK
select SLUB_DEBUG
select SLABTRACE_DEBUG
default y if OPPO_KMEMLEAK_TEST = "true"
default n
config OPPO_SLUB_DEBUG
bool "oplus slub debug"
select SLUB_DEBUG
select SLUB_DEBUG_ON
select SLUB_DEBUG_PANIC_ON
default y if OPPO_SLUB_TEST = "true"
default n
config OPPO_PAGEOWNER_DEBUG
bool "oplus pageowner debug"
select PAGE_OWNER
select PAGE_OWNER_ENABLE_DEFAULT
default y if OPPO_PAGEOWNER_TEST = "true"
default n
#endif /*VENDOR_EDIT*/
source "scripts/Kconfig.include"
source "init/Kconfig"
source "kernel/Kconfig.freezer"
source "fs/Kconfig.binfmt"
source "mm/Kconfig"
source "net/Kconfig"
source "drivers/Kconfig"
source "fs/Kconfig"
source "security/Kconfig"
source "crypto/Kconfig"
source "lib/Kconfig"
source "lib/Kconfig.debug"