add missing dependencies and kernel config options
add missing dependencies and kernel config options

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8112 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/package/kernel/modules/i2c.mk
+++ b/package/kernel/modules/i2c.mk
@@ -11,6 +11,7 @@
 define KernelPackage/i2c-core
   TITLE:=I2C support
   DESCRIPTION:=Kernel modules for i2c support
+  DEPENDS:=@LINUX_2_6
   SUBMENU:=$(I2CMENU)
   KCONFIG:=CONFIG_I2C
   FILES:=$(LINUX_DIR)/drivers/i2c/*.$(LINUX_KMOD_SUFFIX)

--- a/package/kernel/modules/other.mk
+++ b/package/kernel/modules/other.mk
@@ -157,6 +157,7 @@
   TITLE:=CAPI Support
   DESCRIPTION:=Kernel module for basic CAPI support
   KCONFIG:=CONFIG_ISDN CONFIG_ISDN_CAPI CONFIG_ISDN_CAPI_CAPI20
+  DEPENDS:=@LINUX_2_6
   SUBMENU:=$(EMENU)
   AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
   FILES:=$(LINUX_DIR)/drivers/isdn/capi/*capi.$(LINUX_KMOD_SUFFIX)
@@ -363,6 +364,7 @@
   TITLE:=Input device core
   DESCRIPTION:=Kernel modules for support of input device
   SUBMENU:=$(EMENU)
+  DEPENDS:=@LINUX_2_6
   KCONFIG:=CONFIG_INPUT
   FILES:=$(LINUX_DIR)/drivers/input/input-core.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,input-core)

--- a/target/linux/generic-2.4/config-template
+++ b/target/linux/generic-2.4/config-template
@@ -192,6 +192,7 @@
 CONFIG_IP6_NF_MATCH_MULTIPORT=m
 # CONFIG_IP6_NF_MATCH_OPTS is not set
 CONFIG_IP6_NF_MATCH_OWNER=m
+CONFIG_IP6_NF_MATCH_RANDOM=m
 # CONFIG_IP6_NF_MATCH_RT is not set
 CONFIG_IP6_NF_QUEUE=m
 CONFIG_IP6_NF_TARGET_IMQ=m
@@ -242,6 +243,7 @@
 CONFIG_IP_NF_MATCH_OWNER=m
 CONFIG_IP_NF_MATCH_PKTTYPE=m
 # CONFIG_IP_NF_MATCH_QUOTA is not set
+CONFIG_IP_NF_MATCH_RANDOM=m
 CONFIG_IP_NF_MATCH_RECENT=m
 CONFIG_IP_NF_MATCH_SET=m
 CONFIG_IP_NF_MATCH_STATE=y

comments