[OpenWrt-Devel] [PATCH 1/2] kernel: Use defconfig instead of full fledged kernel configuration
florian at openwrt.org
Sun Nov 23 21:42:25 EST 2014
Le 18/11/2014 02:27, Maxime Ripard a écrit :
> Hi Felix,
> On Sun, Nov 09, 2014 at 11:54:15AM +0100, Felix Fietkau wrote:
>> On 2014-11-07 11:58, Maxime Ripard wrote:
>>> Rely on the Kconfig defconfig mechanism to fill all the missing options,
>>> instead of needing to set them all in the kernel configurations like what was
>>> previously done.
>>> This will allow to trim down a lot the configuration files, avoid carrying
>>> unused configuration options and preserve the developpers mental health.
>>> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
>> I think this is a very good idea. Did you verify on all relevant
>> architectures that the resulting kernel config stays the same with this
> I've given a test-run on all the supported architectures, both with
> and without the patch.
> It pointed out that there was an incorrect assumption on my side that
> $(ARCH) would be the Linux architecture, which it isn't. A second
> version will follow shortly to address this.
I have not seen a v2 patchset which addresses that? Thanks!
> Beside ramips that failed to build on my build machine, and um that
> was missing the needed exception to convert it to the linux
> architecture, the only change in *all* the generated configuration is
> CONFIG_INITRAMFS_SOURCE being at a different location in the file.
> Note that this is just with this patch applied, so there was no
> trimmed version of the configuration files involved.
> You can find the build logs and kernel configuration files there:
> http://free-electrons.com/~maxime/pub/openwrt/, both with and without
> the patch applied.
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel