I add “CONFIG_MY_TEST=y” in openwrt/target/linux/mediatek/mt7622/config-5.4. Then I use "make -j24 V=s" to build mt7622 project. After build success,I can't find “CONFIG_MY_TEST=y” in kernel's .config?
If you are talking about the kernel module (kmod), see an example here.
I drafted the pstore ramoops kernel feature as a selectable package. Kernel features need to be defined as "KernelPackage" for OpenWrt build system for the options to have effect.
Pure kernel option toggles are different. Regarding them, it should be enough to just change the value from the default.