[OpenWrt-Devel] [PATCH] kernel: fix building RTC drivers
Felix Fietkau
nbd at openwrt.org
Mon Nov 16 03:55:57 EST 2015
On 2015-11-15 23:24, Hauke Mehrtens wrote:
> On 11/09/2015 06:05 PM, Helmut Schaa wrote:
>> All RTC drivers require the kernel to be built with CONFIG_RTC_CLASS=y.
>> Set it accordingly.
>>
>> Tested only with DS1307.
>>
>> Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
>> ---
>> package/kernel/linux/modules/other.mk | 24 ++++++++++++++++--------
>> 1 file changed, 16 insertions(+), 8 deletions(-)
>>
>
> With this patch the OpenWrt releases would contain the RTC_CLASS code
> for all targets which would increase the size of the kernel. Currently
> only some targets are activating CONFIG_RTC_CLASS.
>
> Have you measured how much bigger the kernel would be with this option?
>
> On which target do you need this?
Those RTC drivers already depend on the 'rtc' feature flag, which is
only used by a few targets.
This patch will not add bloat to space constrained targets.
- Felix
_______________________________________________
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