[PATCH] ramips/mt7621: refresh the kernel config

Felix Fietkau nbd at nbd.name
Wed Dec 2 13:46:26 EST 2020


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.

- Felix



More information about the openwrt-devel mailing list