From 095f5eb5fab8867dd9b68193b53e521c7ee8303e Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 9 Apr 2011 23:34:20 +0000 Subject: kernel: add symbols, small fixes * Some module should be loaded later to load them after the modules they are depending on * add some more missing config symbols * make CS5535 build again git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26570 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/netfilter.mk | 3 ++- package/kernel/modules/other.mk | 12 +++++------- package/mac80211/Makefile | 2 +- 3 files changed, 8 insertions(+), 9 deletions(-) (limited to 'package') diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index 919e8ad19d..9f6e23ace8 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -296,6 +296,7 @@ $(eval $(call KernelPackage,ipt-led)) define KernelPackage/ipt-tproxy TITLE:=Transparent proxying support + DEPENDS+=+IPV6:kmod-ipv6 KCONFIG:= \ CONFIG_NETFILTER_TPROXY \ CONFIG_NETFILTER_XT_MATCH_SOCKET \ @@ -303,7 +304,7 @@ define KernelPackage/ipt-tproxy FILES:= \ $(LINUX_DIR)/net/netfilter/nf_tproxy_core.ko \ $(foreach mod,$(IPT_TPROXY-m),$(LINUX_DIR)/net/$(mod).ko) - AUTOLOAD:=$(call AutoLoad,45,$(notdir nf_tproxy_core $(IPT_TPROXY-m))) + AUTOLOAD:=$(call AutoLoad,50,$(notdir nf_tproxy_core $(IPT_TPROXY-m))) $(call AddDepends/ipt) endef diff --git a/package/kernel/modules/other.mk b/package/kernel/modules/other.mk index 8c03efcaf3..d05c1c6f08 100644 --- a/package/kernel/modules/other.mk +++ b/package/kernel/modules/other.mk @@ -182,8 +182,8 @@ $(eval $(call KernelPackage,eeprom-93cx6)) define KernelPackage/gpio-cs5535 SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver - DEPENDS:=@TARGET_x86 - KCONFIG:=CONFIG_CS5535_GPIO + DEPENDS:=@TARGET_x86 @LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32||LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37 + KCONFIG:=CONFIG_CS5535_GPIO CONFIG_GPIOLIB=y FILES:=$(LINUX_DIR)/drivers/char/cs5535_gpio.ko AUTOLOAD:=$(call AutoLoad,50,cs5535_gpio) endef @@ -198,12 +198,10 @@ $(eval $(call KernelPackage,gpio-cs5535)) define KernelPackage/gpio-cs5535-new SUBMENU:=$(OTHER_MENU) TITLE:=AMD CS5535/CS5536 GPIO driver with improved sysfs support - DEPENDS:=@TARGET_x86 -ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1) - KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_PCI CONFIG_GPIOLIB + DEPENDS:=@TARGET_x86 @!(LINUX_2_6_30||LINUX_2_6_31||LINUX_2_6_32) + KCONFIG:=CONFIG_GPIO_CS5535 CONFIG_GPIOLIB=y FILES:=$(LINUX_DIR)/drivers/gpio/cs5535-gpio.ko AUTOLOAD:=$(call AutoLoad,50,cs5535-gpio) -endif endef define KernelPackage/gpio-cs5535-new/description @@ -925,7 +923,7 @@ define KernelPackage/rtc-pcf8563 DEPENDS:=+kmod-rtc-core KCONFIG:=CONFIG_RTC_DRV_PCF8563 FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,rtc-pcf8563) + AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563) endef define KernelPackage/rtc-pcf8563/description diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index beb9e8b0ff..5f1863caa4 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -562,7 +562,7 @@ define KernelPackage/libertas-sd FILES:= \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas.ko \ $(PKG_BUILD_DIR)/drivers/net/wireless/libertas/libertas_sdio.ko - AUTOLOAD:=$(call AutoLoad,27,libertas libertas_sdio) + AUTOLOAD:=$(call AutoLoad,91,libertas libertas_sdio) endef define KernelPackage/mac80211-hwsim -- cgit v1.2.3