summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-08-04 09:51:07 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-08-04 09:51:07 +0000
commit0d9ecfa564aec2d8d85b7e3703d49064674564df (patch)
treee34cb618a0f75105408d6dbcfa94e7ccee19825b
parentcccc9e214bbdddf7e310c9f0ee0c9c620b57a2af (diff)
downloadmtk-20170518-0d9ecfa564aec2d8d85b7e3703d49064674564df.zip
mtk-20170518-0d9ecfa564aec2d8d85b7e3703d49064674564df.tar.gz
mtk-20170518-0d9ecfa564aec2d8d85b7e3703d49064674564df.tar.bz2
kernel: kmod-appletalk: fix dependencies
When CONFIG_LLC gets build as a module, also p8022.ko and psnap.ko are getting build as a module. kmod-appletalk depends on llc.ko and psnap.ko, but at least psnap.ko,was not packed. On most systems CONFIG_LLC will be build into the kernel so this problem does not show up. This fixes the missing dependency of kmod-appletalk on psnap.ko Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37673
-rw-r--r--package/kernel/linux/modules/netsupport.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index cf31f28..da84ab8 100644
--- a/package/kernel/linux/modules/netsupport.mk
+++ b/package/kernel/linux/modules/netsupport.mk
@@ -45,6 +45,7 @@ $(eval $(call KernelPackage,atmtcp))
define KernelPackage/appletalk
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Appletalk protocol support
+ DEPENDS:=+PACKAGE_kmod-llc:kmod-llc
KCONFIG:= \
CONFIG_ATALK \
CONFIG_DEV_APPLETALK \
@@ -100,8 +101,11 @@ define KernelPackage/llc
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=ANSI/IEEE 802.2 LLC support
KCONFIG:=CONFIG_LLC
- FILES:=$(LINUX_DIR)/net/llc/llc.ko
- AUTOLOAD:=$(call AutoLoad,09,llc)
+ FILES:= \
+ $(LINUX_DIR)/net/llc/llc.ko \
+ $(LINUX_DIR)/net/802/p8022.ko \
+ $(LINUX_DIR)/net/802/psnap.ko
+ AUTOLOAD:=$(call AutoLoad,09,llc p8022 psnap)
endef
define KernelPackage/llc/description