openwrtv4/package/kernel/modules/001-depends.mk
Hauke Mehrtens 8ff6417c41 kernel: remove kernel modules and references to kernels <= 2.6.36
OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

SVN-Revision: 31634
2012-05-06 20:43:17 +00:00

39 lines
857 B
Makefile

#
# Copyright (C) 2010-2011 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
define AddDepends/crc16
DEPENDS+= +kmod-lib-crc16 $(1)
endef
define AddDepends/hid
DEPENDS+= +kmod-hid $(1)
endef
define AddDepends/input
DEPENDS+= +kmod-input-core $(1)
endef
define AddDepends/nls
DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
endef
define SetDepends/rfkill
DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini)
endef
define AddDepends/rfkill
DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
endef
define AddDepends/rtc
DEPENDS+= \
+(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-2.6 \
+!(LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-3.x
endef