[OpenWrt-Devel] [PATCH 1/2] kernel: Use defconfig instead of full fledged kernel configuration
Maxime Ripard
maxime.ripard at free-electrons.com
Tue Nov 18 05:27:55 EST 2014
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
> change?
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.
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.
Maxime
--
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20141118/bdc0ef45/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list