Changeset 31778


Ignore:
Timestamp:
2012-05-17T17:28:13+02:00 (6 years ago)
Author:
nbd
Message:

kernel: remove the dummy kmod-rtc-core-* package, make all rtc drivers depend on @RTC_SUPPORT - prevent RTC support from leaking into kernels for targets that do not need this

Location:
trunk/package/kernel/modules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/001-depends.mk

    r31634 r31778  
    3434 
    3535define AddDepends/rtc 
    36   DEPENDS+= \ 
    37     +(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-2.6 \ 
    38     +!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-3.x 
     36  DEPENDS+= @RTC_SUPPORT 
    3937endef 
  • trunk/package/kernel/modules/other.mk

    r31776 r31778  
    737737$(eval $(call KernelPackage,pwm-gpio)) 
    738738 
    739 define KernelPackage/rtc-core-2.6 
    740   SUBMENU:=$(OTHER_MENU) 
    741   DEPENDS:=@(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) 
    742   TITLE:=Real Time Clock class support 
    743   KCONFIG:=CONFIG_RTC_CLASS 
    744   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko 
    745   AUTOLOAD:=$(call AutoLoad,29,rtc-core) 
    746 endef 
    747  
    748 define KernelPackage/rtc-core-2.6/description 
    749  Generic RTC class support. 
    750 endef 
    751  
    752 $(eval $(call KernelPackage,rtc-core-2.6)) 
    753  
    754 define KernelPackage/rtc-core-3.x 
    755   SUBMENU:=$(OTHER_MENU) 
    756   DEPENDS:=@!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39) 
    757   TITLE:=Real Time Clock class support 
    758   KCONFIG:=CONFIG_RTC_CLASS=y 
    759 endef 
    760  
    761 define KernelPackage/rtc-core-3.x/description 
    762  Generic RTC class support. 
    763 endef 
    764  
    765 $(eval $(call KernelPackage,rtc-core-3.x)) 
    766  
    767739define KernelPackage/rtc-pcf8563 
    768740  SUBMENU:=$(OTHER_MENU) 
Note: See TracChangeset for help on using the changeset viewer.