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) SVN-Revision: 28668
This commit is contained in:
parent
0c95fe5de1
commit
0a84f6a74e
@ -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
|
||||
|
@ -1,14 +1,10 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
define AddDepends/nls
|
||||
DEPENDS+= +kmod-nls-base
|
||||
endef
|
||||
|
||||
define KernelPackage/nls-base
|
||||
SUBMENU:=Native Language Support
|
||||
TITLE:=Native Language Support
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2006-2010 OpenWrt.org
|
||||
# Copyright (C) 2006-2011 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
@ -14,10 +14,11 @@ USBINPUT_DIR?=input/misc
|
||||
define KernelPackage/usb-core
|
||||
SUBMENU:=$(USB_MENU)
|
||||
TITLE:=Support for USB
|
||||
DEPENDS:=@USB_SUPPORT +kmod-nls-base
|
||||
DEPENDS:=@USB_SUPPORT
|
||||
KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
|
||||
FILES:=$(LINUX_DIR)/drivers/usb/core/usbcore.ko
|
||||
AUTOLOAD:=$(call AutoLoad,20,usbcore,1)
|
||||
$(call AddDepends/nls)
|
||||
endef
|
||||
|
||||
define KernelPackage/usb-core/description
|
||||
|
Loading…
Reference in New Issue
Block a user