I'm following
https://www.android-x86.org/documentation/customize_kernel.html to customize my kernel configuration. However failed.
Here's my workflow (branch Oreo-x86):
cd aosp-x86
source build/envsetup.sh
lunch android_x86_64-userdebug
/usr/bin/make -C kernel O=$OUT/obj/kernel ARCH=x86 menuconfig
Make F2FS build-in. (CONFIG_F2FS=y)
cp $OUT/obj/kernel/.config kernel/arch/x86/configs/QHWconfig
cat kernel/arch/x86/configs/QHWconfig | grep F2FS
showing CONFIG_F2FS_FS=y
make iso_img TARGET_PRODUCT=android_x86 TARGET_KERNEL_CONFIG=QHWconfig
After installed, I boot android with debug mode.
Then:
zcat /proc/config.gz | grep F2FS
It shows me that 'CONFIG_F2FS_FS=m'. This means that the make operation didn't use the config file that I chose.
Any ideas?
BTW, the reason I use
/usr/bin/make -C kernel O=$OUT/obj/kernel ARCH=x86 menuconfig instead of
make -C kernel O=$OUT/obj/kernel ARCH=x86 menuconfig is that the later will generate an error. I've issued a pull request to
https://github.com/android-x86/android-x86.github.io. Please review it, thanks.