1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 20:58:25 +02:00

package/kernel: Remove $(KMOD_SUFFIX) usage

Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26900 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acinonyx 2011-05-15 09:37:24 +00:00
parent 511dea0dac
commit 5d02fa2bd3
7 changed files with 31 additions and 31 deletions

View File

@ -214,7 +214,7 @@ define KernelPackage/md-mod
CONFIG_BLK_DEV_MD=m \ CONFIG_BLK_DEV_MD=m \
CONFIG_MD_AUTODETECT=y \ CONFIG_MD_AUTODETECT=y \
CONFIG_MD_FAULTY=n CONFIG_MD_FAULTY=n
FILES:=$(LINUX_DIR)/drivers/md/md-mod.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko
AUTOLOAD:=$(call AutoLoad,27,md-mod) AUTOLOAD:=$(call AutoLoad,27,md-mod)
endef endef
@ -236,7 +236,7 @@ define KernelPackage/md-linear
$(call KernelPackage/md/Depends,) $(call KernelPackage/md/Depends,)
TITLE:=RAID Linear Module TITLE:=RAID Linear Module
KCONFIG:=CONFIG_MD_LINEAR=m KCONFIG:=CONFIG_MD_LINEAR=m
FILES:=$(LINUX_DIR)/drivers/md/linear.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/linear.ko
AUTOLOAD:=$(call AutoLoad,28,linear) AUTOLOAD:=$(call AutoLoad,28,linear)
endef endef
@ -251,7 +251,7 @@ define KernelPackage/md-raid0
$(call KernelPackage/md/Depends,) $(call KernelPackage/md/Depends,)
TITLE:=RAID0 Module TITLE:=RAID0 Module
KCONFIG:=CONFIG_MD_RAID0=m KCONFIG:=CONFIG_MD_RAID0=m
FILES:=$(LINUX_DIR)/drivers/md/raid0.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
AUTOLOAD:=$(call AutoLoad,28,raid0) AUTOLOAD:=$(call AutoLoad,28,raid0)
endef endef
@ -266,7 +266,7 @@ define KernelPackage/md-raid1
$(call KernelPackage/md/Depends,) $(call KernelPackage/md/Depends,)
TITLE:=RAID1 Module TITLE:=RAID1 Module
KCONFIG:=CONFIG_MD_RAID1=m KCONFIG:=CONFIG_MD_RAID1=m
FILES:=$(LINUX_DIR)/drivers/md/raid1.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
AUTOLOAD:=$(call AutoLoad,28,raid1) AUTOLOAD:=$(call AutoLoad,28,raid1)
endef endef
@ -281,7 +281,7 @@ define KernelPackage/md-raid10
$(call KernelPackage/md/Depends,) $(call KernelPackage/md/Depends,)
TITLE:=RAID10 Module TITLE:=RAID10 Module
KCONFIG:=CONFIG_MD_RAID10=m KCONFIG:=CONFIG_MD_RAID10=m
FILES:=$(LINUX_DIR)/drivers/md/raid10.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
AUTOLOAD:=$(call AutoLoad,28,raid10) AUTOLOAD:=$(call AutoLoad,28,raid10)
endef endef
@ -307,22 +307,22 @@ $(call KernelPackage/md/Depends,)
CONFIG_MD_RAID456=m \ CONFIG_MD_RAID456=m \
CONFIG_MULTICORE_RAID456=n CONFIG_MULTICORE_RAID456=n
FILES:= \ FILES:= \
$(LINUX_DIR)/crypto/xor.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/xor.ko \
$(LINUX_DIR)/crypto/async_tx/async_tx.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/async_tx/async_tx.ko \
$(LINUX_DIR)/crypto/async_tx/async_memcpy.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
$(LINUX_DIR)/crypto/async_tx/async_xor.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/async_tx/async_xor.ko \
$(LINUX_DIR)/crypto/async_tx/async_pq.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/async_tx/async_pq.ko \
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
$(LINUX_DIR)/drivers/md/raid456.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/md/raid456.ko
# Additional files with kernel-dependent locations or presence # Additional files with kernel-dependent locations or presence
# For Linux >= 2.6.36 # For Linux >= 2.6.36
ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)), 1) ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)), 1)
FILES+= \ FILES+= \
$(LINUX_DIR)/lib/raid6/raid6_pq.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/lib/raid6/raid6_pq.ko
# For Linux < 2.6.36 # For Linux < 2.6.36
else else
FILES+= \ FILES+= \
$(LINUX_DIR)/drivers/md/raid6_pq.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/md/raid6_pq.ko
endif endif
AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456) AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
endef endef
@ -348,7 +348,7 @@ define KernelPackage/md-multipath
$(call KernelPackage/md/Depends,) $(call KernelPackage/md/Depends,)
TITLE:=MD Multipath Module TITLE:=MD Multipath Module
KCONFIG:=CONFIG_MD_MULTIPATH=m KCONFIG:=CONFIG_MD_MULTIPATH=m
FILES:=$(LINUX_DIR)/drivers/md/multipath.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
AUTOLOAD:=$(call AutoLoad,29,multipath) AUTOLOAD:=$(call AutoLoad,29,multipath)
endef endef

