Kconfig 4.4 KB
Newer Older
A
arvinzzz 已提交
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
config KERNEL_EXTKERNEL
    bool "Enable Extend Kernel"
    default y
    help
      This option will enable extend Kernel of LiteOS.  Extend kernel include
      cppsupport, cpup, and dynload. You can select one or some
      of them.

config KERNEL_CPPSUPPORT
    bool "Enable C++ Support"
    default y
    depends on KERNEL_EXTKERNEL
    help
      If you wish to build LiteOS with support for C++.

config KERNEL_CPUP
    bool "Enable Cpup"
    default y
    depends on KERNEL_EXTKERNEL
    help
      If you wish to build LiteOS with support for cpup.

config CPUP_INCLUDE_IRQ
    bool "Enable Cpup include irq"
    default y
    depends on KERNEL_CPUP
    help
      If you wish to include irq usage for cpup.

config KERNEL_DYNLOAD
    bool "Enable Dynamic Load Feature"
    default y
    depends on KERNEL_EXTKERNEL && KERNEL_VM && KERNEL_SYSCALL
    help
      If you wish to build LiteOS with support for dynamic load.

config ASLR
    bool "Enable Address Space Layout Randomization"
    default n
    depends on KERNEL_DYNLOAD && HW_RANDOM_ENABLE
    help
      If you wish to enable ASLR for user aspace.

config KERNEL_PM
    bool "Enable Power Management"
    default y
    depends on KERNEL_EXTKERNEL
    help
      If you wish to build LiteOS with support for power management.

config KERNEL_VDSO
    bool "Enable VDSO Feature"
    default n
    depends on KERNEL_EXTKERNEL && KERNEL_VM && KERNEL_SYSCALL
    help
      If you wish to speed up some system calls.

config KERNEL_SHM
    bool "Enable Shared Memory"
    default y
    depends on KERNEL_EXTKERNEL && KERNEL_VM && KERNEL_SYSCALL
    help
      Answer Y to enable LiteOS support shared memory.

config KERNEL_LITEIPC
    bool "Enable liteipc"
    default y
    depends on KERNEL_EXTKERNEL && KERNEL_VM
    help
      Answer Y to enable LiteOS support liteipc.

config KERNEL_PIPE
    bool "Enable pipes"
    default y
    depends on KERNEL_EXTKERNEL
    help
      Answer Y to enable LiteOS support pipes.

Z
zhushengle 已提交
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
config KERNEL_PLIMITS
    bool "Enable plimits Feature"
    default n
    depends on KERNEL_EXTKERNEL

config KERNEL_MEM_PLIMIT
    bool "Enable mem limits Feature"
    default n
    depends on KERNEL_PLIMITS

config KERNEL_IPC_PLIMIT
    bool "Enable ipc limits Feature"
    default n
    depends on KERNEL_PLIMITS

config KERNEL_DEV_PLIMIT
    bool "Enable dev limits Feature"
    default n
    depends on KERNEL_PLIMITS

config KERNEL_SCHED_PLIMIT
    bool "Enable sched limits Feature"
    default n
    depends on KERNEL_PLIMITS

A
arvinzzz 已提交
104 105 106 107 108 109 110 111 112 113 114 115
config BASE_CORE_HILOG
    bool "Enable Hilog"
    default y
    depends on KERNEL_EXTKERNEL
    help
      If you wish to include hilog.

config KERNEL_HOOK
    bool "Enable Hook Feature"
    default n
    depends on KERNEL_EXTKERNEL && DEBUG_VERSION

Z
zwx1232718 已提交
116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163

######################### config options of container ####################
config KERNEL_CONTAINER
    bool "Enable container Feature"
    default n
    depends on KERNEL_VM

config PID_CONTAINER
    bool "Enable pid container Feature"
    default n
    depends on KERNEL_CONTAINER

config UTS_CONTAINER
    bool "Enable uts container Feature"
    default n
    depends on KERNEL_CONTAINER

config MNT_CONTAINER
    bool "Enable mnt container Feature"
    default n
    depends on KERNEL_CONTAINER

config CHROOT
    bool "Enable chroot"
    default n
    depends on MNT_CONTAINER

config IPC_CONTAINER
    bool "Enable ipc container Feature"
    default n
    depends on KERNEL_CONTAINER

config TIME_CONTAINER
    bool "Enable time container"
    default n
    depends on KERNEL_CONTAINER

config USER_CONTAINER
    bool "Enable user container"
    default n
    depends on KERNEL_CONTAINER

config NET_CONTAINER
    bool "Enable net container"
    default n
    depends on KERNEL_CONTAINER


A
arvinzzz 已提交
164 165 166 167 168 169 170 171
######################### config options of trace #########################
source "kernel/extended/trace/Kconfig"

######################### config options of blackbox #########################
source "kernel/extended/blackbox/Kconfig"

######################### config options of hidumper #########################
source "kernel/extended/hidumper/Kconfig"
L
LiteOS2021 已提交
172 173

######################### config options of perf #########################
L
LiteOS2021 已提交
174 175 176
source "kernel/extended/perf/Kconfig"

######################### config options of lms #########################
177 178 179
source "kernel/extended/lms/Kconfig"

######################### config options of hilog #########################
Z
zhushengle 已提交
180
source "kernel/extended/hilog/Kconfig"