X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/00a1fec9dfaec8f76aa209994c6ede0744520438..74d78766e81f8608556c0ca22a3804f4b5fd1a87:/package/kernel/modules/001-depends.mk diff --git a/package/kernel/modules/001-depends.mk b/package/kernel/modules/001-depends.mk index 93aaeb33f..a52794b97 100644 --- a/package/kernel/modules/001-depends.mk +++ b/package/kernel/modules/001-depends.mk @@ -6,7 +6,7 @@ # define AddDepends/crc16 - DEPENDS+= +kmod-crc16 $(1) + DEPENDS+= +kmod-lib-crc16 $(1) endef define AddDepends/hid @@ -18,6 +18,11 @@ define AddDepends/input 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 @@ -25,3 +30,10 @@ endef define AddDepends/rfkill DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1) endef + + +define AddDepends/rtc + DEPENDS+= \ + +(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-2.6 \ + +!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38||LINUX_2_6_39):kmod-rtc-core-3.x +endef