View File

@ -283,7 +283,7 @@ $(eval $(call KernelPackage,ipt-debug))
define KernelPackage/ipt-led define KernelPackage/ipt-led
TITLE:=Module to trigger a LED with a Netfilter rule TITLE:=Module to trigger a LED with a Netfilter rule
KCONFIG:=$(KCONFIG_IPT_LED) KCONFIG:=$(KCONFIG_IPT_LED)
FILES:=$(foreach mod,$(IPT_LED-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_LED-m),$(LINUX_DIR)/net/$(mod).ko)
AUTOLOAD:=$(call AutoLoad,61,$(notdir $(IPT_LED-m))) AUTOLOAD:=$(call AutoLoad,61,$(notdir $(IPT_LED-m)))
$(call AddDepends/ipt) $(call AddDepends/ipt)
endef endef

View File

@ -657,8 +657,8 @@ define KernelPackage/l2tp
KCONFIG:=CONFIG_L2TP \ KCONFIG:=CONFIG_L2TP \
CONFIG_L2TP_V3=y \ CONFIG_L2TP_V3=y \
CONFIG_L2TP_DEBUGFS=n CONFIG_L2TP_DEBUGFS=n
FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.$(LINUX_KMOD_SUFFIX) \ FILES:=$(LINUX_DIR)/net/l2tp/l2tp_core.ko \
$(LINUX_DIR)/net/l2tp/l2tp_netlink.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/net/l2tp/l2tp_netlink.ko
AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink) AUTOLOAD:=$(call AutoLoad,32,l2tp_core l2tp_netlink)
endef endef
@ -674,7 +674,7 @@ define KernelPackage/l2tp-eth
TITLE:=L2TP ethernet pseudowire support for L2TPv3 TITLE:=L2TP ethernet pseudowire support for L2TPv3
DEPENDS:=+kmod-l2tp DEPENDS:=+kmod-l2tp
KCONFIG:=CONFIG_L2TP_ETH KCONFIG:=CONFIG_L2TP_ETH
FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/net/l2tp/l2tp_eth.ko
AUTOLOAD:=$(call AutoLoad,33,l2tp_eth) AUTOLOAD:=$(call AutoLoad,33,l2tp_eth)
endef endef
@ -689,7 +689,7 @@ define KernelPackage/l2tp-ip
TITLE:=L2TP IP encapsulation for L2TPv3 TITLE:=L2TP IP encapsulation for L2TPv3
DEPENDS:=+kmod-l2tp DEPENDS:=+kmod-l2tp
KCONFIG:=CONFIG_L2TP_IP KCONFIG:=CONFIG_L2TP_IP
FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/net/l2tp/l2tp_ip.ko
AUTOLOAD:=$(call AutoLoad,33,l2tp_ip) AUTOLOAD:=$(call AutoLoad,33,l2tp_ip)
endef endef
@ -710,7 +710,7 @@ define KernelPackage/sctp
CONFIG_SCTP_HMAC_NONE=n \ CONFIG_SCTP_HMAC_NONE=n \
CONFIG_SCTP_HMAC_SHA1=n \ CONFIG_SCTP_HMAC_SHA1=n \
CONFIG_SCTP_HMAC_MD5=y CONFIG_SCTP_HMAC_MD5=y
FILES:= $(LINUX_DIR)/net/sctp/sctp.$(LINUX_KMOD_SUFFIX) FILES:= $(LINUX_DIR)/net/sctp/sctp.ko
AUTOLOAD:= $(call AutoLoad,32,sctp) AUTOLOAD:= $(call AutoLoad,32,sctp)
DEPENDS:=+kmod-libcrc32c +kmod-crypto-md5 +kmod-crypto-hmac DEPENDS:=+kmod-libcrc32c +kmod-crypto-md5 +kmod-crypto-hmac
endef endef

View File

