The Linux kernel version is an important configuration aspect still missing from menuconfig. It should be possible to have the full config in a single .config file; Makefiles are the wrong place for setting this parameter. I agree it would be uncommon to change this, that's why it is a developer option. I think we're missing a process for updating the kernel version; can't just edit the Makefile and hope all images keep working. Device profiles could be a way to at least coordinate testing of a specific version for a specific device. It does not set the kernel version, but the suggested version for testing
Regards, Jeroen Sent from Samsung Mobile Felix Fietkau <n...@openwrt.org> wrote: On 2012-04-13 9:01 PM, Jeroen van Bemmel wrote: > A grep for LINUX_VERSION in target/linux/*/Makefile shows that OpenWRT > current uses a large number of different kernel versions for the various > platforms. While there may be reasons for using a particular version, it > would be nice if newer kernels were available for those platforms that > support them. Ideally, most platforms would use the same, latest stable > Linux kernel version > > This patch makes it easier for developers to generate an image using a > specific Linux kernel version. It adds a configuration option to the > Developer menu, selecting the latest stable kernel (3.3.2) by default to > stimulate experimentation with this version. Device profiles may select > a specific kernel version as default by declaring a pseudo-module > "kernel-x.y.z" as default (strings to be added to Config.in as needed) > > The patch updates the Makefile for brcm63xx to enable a kernel version > override; other Makefiles will need to be patched in a similar way. > Nothing is changed unless a developer explicitly selects the new option > in the menu I don't really see the point in doing so. Using a different version from the one in the Makefile should be a rare exception rather than something used by many people. I'm especially against the idea of device profile specific kernel versions, that just adds unnecessary configuration bloat and extra maintenance effort. A target (or subtarget) should only have one fully maintained kernel version and people who want to test other versions can simply change the Makefile. - Felix
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel