Skip to content

Commit 796594a

Browse files
committed
configs: Add aosp.config
Add kernel/configs/aosp.config to enable a few settings which were found needed for building AOSP. Signed-off-by: Vincent Knecht <[email protected]>
1 parent 68b0b11 commit 796594a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

kernel/configs/aosp.config

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# CONFIG_LOCALVERSION_AUTO is not set
2+
3+
# SELinux
4+
CONFIG_LSM="selinux"
5+
6+
# Fix insmod failures
7+
CONFIG_CRYPTO_SHA512=y
8+
CONFIG_CRYPTO_SHA512_ARM64=y
9+
CONFIG_CRYPTO_SHA512_ARM64_CE=y
10+
CONFIG_CRYPTO_LIB_SM4=y
11+
CONFIG_CRYPTO_SM4_ARM64_CE=y
12+
CONFIG_CRYPTO_SM4_ARM64_CE_BLK=y
13+
CONFIG_CRYPTO_SM4_ARM64_NEON_BLK=y
14+
15+
# Fix "DMABUFHEAPS: No ion heap of name system exists"
16+
CONFIG_DMABUF_HEAPS=y
17+
CONFIG_DMABUF_HEAPS_SYSTEM=y
18+
CONFIG_DMABUF_HEAPS_CMA=y

0 commit comments

Comments
 (0)