I am looking at creating a new defconfig file.
This used to work with 3.x kernel releases , so looking at getting feedback on whats the ideal/ correct way of doing this.
First generate the .config
make CROSS_COMPILE=$CROSS ARCH=$ARC -j8 defconfig distro.config
Then customize that using make menuconfig
make CROSS_COMPILE=$CROSS ARCH=$ARC menuconfig
Then save the config
make CROSS_COMPILE=$CROSS ARCH=$ARC savedefconfig
Now copy defconfig kernel/configs/distro2.config
This no longer seems to take effect though. Because the next time I run the below command the modules I had unchecked seem to still be available !
make CROSS_COMPILE=$CROSS ARCH=$ARC -j8 defconfig distro2.config
PS : I dont want to disturb the original ./arch/arm64/configs/defconfig file .