Skip to content

Commit

Permalink
configs: Add aosp.config
Browse files Browse the repository at this point in the history
Add kernel/configs/aosp.config to enable a few settings
which were found needed for building AOSP.

Signed-off-by: Vincent Knecht <[email protected]>
  • Loading branch information
vknecht committed Nov 5, 2023
1 parent 1e60c68 commit e8d9393
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions kernel/configs/aosp.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# CONFIG_LOCALVERSION_AUTO is not set

# SELinux
CONFIG_LSM="selinux"

# Fix insmod failures
CONFIG_CRYPTO_SHA512=y
CONFIG_CRYPTO_SHA512_ARM64=y
CONFIG_CRYPTO_SHA512_ARM64_CE=y
CONFIG_CRYPTO_LIB_SM4=y
CONFIG_CRYPTO_SM4_ARM64_CE=y
CONFIG_CRYPTO_SM4_ARM64_CE_BLK=y
CONFIG_CRYPTO_SM4_ARM64_NEON_BLK=y

# Fix "DMABUFHEAPS: No ion heap of name system exists"
CONFIG_DMABUF_HEAPS=y
CONFIG_DMABUF_HEAPS_SYSTEM=y
CONFIG_DMABUF_HEAPS_CMA=y

0 comments on commit e8d9393

Please sign in to comment.