As mentioned in android documention, Android 12 should not use debug filesystem in user mode.
I want to build AOSP 12.1 for some device, but building in user mode results to error below:
files are incompatible: Runtime info and framework compatibility matrix are incompatible: No compatible kernel requirement found (kernel FCM version = 5)
for kernel requirement at matrix level 5, for config CONFIG_DEBUG_FS, value=y but required n
This config (CONFIG_DEBUG_FS) isn't my defconfig. I also added CONFIG_DEBUG_FS=n config to defconfig, but no change. result kernel config (obj/KERNEL_OBJ/.config) after build is same (CONFIG_DEBUG_FS=y)
It seems that Android build system uses a base config from host os OR there are some depencencies to this config such that this config is ignored.
How to disable this config in android build system?