Files
rk35xx-android14/kernel/configs/u/android-6.1/android-base-conditional.xml
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

241 lines
4.6 KiB
XML

<kernel minlts="6.1.0" />
<!-- KEEP ALPHABETICALLY SORTED -->
<!-- ARM base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_ARM</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_AEABI</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_CPU_SW_DOMAIN_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
</config>
<config>
<key>CONFIG_OABI_COMPAT</key>
<value type="bool">n</value>
</config>
</group>
<!-- ARM64 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_ARM64</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_ARM64_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_ARM64_SW_TTBR0_PAN</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_ARMV8_DEPRECATED</key>
<value type="bool">y</value>
</config>
<!--<config>
<key>CONFIG_CFI_CLANG</key>
<value type="bool">y</value>
</config>-->
<config>
<key>CONFIG_COMPAT</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_CP15_BARRIER_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RANDOMIZE_BASE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_SETEND_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_SWP_EMULATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PMD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PUD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_KFENCE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_USERFAULTFD</key>
<value type="bool">y</value>
</config>
</group>
<!-- x86 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_X86</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_DEVKMEM</key>
<value type="bool">n</value>
</config>
<config>
<key>CONFIG_KFENCE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_PAGE_TABLE_ISOLATION</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RETPOLINE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PMD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_HAVE_MOVE_PUD</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_RANDOMIZE_BASE</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_USERFAULTFD</key>
<value type="bool">y</value>
</config>
</group>
<!-- x86_64 base requirements -->
<group>
<conditions>
<config>
<key>CONFIG_X86_64</key>
<value type="bool">y</value>
</config>
</conditions>
<!--<config>
<key>CONFIG_CFI_CLANG</key>
<value type="bool">y</value>
</config>-->
<config>
<key>CONFIG_BPF_JIT_ALWAYS_ON</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_ACPI || CONFIG_OF -->
<group>
<conditions>
<config>
<key>CONFIG_ACPI</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_OF</key>
<value type="bool">y</value>
</config>
</group>
<group>
<conditions>
<config>
<key>CONFIG_OF</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_ACPI</key>
<value type="bool">y</value>
</config>
</group>
<!-- EXT4 requirements -->
<group>
<conditions>
<config>
<key>CONFIG_EXT4_FS</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_EXT4_FS_POSIX_ACL</key>
<value type="bool">y</value>
</config>
</group>
<!-- F2FS requirements -->
<group>
<conditions>
<config>
<key>CONFIG_F2FS_FS</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_F2FS_FS_POSIX_ACL</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_VMAP_STACK requirement -->
<group>
<conditions>
<config>
<key>CONFIG_HAVE_ARCH_VMAP_STACK</key>
<value type="bool">y</value>
</config>
<config>
<key>CONFIG_KASAN_SW_TAGS</key>
<value type="bool">n</value>
</config>
</conditions>
<config>
<key>CONFIG_VMAP_STACK</key>
<value type="bool">y</value>
</config>
</group>
<!-- CONFIG_INIT_STACK_ALL_ZERO requirement -->
<group>
<conditions>
<config>
<key>CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO</key>
<value type="bool">y</value>
</config>
</conditions>
<config>
<key>CONFIG_INIT_STACK_ALL_ZERO</key>
<value type="bool">y</value>
</config>
</group>