[PATCH] ramips/mt7621: refresh the kernel config

Adrian Schmutzler mail at adrianschmutzler.de
Wed Dec 2 14:12:26 EST 2020


> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Felix Fietkau
> Sent: Mittwoch, 2. Dezember 2020 19:46
> To: Adrian Schmutzler <mail at adrianschmutzler.de>; 'Rui Salvaterra'
> <rsalvaterra at gmail.com>; openwrt-devel at lists.openwrt.org
> Subject: Re: [PATCH] ramips/mt7621: refresh the kernel config
> 
> 
> On 2020-12-02 19:45, Adrian Schmutzler wrote:
> >> -----Original Message-----
> >> From: Felix Fietkau [mailto:nbd at nbd.name]
> >> Sent: Mittwoch, 2. Dezember 2020 19:25
> >> To: Adrian Schmutzler <mail at adrianschmutzler.de>; 'Rui Salvaterra'
> >> <rsalvaterra at gmail.com>; openwrt-devel at lists.openwrt.org
> >> Subject: Re: [PATCH] ramips/mt7621: refresh the kernel config
> >>
> >>
> >> Hi,
> >>
> >>
> >> On 2020-12-02 18:32, Adrian Schmutzler wrote:
> >> >> -----Original Message-----
> >> >> From: openwrt-devel [mailto:openwrt-devel-
> >> bounces at lists.openwrt.org]
> >> >> On Behalf Of Rui Salvaterra
> >> >> Sent: Mittwoch, 2. Dezember 2020 16:42
> >> >> To: openwrt-devel at lists.openwrt.org
> >> >> Cc: Rui Salvaterra <rsalvaterra at gmail.com>
> >> >> Subject: [PATCH] ramips/mt7621: refresh the kernel config
> >> >>
> >> >> The removed config symbols are already enabled by the generic
> >> >> kernel configuration (or by default), while the added ones are
> >> >> forcefully enabled by the specific architecture.
> >> >
> >> > as already discussed on IRC, this is removing a lot of symbols,
> >> > which makes
> >> not much sense to me.
> >> >
> >> > It appears that this commit broke the behavior of "make
> kernel_oldconfig":
> >> >
> >> >
> >>
> https://github.com/openwrt/openwrt/commit/a8fb12a7d62c94fd1bbda3327
> >> 52e
> >> > 0f8c794f3702
> >> >
> >> > Just reverting that commit results in something that "looks reasonable"
> >> after make kernel_oldconfig.
> >> >
> >> > I'm marking that patch with "changes requested", though it's not
> >> > really
> >> Rui's fault in the first place.
> >> >
> >> > Let's see where this evolves to.
> >> Removing a lot of symbols was the whole point behind my commit, and
> >> it makes sense that any subsequent refresh has a big negative delta.
> >>
> >> I tried to be careful about only filtering out auto-generated symbols.
> >
> > But then I don't understand why target/linux/generic/config-filter
> > contains all patterns followed by "is not set", when it's meant to
> > match =y as well?
> That's just an artifact to keep it in kconfig.pl syntax (since that's what's being
> used to filter). The value of the symbols is irrelevant, symbols matching the
> name will be filtered.

Okay, thanks. So, this is essentially a misunderstanding from my side then, as the new concept is not really explained in detail ;-)

I will set the patch from Rui back to "New" then, as it's technically not wrong, but I was misled in my judgement.

Best

Adrian

> 
> - Felix
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20201202/25a1f22a/attachment.sig>


More information about the openwrt-devel mailing list