Changeset 28653


Ignore:
Timestamp:
2011-10-28T15:11:06+02:00 (6 years ago)
Author:
nico
Message:

package/kernel: remove SetDepends not needed anymore

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

Legend:

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

    r27988 r28653  
    11# 
    2 # Copyright (C) 2010 OpenWrt.org 
     2# Copyright (C) 2010-2011 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    66# 
    77 
    8 # XXX: xburst has CONFIG_CRC16=y because of CONFIG_UBIFS_FS=y 
    9  
    10 define SetDepends/crc16 
    11   DEPENDS:= @!TARGET_xburst 
    12 endef 
    13  
    148define AddDepends/crc16 
    15   DEPENDS+= +!TARGET_xburst:kmod-crc16 $(1) 
    16 endef 
    17  
    18  
    19 define SetDepends/hid 
    20   DEPENDS:= @!TARGET_x86 
     9  DEPENDS+= +kmod-crc16 $(1) 
    2110endef 
    2211 
    2312define AddDepends/hid 
    24   DEPENDS+= +!TARGET_x86:kmod-hid $(1) 
    25  
    26 endef 
    27  
    28  
    29 define SetDepends/input 
    30   DEPENDS:= @!(TARGET_x86_generic||TARGET_x86_kvm_guest) 
     13  DEPENDS+= +kmod-hid $(1) 
    3114endef 
    3215 
    3316define AddDepends/input 
    34   DEPENDS+= +!(TARGET_x86_generic||TARGET_x86_kvm_guest):kmod-input-core $(1) 
     17  DEPENDS+= +kmod-input-core $(1) 
    3518endef 
    3619 
  • trunk/package/kernel/modules/lib.mk

    r28652 r28653  
    5959  FILES:=$(LINUX_DIR)/lib/crc16.ko 
    6060  AUTOLOAD:=$(call AutoLoad,20,crc16,1) 
    61   $(call SetDepends/crc16) 
    6261endef 
    6362 
  • trunk/package/kernel/modules/other.mk

    r28638 r28653  
    261261  FILES:=$(LINUX_DIR)/drivers/hid/hid.ko 
    262262  AUTOLOAD:=$(call AutoLoad,61,hid) 
    263   $(call SetDepends/hid) 
    264263  $(call AddDepends/input,+kmod-input-evdev) 
    265264endef 
     
    276275  TITLE:=Input device core 
    277276  KCONFIG:=CONFIG_INPUT 
    278   $(call SetDepends/input) 
    279277  FILES:=$(LINUX_DIR)/drivers/input/input-core.ko 
    280278  AUTOLOAD:=$(call AutoLoad,19,input-core) 
Note: See TracChangeset for help on using the changeset viewer.