[OpenWrt-Devel] [PATCH] kernel: fix building RTC drivers

Hauke Mehrtens hauke at hauke-m.de
Sun Nov 15 17:24:48 EST 2015


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?

Hauke
_______________________________________________
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