@ -76,7 +76,7 @@ define KernelPackage/cpu-msr
TITLE:=x86 CPU MSR support TITLE:=x86 CPU MSR support
DEPENDS:=@TARGET_x86 DEPENDS:=@TARGET_x86
KCONFIG:=CONFIG_X86_MSR KCONFIG:=CONFIG_X86_MSR
FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/arch/x86/kernel/msr.ko
AUTOLOAD:=$(call AutoLoad,20,msr) AUTOLOAD:=$(call AutoLoad,20,msr)
endef endef
@ -431,7 +431,7 @@ define KernelPackage/oprofile
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=OProfile profiling support TITLE:=OProfile profiling support
KCONFIG:=CONFIG_OPROFILE KCONFIG:=CONFIG_OPROFILE
FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/oprofile/oprofile.ko
DEPENDS:=@KERNEL_PROFILING DEPENDS:=@KERNEL_PROFILING
endef endef
@ -624,7 +624,7 @@ define KernelPackage/rtc-core
SUBMENU:=$(OTHER_MENU) SUBMENU:=$(OTHER_MENU)
TITLE:=Real Time Clock class support TITLE:=Real Time Clock class support
KCONFIG:=CONFIG_RTC_CLASS KCONFIG:=CONFIG_RTC_CLASS
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/rtc/rtc-core.ko
AUTOLOAD:=$(call AutoLoad,29,rtc-core) AUTOLOAD:=$(call AutoLoad,29,rtc-core)
endef endef
@ -639,7 +639,7 @@ define KernelPackage/rtc-pcf8563
TITLE:=Philips PCF8563/Epson RTC8564 RTC support TITLE:=Philips PCF8563/Epson RTC8564 RTC support
DEPENDS:=+kmod-rtc-core DEPENDS:=+kmod-rtc-core
KCONFIG:=CONFIG_RTC_DRV_PCF8563 KCONFIG:=CONFIG_RTC_DRV_PCF8563
FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/rtc/rtc-pcf8563.ko
AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563) AUTOLOAD:=$(call AutoLoad,60,rtc-pcf8563)
endef endef
@ -656,7 +656,7 @@ define KernelPackage/n810bm
TITLE:=Nokia N810 battery management driver TITLE:=Nokia N810 battery management driver
DEPENDS:=@TARGET_omap24xx DEPENDS:=@TARGET_omap24xx
KCONFIG:=CONFIG_N810BM KCONFIG:=CONFIG_N810BM
FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/cbus/n810bm.ko
AUTOLOAD:=$(call AutoLoad,01,n810bm) AUTOLOAD:=$(call AutoLoad,01,n810bm)
endef endef

View File

@ -355,7 +355,7 @@ $(eval $(call KernelPackage,usb-serial-ftdi))
define KernelPackage/usb-serial-ipw define KernelPackage/usb-serial-ipw
TITLE:=Support for IPWireless 3G devices TITLE:=Support for IPWireless 3G devices
KCONFIG:=CONFIG_USB_SERIAL_IPW KCONFIG:=CONFIG_USB_SERIAL_IPW
FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
AUTOLOAD:=$(call AutoLoad,65,ipw) AUTOLOAD:=$(call AutoLoad,65,ipw)
$(call AddDepends/usb-serial) $(call AddDepends/usb-serial)
endef endef

View File

@ -13,7 +13,7 @@ define KernelPackage/virtio-balloon
TITLE:=VirtIO balloon driver TITLE:=VirtIO balloon driver
DEPENDS:=@TARGET_x86_kvm_guest DEPENDS:=@TARGET_x86_kvm_guest
KCONFIG:=CONFIG_VIRTIO_BALLOON KCONFIG:=CONFIG_VIRTIO_BALLOON
FILES:=$(LINUX_DIR)/drivers/virtio/virtio_balloon.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/virtio/virtio_balloon.ko
AUTOLOAD:=$(call AutoLoad,06,virtio-balloon) AUTOLOAD:=$(call AutoLoad,06,virtio-balloon)
endef endef
@ -29,7 +29,7 @@ define KernelPackage/virtio-net
TITLE:=VirtIO network driver TITLE:=VirtIO network driver
DEPENDS:=@TARGET_x86_kvm_guest DEPENDS:=@TARGET_x86_kvm_guest
KCONFIG:=CONFIG_VIRTIO_NET KCONFIG:=CONFIG_VIRTIO_NET
FILES:=$(LINUX_DIR)/drivers/net/virtio_net.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/net/virtio_net.ko
AUTOLOAD:=$(call AutoLoad,50,virtio_net) AUTOLOAD:=$(call AutoLoad,50,virtio_net)
endef endef
@ -45,7 +45,7 @@ define KernelPackage/virtio-random
TITLE:=VirtIO Random Number Generator support TITLE:=VirtIO Random Number Generator support
DEPENDS:=@TARGET_x86_kvm_guest DEPENDS:=@TARGET_x86_kvm_guest
KCONFIG:=CONFIG_HW_RANDOM_VIRTIO KCONFIG:=CONFIG_HW_RANDOM_VIRTIO
FILES:=$(LINUX_DIR)/drivers/char/hw_random/virtio-rng.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/char/hw_random/virtio-rng.ko
AUTOLOAD:=$(call AutoLoad,09,virtio-rng) AUTOLOAD:=$(call AutoLoad,09,virtio-rng)
endef endef

View File

@ -60,7 +60,7 @@ define KernelPackage/net-zd1201
TITLE:=Zydas ZD1201 support TITLE:=Zydas ZD1201 support
DEPENDS:=@USB_SUPPORT DEPENDS:=@USB_SUPPORT
KCONFIG:=CONFIG_USB_ZD1201 +@DRIVER_WEXT_SUPPORT KCONFIG:=CONFIG_USB_ZD1201 +@DRIVER_WEXT_SUPPORT
FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.$(LINUX_KMOD_SUFFIX) FILES:=$(LINUX_DIR)/drivers/net/wireless/zd1201.ko
AUTOLOAD:=$(call AutoLoad,60,zd1201) AUTOLOAD:=$(call AutoLoad,60,zd1201)
endef endef