On Mon, Aug 11, 2014 at 10:06:27PM +0200, Felix Fietkau wrote: > On 2014-08-11 10:47, Luka Perkov wrote: > > Use support for options to enable targets and profiles select kernel or dtb > > inclusion by default. > > > > Signed-off-by: Luka Perkov <l...@openwrt.org> > What's the rationale for having this stuff as config options in the > first place? It seems to me that it makes a lot more sense to control > this from the target's image/Makefile.
Here are the reasons: * Simplified image/Makefile for targets, no extra ifdefs * Users can select if they want to include kernel/dtb or not - it is not hardcoded in the image/Makefile. For example, if one is building ramdisk image only no need to include kernel in rootfs. * Introduces ground work for including other options which can not be built as modules. Such as lxc/kexec support by default. Luka _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel