public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/genkernel:master commit in: arch/x86_64/, arch/x86/, defaults/
@ 2013-06-09 16:00 Richard Yao
  0 siblings, 0 replies; only message in thread
From: Richard Yao @ 2013-06-09 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     3817a4959faa3d93df9d1340364f77020271d1f2
Author:     Ben Kohler <bkohler <AT> gmail <DOT> com>
AuthorDate: Sun Jun  9 15:58:23 2013 +0000
Commit:     Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 15:58:23 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=3817a495

Fix RTC support in generic config files, bug #444932

Although the shipping kernel-config with genkernel has ~10 of these
various RTC hardware drivers marked as modules, the resulting built
kernel & initramfs has these things disabled.  Here's an excerpt from
arch/x86_64/kernel-config:

CONFIG_RTC_CLASS=m
CONFIG_RTC_DRV_DS1374=m
CONFIG_RTC_DRV_MAX6900=m
CONFIG_RTC_DRV_M41T80=m
CONFIG_RTC_DRV_CMOS=m
CONFIG_RTC_DRV_DS1553=m
CONFIG_RTC_DRV_DS1742=m
CONFIG_RTC_DRV_STK17TA8=m
CONFIG_RTC_DRV_M48T86=m
CONFIG_RTC_DRV_M48T59=m
CONFIG_RTC_DRV_V3020=m

The problem is that CONFIG_RTC_CLASS is a boolean, not tristate, so =m
is not valid, and so all things depending on RTC_CLASS get dropped from
the config.  Changing this to CONFIG_RTC_CLASS=y should fix the issue, I
have tested this locally with success.

Signed-off-by: Richard Yao <ryao <AT> gentoo.org>

---
 arch/x86/kernel-config    | 2 +-
 arch/x86_64/kernel-config | 2 +-
 defaults/kernel-config    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel-config b/arch/x86/kernel-config
index baa727c..bfaf75d 100644
--- a/arch/x86/kernel-config
+++ b/arch/x86/kernel-config
@@ -3176,7 +3176,7 @@ CONFIG_INFINIBAND_SRP=m
 CONFIG_INFINIBAND_ISER=m
 # CONFIG_EDAC is not set
 CONFIG_RTC_LIB=m
-CONFIG_RTC_CLASS=m
+CONFIG_RTC_CLASS=y
 
 #
 # RTC interfaces

diff --git a/arch/x86_64/kernel-config b/arch/x86_64/kernel-config
index cdb9c45..4209191 100644
--- a/arch/x86_64/kernel-config
+++ b/arch/x86_64/kernel-config
@@ -2861,7 +2861,7 @@ CONFIG_INFINIBAND_SRP=m
 CONFIG_INFINIBAND_ISER=m
 # CONFIG_EDAC is not set
 CONFIG_RTC_LIB=m
-CONFIG_RTC_CLASS=m
+CONFIG_RTC_CLASS=y
 
 #
 # RTC interfaces

diff --git a/defaults/kernel-config b/defaults/kernel-config
index 0597ca9..aeece3a 100644
--- a/defaults/kernel-config
+++ b/defaults/kernel-config
@@ -3176,7 +3176,7 @@ CONFIG_INFINIBAND_SRP=m
 CONFIG_INFINIBAND_ISER=m
 # CONFIG_EDAC is not set
 CONFIG_RTC_LIB=m
-CONFIG_RTC_CLASS=m
+CONFIG_RTC_CLASS=y
 
 #
 # RTC interfaces


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-06-09 16:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-09 16:00 [gentoo-commits] proj/genkernel:master commit in: arch/x86_64/, arch/x86/, defaults/ Richard Yao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox