source: trunk/package/kernel/modules/001-depends.mk @ 28668

Last change on this file since 28668 was 28668, checked in by nico, 5 years ago

package/kernel: various NLS handling fixes

  • move AddDepends/nls to 001-depends.mk for proper use by other packages (closes: #7639)
  • make kmod-usb-core use it
  • fix deps generated from its arguments (as used in kmod-fs-hfsplus)
File size: 678 bytes
Line 
1#
2# Copyright (C) 2010-2011 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8define AddDepends/crc16
9  DEPENDS+= +kmod-lib-crc16 $(1)
10endef
11
12define AddDepends/hid
13  DEPENDS+= +kmod-hid $(1)
14endef
15
16define AddDepends/input
17  DEPENDS+= +kmod-input-core $(1)
18endef
19
20
21define AddDepends/nls
22  DEPENDS+= +kmod-nls-base $(foreach cp,$(1),+kmod-nls-$(cp))
23endef
24
25
26define SetDepends/rfkill
27  DEPENDS:= @(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86||TARGET_gemini)
28endef
29
30define AddDepends/rfkill
31  DEPENDS+= +(TARGET_ar71xx||TARGET_brcm47xx||TARGET_s3c24xx||TARGET_x86):kmod-rfkill $(1)
32endef
Note: See TracBrowser for help on using the repository browser.