Hi, On Mon, 22 Jan 2024 at 21:27, Tim Harvey <thar...@gateworks.com> wrote: > > Greetings, > > What is the best known method to add items to config-$KVER when you > have subtargets with individual config-default files - specifically > how are the items in this file ordered properly? Maybe the norm is to > put them alphabetically (even though the kernel doesn't always do > this) or to put them at the bottom? When using config-default and even > config-$KVER config fragments they don't compare well to a full linux > .config file in order to know where they should be placed.
The original intended way is via kernel's menuconfig: make kernel_menuconfig CONFIG_TARGET=subtarget_target which will sort them for you and drop any duplicated configs with the same value as the generic/subtarget config. this may produce a lot of changes though through if this hasn't been done for a while. Likewise to modify the subtarget config you would use CONFIG_TARGET=subtarget You could also use kernel_oldconfig to refresh the configs after adding the option manually. Best Regards, Jonas _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel